Uses of Class
org.opentrafficsim.core.network.LinkType
-
Packages that use LinkType Package Description org.opentrafficsim.core.definitions The definitions package contains the core definitions that can be used to interpret the Network and the PerceivableContext.org.opentrafficsim.core.network Classes that build a network with nodes, links, and cross-sections. -
-
Uses of LinkType in org.opentrafficsim.core.definitions
Methods in org.opentrafficsim.core.definitions that return LinkType Modifier and Type Method Description LinkTypeDefinitions. getLinkType(String linkId)Retrieve a defined LinkType based on its id.LinkTypeDefinitions. getLinkType(LinkType.DEFAULTS linkEnum)Retrieve a defined default LinkType based on its enum.Methods in org.opentrafficsim.core.definitions that return types with arguments of type LinkType Modifier and Type Method Description ImmutableMap<String,LinkType>Definitions. getLinkTypes()Retrieve a safe copy of the map of defined LinkTypes in this network.Methods in org.opentrafficsim.core.definitions with parameters of type LinkType Modifier and Type Method Description voidDefinitions. addLinkType(LinkType linkType)Add a Link type to the map. -
Uses of LinkType in org.opentrafficsim.core.network
Methods in org.opentrafficsim.core.network that return LinkType Modifier and Type Method Description LinkTypeLink. getLinkType()LinkTypeLinkDirection. getLinkType()LinkTypeOTSLink. getLinkType()LinkTypeOTSNetwork. getLinkType(String linkId)Retrieve a defined LinkType based on its id.LinkTypeOTSNetwork. getLinkType(LinkType.DEFAULTS linkEnum)Retrieve a defined default LinkType based on its enum.LinkTypeLinkType. reverse()Returns a link type with directionality reversed.Methods in org.opentrafficsim.core.network that return types with arguments of type LinkType Modifier and Type Method Description GTUCompatibility<LinkType>LinkType. getCompatibility()This method won't work correctly in a ReverseLinkType; it should only be used to clone a network; nowhere else.ImmutableMap<String,LinkType>OTSNetwork. getLinkTypes()Retrieve a safe copy of the map of defined LinkTypes in this network.Methods in org.opentrafficsim.core.network with parameters of type LinkType Modifier and Type Method Description voidOTSNetwork. addLinkType(LinkType linkType)Add a Link type to the map.Constructors in org.opentrafficsim.core.network with parameters of type LinkType Constructor Description CapacityOTSLink(Network network, String id, Node startNode, Node endNode, LinkType linkType, OTSLine3D designLine, Frequency capacity)Construct a new link.LinkType(String id, LinkType parent, GTUCompatibility<LinkType> compatibility, Network network)Create a new Link type with compatibility set.OTSLink(Network network, String id, Node startNode, Node endNode, LinkType linkType, OTSLine3D designLine)Construct a new link.Constructor parameters in org.opentrafficsim.core.network with type arguments of type LinkType Constructor Description LinkType(String id, LinkType parent, GTUCompatibility<LinkType> compatibility, Network network)Create a new Link type with compatibility set.
-