Package com.powsybl.iidm.network
Interface VoltageLevel.TopologyTraverser
-
- Enclosing interface:
- VoltageLevel
public static interface VoltageLevel.TopologyTraverser
Topology traversal handler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
traverse(Switch aSwitch)
Called when a switch in encounteredboolean
traverse(Terminal terminal, boolean connected)
Called when a terminal in encountered.
-
-
-
Method Detail
-
traverse
boolean traverse(Terminal terminal, boolean connected)
Called when a terminal in encountered.- Parameters:
terminal
- the encountered terminalconnected
- in bus/breaker topology, give the terminal connection status- Returns:
- true to continue the graph traversal, false otherwise
-
traverse
boolean traverse(Switch aSwitch)
Called when a switch in encountered- Parameters:
aSwitch
- the encountered switch- Returns:
- true to continue the graph traversal, false otherwise
-
-