V - the graph vertex typeE - the graph edge typePathValidator instead.@Deprecated public interface PathValidator<V,E>
KShortestPaths - that the path is from source to target and that it does not contain
loops.| Modifier and Type | Method and Description |
|---|---|
boolean |
isValidPath(org.jgrapht.alg.AbstractPathElement<V,E> prevPathElement,
E edge)
Deprecated.
Checks if an edge can be added to a previous path element.
|
boolean isValidPath(org.jgrapht.alg.AbstractPathElement<V,E> prevPathElement, E edge)
prevPathElement - the previous path elementedge - the edge to be added to the path.true if edge can be added, false otherwise.Copyright © 2017. All rights reserved.