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:
  • Method Details

    • getVertices

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