org.jgrapht.alg
Interface PathValidator<V,E>
-
- Type Parameters:
V- the graph vertex typeE- the graph edge type
Deprecated.UsePathValidatorinstead.
@Deprecated public interface PathValidator<V,E>May be used to provide external path validations in addition to the basic validations done byKShortestPaths- that the path is from source to target and that it does not contain loops.- Since:
- July, 21, 2016
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method and Description booleanisValidPath(org.jgrapht.alg.AbstractPathElement<V,E> prevPathElement, E edge)Deprecated.Checks if an edge can be added to a previous path element.
-
-
-
Method Detail
-
isValidPath
boolean isValidPath(org.jgrapht.alg.AbstractPathElement<V,E> prevPathElement, E edge)
Deprecated.Checks if an edge can be added to a previous path element.- Parameters:
prevPathElement- the previous path elementedge- the edge to be added to the path.- Returns:
trueif edge can be added,falseotherwise.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG