Package com.amalgamasimulation.graph
Interface Algorithm.GraphTraversalEndPredicate<A,B,C>
- Enclosing interface:
Algorithm
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface for a predicate answering the question "Must we end the
traversal after we added the specific arc, node and calculated the specific
node context?"
Example of implementation for context of type Double:
(addedArc, addedNode, addedNodeContext) -> addedNodeContext >= 100
- See Also:
-
Method Summary
-
Method Details
-
endTraversalAfter
Predicate answering the question "Must we end the traversal after we added the specific arc, node and calculated the specific node context?"- Parameters:
addedArc- added arcaddedNode- added nodeaddedNodeContext- context of the added node- Returns:
trueif we must end the traversal,false otherwise- See Also:
-