public interface Definitions
Modifier and Type | Method and Description |
---|---|
void |
addDefaultGtuTypes()
Add the default GTU Types that have been defined in the enum GTUType.DEFAULTS to the network.
|
void |
addDefaultLinkTypes()
Add the default LinkTypes that have been defined in the enum LinkType.DEFAULTS to the network.
|
void |
addGtuType(GTUType gtuType)
Add a GTU type to the map.
|
void |
addLinkType(LinkType linkType)
Add a Link type to the map.
|
GTUType |
getGtuType(GTUType.DEFAULTS gtuEnum)
Retrieve a defined default GTUType based on its enum.
|
GTUType |
getGtuType(String gtuId)
Retrieve a defined GTUType based on its id.
|
ImmutableMap<String,GTUType> |
getGtuTypes()
Retrieve a safe copy of the map of defined GTUTypes in this network.
|
LinkType |
getLinkType(LinkType.DEFAULTS linkEnum)
Retrieve a defined default LinkType based on its enum.
|
LinkType |
getLinkType(String linkId)
Retrieve a defined LinkType based on its id.
|
ImmutableMap<String,LinkType> |
getLinkTypes()
Retrieve a safe copy of the map of defined LinkTypes in this network.
|
void addDefaultLinkTypes()
void addLinkType(LinkType linkType)
linkType
- the LinkType to addLinkType getLinkType(String linkId)
linkId
- the id to search forLinkType getLinkType(LinkType.DEFAULTS linkEnum)
linkEnum
- the enum to search forImmutableMap<String,LinkType> getLinkTypes()
void addDefaultGtuTypes()
void addGtuType(GTUType gtuType)
gtuType
- the GTUType to addGTUType getGtuType(String gtuId)
gtuId
- the id to search forGTUType getGtuType(GTUType.DEFAULTS gtuEnum)
gtuEnum
- the enum to search forImmutableMap<String,GTUType> getGtuTypes()
Copyright © 2014–2019 Delft University of Technology. All rights reserved.