Documentation of 'org.jgrapht.alg.interfaces.EulerianCycleAlgorithm' Java class
EulerianCycleAlgorithm
org.jgrapht.alg.interfaces

Interface EulerianCycleAlgorithm<V,E>

  • Type Parameters:
    V - the graph vertex type
    E - the graph edge type
    All Known Implementing Classes:
    HierholzerEulerianCycle


    public interface EulerianCycleAlgorithm<V,E>
    Computes an Eulerian cycle of an Eulerian graph. An Eulerian graph is a graph containing an Eulerian cycle.
    Since:
    October 2016
    • Method Detail

      • getEulerianCycle

        GraphPath<V,E> getEulerianCycle(Graph<V,E> graph)
        Compute an Eulerian cycle of a graph.
        Parameters:
        graph - the input graph
        Returns:
        an Eulerian cycle
        Throws:
        java.lang.IllegalArgumentException - in case the graph is not Eulerian

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.