| Package | Description |
|---|---|
| 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.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ExpansionNetwork
A Network consists of a set of links.
|
class |
OTSNetwork
A Network consists of a set of links.
|
| Modifier and Type | Method and Description |
|---|---|
Network |
OTSNode.getNetwork()
Return the network in which this link is registered.
|
Network |
OTSLink.getNetwork()
Return the network in which this link is registered.
|
Network |
Node.getNetwork()
Return the network in which this link is registered.
|
Network |
Link.getNetwork()
Return the network in which this link is registered.
|
| Modifier and Type | Method and Description |
|---|---|
OTSLink |
OTSLink.clone(Network newNetwork,
OTSSimulatorInterface newSimulator,
boolean animation)
Clone the OTSLink for e.g., copying a network.
|
CapacityOTSLink |
CapacityOTSLink.clone(Network newNetwork,
OTSSimulatorInterface newSimulator,
boolean animation)
Clone the OTSLink for e.g., copying a network.
|
OTSNode |
OTSNode.clone1(Network newNetwork,
OTSSimulatorInterface newSimulator)
Clone the OTSode for e.g., copying a network.
|
OTSNode |
OTSNode.clone2(Network newNetwork,
OTSSimulatorInterface newSimulator,
boolean animation)
Complete the cloning of the OTSode for e.g., copying a network.
|
| Constructor and Description |
|---|
CapacityOTSLink(Network newNetwork,
OTSSimulatorInterface newSimulator,
boolean animation,
CapacityOTSLink link)
Clone a link for a new network.
|
CapacityOTSLink(Network network,
String id,
Node startNode,
Node endNode,
LinkType linkType,
OTSLine3D designLine,
OTSSimulatorInterface simulator,
org.djunits.value.vdouble.scalar.Frequency capacity)
Construct a new link.
|
OTSLink(Network newNetwork,
OTSSimulatorInterface newSimulator,
boolean animation,
OTSLink link)
Clone a link for a new network.
|
OTSLink(Network network,
String id,
Node startNode,
Node endNode,
LinkType linkType,
OTSLine3D designLine,
OTSSimulatorInterface simulator)
Construct a new link.
|
OTSNode(Network network,
String id,
OTSPoint3D point)
Construction of a Node.
|
OTSNode(Network network,
String id,
OTSPoint3D point,
org.djunits.value.vdouble.scalar.Direction direction,
org.djunits.value.vdouble.scalar.Angle slope)
Construction of a Node.
|
| Modifier and Type | Method and Description |
|---|---|
Route |
Route.clone(Network newNetwork,
OTSSimulatorInterface newSimulator,
boolean animation)
Clone the Route.
|
CompleteRoute |
CompleteRoute.clone(Network newNetwork,
OTSSimulatorInterface newSimulator,
boolean animation)
Clone the Route.
|
| Modifier and Type | Method and Description |
|---|---|
StaticObject |
StaticObject.clone(Network newNetwork,
OTSSimulatorInterface newSimulator,
boolean animation)
Clone the StaticObject for e.g., copying a network.
|
InvisibleObjectInterface |
InvisibleObjectInterface.clone(OTSSimulatorInterface newSimulator,
Network newNetwork)
Duplicate the invisibleObject in a new simulator and network.
|
Copyright © 2014–2018 Delft University of Technology. All rights reserved.