Class Tarjan<T>


  • public class Tarjan<T>
    extends Object
    Implementation of the Tarjan algorithm to find and display a cycle in a graph.
    Author:
    cbeust
    • Constructor Detail

      • Tarjan

        public Tarjan​(Graph<T> graph,
                      T start)
    • Method Detail

      • getCycle

        public List<T> getCycle()