com.TeamHEC.LocomotionCommotion.Goal.Graph
Class Edge

java.lang.Object
  extended by com.TeamHEC.LocomotionCommotion.Goal.Graph.Edge

public class Edge
extends java.lang.Object


Field Summary
 Node target
           
 float weight
           
 
Constructor Summary
Edge(Node tget, float weight)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

target

public final Node target

weight

public final float weight
Constructor Detail

Edge

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