Class CycleException

  • All Implemented Interfaces:
    Serializable

    public class CycleException
    extends GraphException
    Thrown when a cycle has been detected in an acyclic graph.
    Author:
    AO Industries, Inc.
    See Also:
    Serialized Form
    • Method Detail

      • getVertices

        public List<?> getVertices()
        Gets all vertices that are part of the cycle in the order they create the cycle.