Package com.powsybl.openloadflow.graph
Class ModificationsContext<V,E>
- java.lang.Object
-
- com.powsybl.openloadflow.graph.ModificationsContext<V,E>
-
public class ModificationsContext<V,E> extends Object
- Author:
- Florian Dupuy
-
-
Constructor Summary
Constructors Constructor Description ModificationsContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(GraphModification<V,E> graphModification)
Set<E>
getEdgesAddedToMainComponent(Set<V> verticesNotInMainComponentAfter, org.jgrapht.Graph<V,E> graph)
Set<E>
getEdgesRemovedFromMainComponent(Set<V> verticesNotInMainComponent, org.jgrapht.Graph<V,E> graph)
Deque<GraphModification<V,E>>
getModifications()
Set<V>
getVerticesAddedToMainComponent(Set<V> verticesNotInMainComponentAfter)
Set<V>
getVerticesRemovedFromMainComponent(Set<V> verticesNotInMainComponentAfter)
void
setVerticesInitiallyNotInMainComponent(Set<V> verticesNotInMainComponent)
-
-
-
Method Detail
-
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)
-
-