Class Edge
- java.lang.Object
-
- ptolemy.domains.atc.kernel.policy2.Edge
-
public class Edge extends java.lang.ObjectEdges of a graph in DijkstraAlgorithm.- Since:
- Ptolemy II 11.0
- Version:
- $Id$
- Author:
- Maryam Bagheri
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VertexgetDestination()Get the destination.intgetId()Get the id.VertexgetSource()Get the source.intgetWeight()Get the weight.
-
-
-
Method Detail
-
getId
public int getId()
Get the id.- Returns:
- The id.
-
getDestination
public Vertex getDestination()
Get the destination.- Returns:
- The destination.
-
getSource
public Vertex getSource()
Get the source.- Returns:
- The source
-
getWeight
public int getWeight()
Get the weight.- Returns:
- the weight.
-
-