net.sf.javagimmicks.graph.DirectedEdge Maven / Gradle / Ivy
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