Package dev.nm.graph

Interface Arc<V>

  • Type Parameters:
    V - vertex type
    All Superinterfaces:
    Edge<V>, HyperEdge<V>
    All Known Subinterfaces:
    WeightedArc<V>
    All Known Implementing Classes:
    SimpleArc

    public interface Arc<V>
    extends Edge<V>
    An arc is an ordered pair of vertices. It is also called a "directed edge".
    • Method Detail

      • head

        V head()
      • tail

        V tail()
        Get the tail of this arc.
        Returns:
        the tail