|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmassim.competition2012.scenario.GraphEdge
public class GraphEdge
This class represents and Edge in the graph that forms the map.
Field Summary | |
---|---|
GraphNode |
node1
|
GraphNode |
node2
|
int |
weight
|
Constructor Summary | |
---|---|
GraphEdge(int weight,
GraphNode node1,
GraphNode node2)
|
Method Summary | |
---|---|
float |
getLength()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public GraphNode node1
public GraphNode node2
public int weight
Constructor Detail |
---|
public GraphEdge(int weight, GraphNode node1, GraphNode node2)
Method Detail |
---|
public float getLength()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |