All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sf.javagimmicks.graph.DirectedEdge Maven / Gradle / Ivy

There is a newer version: 0.99-alpha1
Show newest version
package net.sf.javagimmicks.graph;

/**
 * A directed version of {@link Edge} that has a well-defined
 * {@link #getSourceVertex() source} side and {@link #getTargetVertex() target}
 * side.
 */
public interface DirectedEdge> extends Edge
{
   /**
    * Returns the source vertex of this {@link DirectedEdge}.
    * 
    * @return the source vertex of this {@link DirectedEdge}
    */
   public VertexType getSourceVertex();

   /**
    * Returns the target vertex of this {@link DirectedEdge}.
    * 
    * @return the target vertex of this {@link DirectedEdge}
    */
   public VertexType getTargetVertex();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy