Package com.powsybl.math.graph
Interface Traverser
public interface Traverser
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
-
Method Summary
-
Method Details
-
traverse
Called for each traversal step- Parameters:
v1
- the node the traversal comes frome
- the edge encounteredv2
- the node the traversal will go to, if the returned TraverseResult isTraverseResult.CONTINUE
- Returns:
TraverseResult.CONTINUE
to continue traversal,TraverseResult.TERMINATE_PATH
to stop the current traversal path,TraverseResult.TERMINATE_TRAVERSER
to stop all the traversal paths
-