Class DirectedEdge<T>

java.lang.Object
edu.uky.ai.util.DirectedEdge<T>
Type Parameters:
T - the type of object used as nodes in the DAG

public class DirectedEdge<T>
extends java.lang.Object
Represents a single directed egde in a DirectedAcyclicGraph.
Author:
Stephen G. Ware
  • Field Summary

    Fields 
    Modifier and Type Field Description
    T head
    The second of 'after' object
    T tail
    The first or 'before' object
  • Method Summary

    Modifier and Type Method Description
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • tail

      public final T tail
      The first or 'before' object
    • head

      public final T head
      The second of 'after' object
  • Method Details

    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object