public class Edge
extends java.lang.Object
public final Node target
public final float weight
public Edge(Node tget, float weight)
tget
- refers to the target of the edge. The source of the edge being the node that created a new edgeweight
- refers to the length of the vector between the two mapobjs as computed inside the connection class.