Class TopologicalOrderAlgoAbstract

java.lang.Object
com.jgalgo.alg.dag.TopologicalOrderAlgoAbstract
All Implemented Interfaces:
TopologicalOrderAlgo
Direct Known Subclasses:
TopologicalOrderAlgoImpl

public abstract class TopologicalOrderAlgoAbstract extends Object implements TopologicalOrderAlgo
Abstract class for computing a topological order in a DAG graph.

The class implements the interface by solving the problem on the index graph and then maps the results back to the original graph. The implementation for index graphs is abstract and left to the subclasses.

Author:
Barak Ugav
  • Constructor Details

    • TopologicalOrderAlgoAbstract

      public TopologicalOrderAlgoAbstract()
      Default constructor.
  • Method Details