public interface BasicMap
Modifier and Type | Method and Description |
---|---|
List<DataCollectionLine> |
getDataCollectionLines()
Get the list of data collection line.
|
List<Road> |
getDestinationRoads()
Get the Roads that exit this Layout.
|
Rectangle2D |
getDimensions()
Get the dimensions of this Layout, in Rectangle form.
|
Registry<IntersectionManager> |
getImRegistry()
Get the intersection manager registry.
|
List<IntersectionManager> |
getIntersectionManagers()
Get the IntersectionManagers that are part of this Layout.
|
Registry<Lane> |
getLaneRegistry()
Get the lane registry.
|
double |
getMaximumSpeedLimit()
Get the maximum speed limit of any Road in the Layout.
|
Road |
getRoad(int laneID)
Given a Lane ID number, get the Road of which that Lane is a part.
|
Road |
getRoad(Lane lane)
Given a Lane, get the Road of which that Lane is a part.
|
List<Road> |
getRoads()
Get the Roads that are part of this Layout.
|
List<SpawnPoint> |
getSpawnPoints()
Get the list of spawn points.
|
void |
printDataCollectionLinesData(String outFileName)
Print the data collected in data collection lines to the given file
|
void |
setManager(int column,
int row,
IntersectionManager im)
Set the intersection manager of a particular intersection.
|
List<Road> getRoads()
List<Road> getDestinationRoads()
Rectangle2D getDimensions()
double getMaximumSpeedLimit()
Registry<IntersectionManager> getImRegistry()
Road getRoad(Lane lane)
lane
- the Lane for which to get the enclosing RoadRoad getRoad(int laneID)
laneID
- the ID of the Lane for which to get the enclosing RoadList<IntersectionManager> getIntersectionManagers()
List<DataCollectionLine> getDataCollectionLines()
List<SpawnPoint> getSpawnPoints()
void setManager(int column, int row, IntersectionManager im)
column
- the column of the intersectionrow
- the row of the intersectionim
- the intersection managervoid printDataCollectionLinesData(String outFileName)
outFileName
- the name of the file to which the data are outputted.Copyright © 2013. All rights reserved.