public class Route
extends java.lang.Object
Constructor and Description |
---|
Route(int eventId,
int steps,
Node next)
Constructor for the route.
|
Modifier and Type | Method and Description |
---|---|
int |
getEventId()
Returns the Route's id.
|
Node |
getNextNode()
Returns the next Node in the path.
|
int |
getSteps()
Returns the Route's amount of steps.
|
public Route(int eventId, int steps, Node next)
eventId
- The ID of the tracked event.steps
- The number of steps in the route.next
- The next node in the route.public int getEventId()
public int getSteps()
public Node getNextNode()