| Package | Description |
|---|---|
| org.opentrafficsim.core.geometry |
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
| org.opentrafficsim.core.network |
Classes that build a network with nodes, links, and cross-sections.
|
| org.opentrafficsim.core.network.factory.xml.units |
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
| org.opentrafficsim.core.network.route |
Routes and route probabilities.
|
| org.opentrafficsim.simulationengine |
Wrappers and stubs for the DSOL simulation engine.
|
| Modifier and Type | Method and Description |
|---|---|
static OTSLine3D |
OTSLine3D.createAndCleanOTSLine3D(OTSPoint3D[] points)
Create an OTSLine3D, while cleaning repeating successive points.
|
DirectedPoint |
OTSLine3D.getLocation(org.djunits.value.vdouble.scalar.Length.Rel position)
Get the location at a position on the line, with its direction.
|
DirectedPoint |
OTSLine3D.getLocationExtended(org.djunits.value.vdouble.scalar.Length.Rel position)
Get the location at a position on the line, with its direction.
|
DirectedPoint |
OTSLine3D.getLocationExtendedSI(double positionSI)
Get the location at a position on the line, with its direction.
|
DirectedPoint |
OTSLine3D.getLocationFraction(double fraction)
Get the location at a fraction of the line, with its direction.
|
DirectedPoint |
OTSLine3D.getLocationSI(double positionSI)
Get the location at a position on the line, with its direction.
|
| Constructor and Description |
|---|
OTSLine3D(com.vividsolutions.jts.geom.Coordinate[] coordinates) |
OTSLine3D(com.vividsolutions.jts.geom.Geometry geometry) |
OTSLine3D(com.vividsolutions.jts.geom.LineString lineString) |
OTSLine3D(List<OTSPoint3D> pointList) |
OTSLine3D(OTSPoint3D[] points) |
OTSPolygon3D(com.vividsolutions.jts.geom.Coordinate[] coordinates) |
OTSPolygon3D(com.vividsolutions.jts.geom.Geometry geometry) |
OTSPolygon3D(com.vividsolutions.jts.geom.LineString lineString) |
OTSPolygon3D(OTSPoint3D[] points) |
| Modifier and Type | Method and Description |
|---|---|
void |
OTSNetwork.addLink(Link link) |
void |
Network.addLink(Link link) |
void |
OTSNetwork.addNode(Node node) |
void |
Network.addNode(Node node) |
void |
OTSNetwork.addRoute(Route route) |
void |
Network.addRoute(Route route) |
Link |
OTSNetwork.getLink(String nodeId1,
String nodeId2)
Find a link between node1 and node2 and return it if it exists in the network.
|
Link |
Network.getLink(String node1,
String node2)
Find a link between node1 and node2 and return it if it exists in the network.
|
static LateralDirectionality |
LateralDirectionality.offsetDirection(double offset) |
void |
OTSNetwork.removeLink(Link link) |
void |
Network.removeLink(Link link) |
void |
OTSNetwork.removeNode(Node node) |
void |
Network.removeNode(Node node) |
void |
OTSNetwork.removeRoute(Route route) |
void |
Network.removeRoute(Route route) |
| Modifier and Type | Method and Description |
|---|---|
static org.djunits.value.vdouble.scalar.Angle.Abs |
AngleUnits.parseAngleAbs(String s) |
static org.djunits.value.vdouble.scalar.Angle.Rel |
AngleUnits.parseAngleRel(String s) |
static String |
AngleUnits.parseAngleUnit(String s) |
static Color |
Colors.parseColor(String colorStr) |
static LongitudinalDirectionality |
Directions.parseDirection(String dirStr) |
static org.djunits.value.vdouble.scalar.Length.Abs |
LengthUnits.parseLengthAbs(String s) |
static ContinuousDistDoubleScalar.Abs<org.djunits.value.vdouble.scalar.Length.Abs,org.djunits.unit.LengthUnit> |
Distributions.parseLengthDistAbs(String s)
Parse an absolute length distribution, e.g.
|
static ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Length.Rel,org.djunits.unit.LengthUnit> |
Distributions.parseLengthDistRel(String s)
Parse a relative length distribution, e.g.
|
static org.djunits.value.vdouble.scalar.Length.Rel |
LengthUnits.parseLengthRel(String s) |
static String |
LengthUnits.parseLengthUnit(String s) |
static org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.LinearDensityUnit> |
LengthUnits.parsePerLengthAbs(String s) |
static String |
LengthUnits.parsePerLengthUnit(String s) |
static org.djunits.value.vdouble.scalar.Frequency |
TimeUnits.parsePerTimeAbs(String s) |
static String |
TimeUnits.parsePerTimeUnit(String s) |
static org.djunits.value.vdouble.scalar.Speed |
SpeedUnits.parseSpeedAbs(String s) |
static ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Speed,org.djunits.unit.SpeedUnit> |
Distributions.parseSpeedDistRel(String s)
Parse a relative speed distribution, e.g.
|
static org.djunits.value.vdouble.scalar.Speed |
SpeedUnits.parseSpeedRel(String s) |
static String |
SpeedUnits.parseSpeedUnit(String s) |
static org.djunits.value.vdouble.scalar.Time.Abs |
TimeUnits.parseTimeAbs(String s) |
static ContinuousDistDoubleScalar.Abs<org.djunits.value.vdouble.scalar.Time.Abs,org.djunits.unit.TimeUnit> |
Distributions.parseTimeDistAbs(String s)
Parse an absolute time distribution, e.g.
|
static ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Time.Rel,org.djunits.unit.TimeUnit> |
Distributions.parseTimeDistRel(String s)
Parse a relative time distribution, e.g.
|
static org.djunits.value.vdouble.scalar.Time.Rel |
TimeUnits.parseTimeRel(String s) |
static String |
TimeUnits.parseTimeUnit(String s) |
| Modifier and Type | Method and Description |
|---|---|
void |
Route.addNode(Node node)
Add a node to the end of the node list.
|
void |
CompleteRoute.addNode(Node node)
Add a node to the end of the node list.
|
Node |
Route.destinationNode() |
Node |
Route.getNode(int i) |
Node |
RouteNavigator.lastVisitedNode() |
Node |
CompleteRouteNavigator.lastVisitedNode() |
Node |
RouteNavigator.nextNodeToVisit()
This method does not advance the route pointer.
|
Node |
CompleteRouteNavigator.nextNodeToVisit()
This method does not advance the route pointer.
|
Node |
Route.originNode() |
Node |
RouteNavigator.visitNextNode()
This method does advance the route pointer (if possible).
|
Node |
CompleteRouteNavigator.visitNextNode()
This method does advance the route pointer (if possible).
|
| Constructor and Description |
|---|
CompleteRoute(String id,
List<Node> nodes)
Create a route based on an initial list of nodes.
|
ProbabilisticRouteGenerator(List<ProbabilisticRouteGenerator.RouteProbability> routeProbabilities,
StreamInterface stream)
Construct a new ProbabilistiRouteGenerator using the given random stream.
|
| Modifier and Type | Method and Description |
|---|---|
SimpleSimulatorInterface |
WrappableAnimation.buildAnimator(org.djunits.value.vdouble.scalar.Time.Abs startTime,
org.djunits.value.vdouble.scalar.Time.Rel warmupPeriod,
org.djunits.value.vdouble.scalar.Time.Rel runLength,
ArrayList<AbstractProperty<?>> properties,
Rectangle rect,
boolean exitOnClose)
Build the animation.
|
SimpleSimulatorInterface |
WrappableSimulation.buildSimulator(org.djunits.value.vdouble.scalar.Time.Abs startTime,
org.djunits.value.vdouble.scalar.Time.Rel warmupPeriod,
org.djunits.value.vdouble.scalar.Time.Rel runLength,
ArrayList<AbstractProperty<?>> properties)
Build the simulation.
|
SimpleSimulatorInterface |
WrappableAnimation.rebuildSimulator(Rectangle rect)
Restart (rebuild) the simulation.
|
SimpleSimulatorInterface |
AbstractWrappableAnimation.rebuildSimulator(Rectangle rect)
Restart (rebuild) the simulation.
|
Copyright © 2014–2015 Delft University of Technology. All rights reserved.