Uses of Interface
org.opentrafficsim.core.network.Network
| Package | Description |
|---|---|
| org.opentrafficsim.core.gtu |
GTU (Generalized Travel Unit) is the base class for cars, trains, pedestrians, etc.
|
| org.opentrafficsim.core.network |
Classes that build a network with nodes, links, and cross-sections.
|
| org.opentrafficsim.core.network.route |
Routes and route probabilities.
|
| org.opentrafficsim.core.object |
Static objects that the GTU might have to avoid.
|
-
Uses of Network in org.opentrafficsim.core.gtu
Methods in org.opentrafficsim.core.gtu that return Network Modifier and Type Method Description NetworkGTUType. getNetwork()Methods in org.opentrafficsim.core.gtu with parameters of type Network Modifier and Type Method Description static GTUCharacteristicsGTUType. defaultCharacteristics(GTUType gtuType, Network network, StreamInterface randomStream)Returns default characteristics for given GTUType.Constructors in org.opentrafficsim.core.gtu with parameters of type Network Constructor Description GTUType(String id, Network network) -
Uses of Network in org.opentrafficsim.core.network
Classes in org.opentrafficsim.core.network that implement Network Modifier and Type Class Description classExpansionNetworkA Network consists of a set of links.classOTSNetworkA Network consists of a set of links.Methods in org.opentrafficsim.core.network that return Network Modifier and Type Method Description NetworkLink. getNetwork()Return the network in which this link is registered.NetworkLinkType. getNetwork()NetworkNode. getNetwork()Return the network in which this link is registered.NetworkOTSLink. getNetwork()Return the network in which this link is registered.NetworkOTSNode. getNetwork()Return the network in which this link is registered.Methods in org.opentrafficsim.core.network with parameters of type Network Modifier and Type Method Description CapacityOTSLinkCapacityOTSLink. clone(Network newNetwork, OTSSimulatorInterface newSimulator)Clone the OTSLink for e.g., copying a network.OTSLinkOTSLink. clone(Network newNetwork, OTSSimulatorInterface newSimulator)Clone the OTSLink for e.g., copying a network.OTSNodeOTSNode. clone1(Network newNetwork, SimulatorInterface.TimeDoubleUnit newSimulator)Clone the OTSode for e.g., copying a network.OTSNodeOTSNode. clone2(Network newNetwork, SimulatorInterface.TimeDoubleUnit newSimulator)Complete the cloning of the OTSode for e.g., copying a network.Constructors in org.opentrafficsim.core.network with parameters of type Network Constructor Description CapacityOTSLink(Network network, String id, Node startNode, Node endNode, LinkType linkType, OTSLine3D designLine, OTSSimulatorInterface simulator, Frequency capacity)Construct a new link.CapacityOTSLink(Network newNetwork, OTSSimulatorInterface newSimulator, CapacityOTSLink link)Clone a link for a new network.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, OTSSimulatorInterface simulator)Construct a new link.OTSLink(Network newNetwork, OTSSimulatorInterface newSimulator, OTSLink link)Clone a link for a new network.OTSNode(Network network, String id, OTSPoint3D point)Construction of a Node.OTSNode(Network network, String id, OTSPoint3D point, double heading)Construction of a Node. -
Uses of Network in org.opentrafficsim.core.network.route
Methods in org.opentrafficsim.core.network.route with parameters of type Network Modifier and Type Method Description CompleteRouteCompleteRoute. clone(Network newNetwork, SimulatorInterface.TimeDoubleUnit newSimulator)Clone the Route.RouteRoute. clone(Network newNetwork, SimulatorInterface.TimeDoubleUnit newSimulator)Clone the Route. -
Uses of Network in org.opentrafficsim.core.object
Methods in org.opentrafficsim.core.object with parameters of type Network Modifier and Type Method Description InvisibleObjectInterfaceInvisibleObjectInterface. clone(OTSSimulatorInterface newSimulator, Network newNetwork)Duplicate the invisibleObject in a new simulator and network.StaticObjectStaticObject. clone(Network newNetwork, SimulatorInterface.TimeDoubleUnit newSimulator, boolean animation)Clone the StaticObject for e.g., copying a network.