Class StronglyConnectedComponentAlgorithm<T>
java.lang.Object
tools.refinery.interpreter.rete.itc.alg.representative.RepresentativeElectionAlgorithm<T>
tools.refinery.interpreter.rete.itc.alg.representative.StronglyConnectedComponentAlgorithm<T>
- All Implemented Interfaces:
IGraphObserver<T>
-
Nested Class Summary
Nested classes/interfaces inherited from class tools.refinery.interpreter.rete.itc.alg.representative.RepresentativeElectionAlgorithm
RepresentativeElectionAlgorithm.Factory
-
Field Summary
Fields inherited from class tools.refinery.interpreter.rete.itc.alg.representative.RepresentativeElectionAlgorithm
components, graph, representatives
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
edgeDeleted
(T source, T target) Used to notify when an edge is deleted from the graph.void
edgeInserted
(T source, T target) Used to notify when an edge is inserted into the graph.protected void
Methods inherited from class tools.refinery.interpreter.rete.itc.alg.representative.RepresentativeElectionAlgorithm
assignNewRepresentative, dispose, getComponent, getComponents, getRepresentative, initializeSet, merge, merge, nodeDeleted, nodeInserted, notifyToObservers, notifyToObservers, setObserver
-
Constructor Details
-
StronglyConnectedComponentAlgorithm
-
-
Method Details
-
initializeComponents
protected void initializeComponents()- Specified by:
initializeComponents
in classRepresentativeElectionAlgorithm<T>
-
edgeInserted
Description copied from interface:IGraphObserver
Used to notify when an edge is inserted into the graph.- Parameters:
source
- the source of the edgetarget
- the target of the edge
-
edgeDeleted
Description copied from interface:IGraphObserver
Used to notify when an edge is deleted from the graph.- Parameters:
source
- the source of the edgetarget
- the target of the edge
-