Class PKAlg<V>
- java.lang.Object
-
- org.eclipse.viatra.query.runtime.base.itc.alg.misc.scc.PKAlg<V>
-
- All Implemented Interfaces:
IGraphObserver<V>
public class PKAlg<V> extends java.lang.Object implements IGraphObserver<V>
-
-
Constructor Summary
Constructors Constructor Description PKAlg(IGraphDataSource<V> gds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidedgeDeleted(V source, V target)Used to notify when an edge is deleted from the graph.voidedgeInserted(V source, V target)Used to notify when an edge is inserted into the graph.voidnodeDeleted(V n)Used to notify when a node is deleted from the graph.voidnodeInserted(V n)Used to notify when a node is inserted into the graph.
-
-
-
Constructor Detail
-
PKAlg
public PKAlg(IGraphDataSource<V> gds)
-
-
Method Detail
-
edgeInserted
public void edgeInserted(V source, V target)
Description copied from interface:IGraphObserverUsed to notify when an edge is inserted into the graph.- Specified by:
edgeInsertedin interfaceIGraphObserver<V>- Parameters:
source- the source of the edgetarget- the target of the edge
-
edgeDeleted
public void edgeDeleted(V source, V target)
Description copied from interface:IGraphObserverUsed to notify when an edge is deleted from the graph.- Specified by:
edgeDeletedin interfaceIGraphObserver<V>- Parameters:
source- the source of the edgetarget- the target of the edge
-
nodeInserted
public void nodeInserted(V n)
Description copied from interface:IGraphObserverUsed to notify when a node is inserted into the graph.- Specified by:
nodeInsertedin interfaceIGraphObserver<V>- Parameters:
n- the node
-
nodeDeleted
public void nodeDeleted(V n)
Description copied from interface:IGraphObserverUsed to notify when a node is deleted from the graph.- Specified by:
nodeDeletedin interfaceIGraphObserver<V>- Parameters:
n- the node
-
-