public class GoalGenerationAlgorithm
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.util.ArrayList<Junction> |
junctions |
Node[] |
nodeList |
static java.util.ArrayList<Station> |
stations |
| Constructor and Description |
|---|
GoalGenerationAlgorithm(int pathLength) |
| Modifier and Type | Method and Description |
|---|---|
java.util.ArrayList<Station> |
generateGoalPath()
Uses getGoalPathNodeList to generate a list of Nodes, then converts it into a list
of stations using a lookup table and returns it.
|
public static java.util.ArrayList<Station> stations
public static java.util.ArrayList<Junction> junctions
public Node[] nodeList
public GoalGenerationAlgorithm(int pathLength)
pathLength - - The length of the path this algorithm will produce using
generateGoalPath method.public java.util.ArrayList<Station> generateGoalPath()