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 and links. -
-
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()Retrieve the link type of the link.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, PolyLine3d designLine, Frequency capacity)Construct a new CapacityOTSLink.LinkType(String id, LinkType parent, GtuCompatibility<LinkType> compatibility, Network network)Create a new LinkType with compatibility set.OTSLink(Network network, String id, Node startNode, Node endNode, LinkType linkType, PolyLine3d designLine)Construct a new OTSLink and register it in a Network.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 LinkType with compatibility set.
-