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 TypeMethodDescriptionvoidedgeDeleted(T source, T target) Used to notify when an edge is deleted from the graph.voidedgeInserted(T source, T target) Used to notify when an edge is inserted into the graph.protected voidMethods 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:
initializeComponentsin classRepresentativeElectionAlgorithm<T>
-
edgeInserted
Description copied from interface:IGraphObserverUsed 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:IGraphObserverUsed to notify when an edge is deleted from the graph.- Parameters:
source- the source of the edgetarget- the target of the edge
-