package fr.umlv.graph;
 
/**
 * Edge of the {@link Graph}.
 */
public interface Edge {
  /**
   * Returns the source vertex.
   * @return the source vertex of the current edge.
   */
  public int getSource();
  
  /**
   * Returns the destination vertex.
   * @return the destination vertex of the current edge.
   */
  public int getDestination();
  
  /**
   * Returns the weight.
   * @return the weight of the current edge.
   */
  public int getWeight();
}
