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>

public class StronglyConnectedComponentAlgorithm<T> extends RepresentativeElectionAlgorithm<T>
  • Constructor Details

    • StronglyConnectedComponentAlgorithm

      public StronglyConnectedComponentAlgorithm(Graph<T> graph)
  • Method Details

    • initializeComponents

      protected void initializeComponents()
      Specified by:
      initializeComponents in class RepresentativeElectionAlgorithm<T>
    • edgeInserted

      public void edgeInserted(T source, T target)
      Description copied from interface: IGraphObserver
      Used to notify when an edge is inserted into the graph.
      Parameters:
      source - the source of the edge
      target - the target of the edge
    • edgeDeleted

      public void edgeDeleted(T source, T target)
      Description copied from interface: IGraphObserver
      Used to notify when an edge is deleted from the graph.
      Parameters:
      source - the source of the edge
      target - the target of the edge