Class ModificationsContext<V,E>

java.lang.Object
com.powsybl.openloadflow.graph.ModificationsContext<V,E>

public class ModificationsContext<V,E> extends Object
Author:
Florian Dupuy <florian.dupuy at rte-france.com>
  • Constructor Details

    • ModificationsContext

      public ModificationsContext()
  • Method Details

    • setVerticesInitiallyNotInMainComponent

      public void setVerticesInitiallyNotInMainComponent(Set<V> verticesNotInMainComponent)
    • add

      public void add(GraphModification<V,E> graphModification)
    • getModifications

      public Deque<GraphModification<V,E>> getModifications()
    • getEdgesRemovedFromMainComponent

      public Set<E> getEdgesRemovedFromMainComponent(Set<V> verticesNotInMainComponent, org.jgrapht.Graph<V,E> graph)
    • getVerticesRemovedFromMainComponent

      public Set<V> getVerticesRemovedFromMainComponent(Set<V> verticesNotInMainComponentAfter)
    • getEdgesAddedToMainComponent

      public Set<E> getEdgesAddedToMainComponent(Set<V> verticesNotInMainComponentAfter, org.jgrapht.Graph<V,E> graph)
    • getVerticesAddedToMainComponent

      public Set<V> getVerticesAddedToMainComponent(Set<V> verticesNotInMainComponentAfter)