public interface RoadDefinitions extends Definitions
Modifier and Type | Method and Description |
---|---|
void |
addDefaultLaneTypes()
Add the default LaneTypes that have been defined in the enum LaneType.DEFAULTS to the network.
|
void |
addLaneType(LaneType laneType)
Add a Lane type to the map.
|
LaneType |
getLaneType(LaneType.DEFAULTS laneTypeEnum)
Retrieve a defined default LaneType based on its enum.
|
LaneType |
getLaneType(String laneTypeId)
Retrieve a defined LaneType based on its id.
|
ImmutableMap<String,LaneType> |
getLaneTypes()
Retrieve a safe copy of the map of defined LaneTypes in this network.
|
addDefaultGtuTypes, addDefaultLinkTypes, addGtuType, addLinkType, getGtuType, getGtuType, getGtuTypes, getLinkType, getLinkType, getLinkTypes
void addDefaultLaneTypes()
void addLaneType(LaneType laneType)
laneType
- the LaneType to addLaneType getLaneType(String laneTypeId)
laneTypeId
- the id to search forLaneType getLaneType(LaneType.DEFAULTS laneTypeEnum)
laneTypeEnum
- the enum to search forImmutableMap<String,LaneType> getLaneTypes()
Copyright © 2014–2019 Delft University of Technology. All rights reserved.