public class Route
extends Object
Constructor and Description |
---|
Route() |
Modifier and Type | Method and Description |
---|---|
static SumoCommand |
add(String routeID,
SumoStringList edges)
Add a new route.
|
static SumoCommand |
getEdges(String routeID)
Returns the IDs of the edges this route covers.
|
static SumoCommand |
getIDCount()
Returns the number of all Routes in the network.
|
static SumoCommand |
getIDList()
Returns a list of IDs of all currently loaded routes.
|
static SumoCommand |
getParameter(String routeID,
String param)
Returns the chosen parameter
|
public static SumoCommand getEdges(String routeID)
routeID
- a string identifying the routepublic static SumoCommand getIDList()
public static SumoCommand getIDCount()
public static SumoCommand getParameter(String routeID, String param)
routeID
- a string identifying the routeparam
- a string identifying the parameterpublic static SumoCommand add(String routeID, SumoStringList edges)
routeID
- a string identifying the routeedges
- list of edges the new route is following