Class TopologyCalculation


  • public final class TopologyCalculation
    extends Object
    Visit the graph to identifies the connected sets of nodes
    Author:
    Benoit Jeanson
    • Constructor Detail

      • TopologyCalculation

        public TopologyCalculation​(Predicate<Node> extremityCriteria)
      • TopologyCalculation

        public TopologyCalculation()
    • Method Detail

      • findConnectedNodeSets

        public List<TopologicallyConnectedNodesSet> findConnectedNodeSets​(VoltageLevelGraph graph)
        Analyses the graph to partition it into TopologicallyConnectedNodeSets.
        Parameters:
        graph - the graph to be analysed
        Returns:
        a list of TopologicallyConnectedNodeSets
      • findConnectedNodeSets

        public List<TopologicallyConnectedNodesSet> findConnectedNodeSets​(VoltageLevelGraph graph,
                                                                          Predicate<TopologicallyConnectedNodesSet> filter)
        Analyses the graph to find the TopologicallyConnectedNodesSet corresponding to given predicate.
        Parameters:
        graph - the graph to be analysed
        filter - the filter applied to the all TopologicallyConnectedNodesSet of the given graph
        Returns:
        a list of TopologicallyConnectedNodeSets