Pandora
Class GraphEdge

public class GraphEdge
Class that represents an edge in a graph.
Version:
0.1
Author:
Foudalis Ilias
Constructor Detail

GraphEdge

public GraphEdge(int fNode,
                 int sNode)
Class Constructor
Parameters:
fNode - int : the first node of the edge.
sNode - int : the second node of the edge.

Method Detail

setWeigth

public void setWeigth(double weight)
Sets the weight of an edge.
Parameters:
weight - double : the weight of the edge.