V- the graph vertex type
E- the graph edge type
public interface PathValidator<V,E>
KShortestSimplePaths- that the path is from source to target and that it does not contain loops.
|Modifier and Type||Method and Description|
Checks if an edge can be added to a previous path element.
boolean isValidPath(GraphPath<V,E> partialPath, E edge)
partialPath- the path from source vertex up to the current vertex.
edge- the new edge to be added to the path.
trueif edge can be added,
Copyright © 2019. All rights reserved.