| Package | Description |
|---|---|
| org.opentrafficsim.core.car |
Classes that extend the GTU to car behavior.
|
| org.opentrafficsim.core.gtu.following |
GTU (Car) following models such as IDM+.
|
| org.opentrafficsim.core.gtu.generator |
Generate GTUs according to some prescription.
|
| org.opentrafficsim.core.gtu.lane |
The lane-based GTUs are the Generalized Travel Units that travel in lanes,
and need to switch lanes to overtake.
|
| org.opentrafficsim.core.network |
Classes that build a network with nodes, links, and cross-sections.
|
| org.opentrafficsim.core.network.factory |
Factories for Links, Lanes, Nodes.
|
| org.opentrafficsim.core.network.factory.xml |
Copyright (c) 2013-2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
| org.opentrafficsim.core.network.factory.xml.units |
Copyright (c) 2013-2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
| org.opentrafficsim.core.network.lane |
Classes that provide detailed cross-sections of a link using lanes, markers and sensors.
|
| org.opentrafficsim.core.network.route |
Routes and route probabilities.
|
| org.opentrafficsim.graphs |
Basic graphs for traffic simulation.
|
| org.opentrafficsim.importexport.osm.output |
OpenStreetMap output.
|
| org.opentrafficsim.simulationengine |
Wrappers and stubs for the DSOL simulation engine.
|
| Modifier and Type | Method and Description |
|---|---|
LaneBasedTemplateCar<ID> |
LaneBasedTemplateCar.LaneBasedTemplateCarBuilder.build() |
| Modifier and Type | Method and Description |
|---|---|
DualAccelerationStep |
GTUFollowingModel.computeAcceleration(LaneBasedGTU<?> referenceGTU,
Collection<HeadwayGTU> otherGTUs,
DoubleScalar.Abs<SpeedUnit> speedLimit)
Compute the lowest accelerations (or most severe decelerations) that would be used if a referenceGTU is present
(inserted, or not removed) in a set of other GTUs.
If any GTU in the set of otherGTUs has a null headway (indicating that the other GTU is in fact parallel to the referenceGTU), prohibitive decelerations shall be returned. Two AccelerationStep values are returned in a DualAccelerationStep. TODO We should probably add a be ready to stop before argument to prevent vehicles that cannot see their leader, or should slow down for a crossing from accelerating to unsafe speeds. |
DualAccelerationStep |
AbstractGTUFollowingModel.computeAcceleration(LaneBasedGTU<?> referenceGTU,
Collection<HeadwayGTU> otherGTUs,
DoubleScalar.Abs<SpeedUnit> speedLimit)
Compute the lowest accelerations (or most severe decelerations) that would be used if a referenceGTU is present
(inserted, or not removed) in a set of other GTUs.
If any GTU in the set of otherGTUs has a null headway (indicating that the other GTU is in fact parallel to the referenceGTU), prohibitive decelerations shall be returned. Two AccelerationStep values are returned in a DualAccelerationStep. TODO We should probably add a be ready to stop before argument to prevent vehicles that cannot see their leader, or should slow down for a crossing from accelerating to unsafe speeds. |
AccelerationStep |
GTUFollowingModel.computeAcceleration(LaneBasedGTU<?> follower,
DoubleScalar.Abs<SpeedUnit> leaderSpeed,
DoubleScalar.Rel<LengthUnit> headway,
DoubleScalar.Abs<SpeedUnit> speedLimit)
Compute the acceleration that would be used to follow a leader.
TODO We should probably add a be ready to stop before argument to prevent vehicles that cannot see their leader, or should slow down for a crossing from accelerating to unsafe speeds. |
AccelerationStep |
GTUFollowingModel.computeAccelerationWithNoLeader(LaneBasedGTU<?> gtu,
DoubleScalar.Abs<SpeedUnit> speedLimit)
Compute the acceleration that would be used if the is not leader in sight.
|
AccelerationStep |
AbstractGTUFollowingModel.computeAccelerationWithNoLeader(LaneBasedGTU<?> gtu,
DoubleScalar.Abs<SpeedUnit> speedLimit)
Compute the acceleration that would be used if the is not leader in sight.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
AbstractGTUGenerator.enoughSpace(LaneBasedIndividualCar.LaneBasedIndividualCarBuilder<?> carBuilder)
Check if the car to be built is not overlapping with another GTU on the same lane, and if it has enough headway to be
generated safely.
|
HeadwayGTU |
AbstractGTUGenerator.headway(DoubleScalar.Rel<LengthUnit> maxDistance,
LaneBasedRouteNavigator routeNavigator,
Lane<?,?> generatorLane)
Check the available headway for GTU that is about to be constructed.
|
| Constructor and Description |
|---|
ListGTUGenerator(String name,
OTSDEVSSimulatorInterface simulator,
GTUType<ID> gtuType,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
DoubleScalar.Abs<SpeedUnit> initialSpeed,
Lane<?,?> lane,
DoubleScalar.Rel<LengthUnit> position,
LaneBasedRouteGenerator routeGenerator,
GTUColorer gtuColorer,
String fileName)
Construct a GTU generator that takes the times to generate another GTU from an external source.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LaneBlockOnOff.addFrontToSubsequentLane(Lane<?,?> lane)
Register the lane with a GTU, at the start of the lane.
|
void |
LaneBlock.addFrontToSubsequentLane(Lane<?,?> lane)
Register the lane with a GTU, at the start of the lane.
|
void |
LaneBasedGTU.addFrontToSubsequentLane(Lane<?,?> lane)
Register the lane with a GTU, at the start of the lane.
|
void |
AbstractLaneBasedGTU.addFrontToSubsequentLane(Lane<?,?> lane)
Register the lane with a GTU, at the start of the lane.
|
void |
LaneBlockOnOff.addLane(Lane<?,?> lane,
DoubleScalar.Rel<LengthUnit> position)
insert GTU at a certain position.
|
void |
LaneBlock.addLane(Lane<?,?> lane,
DoubleScalar.Rel<LengthUnit> position)
insert GTU at a certain position.
|
void |
LaneBasedGTU.addLane(Lane<?,?> lane,
DoubleScalar.Rel<LengthUnit> position)
insert GTU at a certain position.
|
void |
AbstractLaneBasedGTU.addLane(Lane<?,?> lane,
DoubleScalar.Rel<LengthUnit> position)
insert GTU at a certain position.
|
double |
LaneBlockOnOff.fractionalPosition(Lane<?,?> lane,
RelativePosition relativePosition)
Return the longitudinal position of a point relative to this GTU, relative to the center line of the Lane, as a fraction
of the length of the lane.
|
double |
LaneBlock.fractionalPosition(Lane<?,?> lane,
RelativePosition relativePosition)
Return the longitudinal position of a point relative to this GTU, relative to the center line of the Lane, as a fraction
of the length of the lane.
|
double |
LaneBasedGTU.fractionalPosition(Lane<?,?> lane,
RelativePosition relativePosition)
Return the longitudinal position of a point relative to this GTU, relative to the center line of the Lane, as a fraction
of the length of the lane.
|
double |
AbstractLaneBasedGTU.fractionalPosition(Lane<?,?> lane,
RelativePosition relativePosition)
Return the longitudinal position of a point relative to this GTU, relative to the center line of the Lane, as a fraction
of the length of the lane.
|
double |
LaneBlockOnOff.fractionalPosition(Lane<?,?> lane,
RelativePosition relativePosition,
DoubleScalar.Abs<TimeUnit> when)
Return the longitudinal position of a point relative to this GTU, relative to the center line of the Lane, as a fraction
of the length of the lane.
|
double |
LaneBlock.fractionalPosition(Lane<?,?> lane,
RelativePosition relativePosition,
DoubleScalar.Abs<TimeUnit> when)
Return the longitudinal position of a point relative to this GTU, relative to the center line of the Lane, as a fraction
of the length of the lane.
|
double |
LaneBasedGTU.fractionalPosition(Lane<?,?> lane,
RelativePosition relativePosition,
DoubleScalar.Abs<TimeUnit> when)
Return the longitudinal position of a point relative to this GTU, relative to the center line of the Lane, as a fraction
of the length of the lane.
|
double |
AbstractLaneBasedGTU.fractionalPosition(Lane<?,?> lane,
RelativePosition relativePosition,
DoubleScalar.Abs<TimeUnit> when)
Return the longitudinal position of a point relative to this GTU, relative to the center line of the Lane, as a fraction
of the length of the lane.
|
Map<Lane<?,?>,Double> |
LaneBlockOnOff.fractionalPositions(RelativePosition relativePosition)
Return the longitudinal positions of a point relative to this GTU, relative to the center line of the Lanes in which the
vehicle is registered, as fractions of the length of the lane.
|
Map<Lane<?,?>,Double> |
LaneBlock.fractionalPositions(RelativePosition relativePosition)
Return the longitudinal positions of a point relative to this GTU, relative to the center line of the Lanes in which the
vehicle is registered, as fractions of the length of the lane.
|
Map<Lane<?,?>,Double> |
LaneBasedGTU.fractionalPositions(RelativePosition relativePosition)
Return the longitudinal positions of a point relative to this GTU, relative to the center line of the Lanes in which the
vehicle is registered, as fractions of the length of the lane.
|
Map<Lane<?,?>,Double> |
AbstractLaneBasedGTU.fractionalPositions(RelativePosition relativePosition)
Return the longitudinal positions of a point relative to this GTU, relative to the center line of the Lanes in which the
vehicle is registered, as fractions of the length of the lane.
|
Map<Lane<?,?>,Double> |
LaneBlockOnOff.fractionalPositions(RelativePosition relativePosition,
DoubleScalar.Abs<TimeUnit> when)
Return the longitudinal positions of a point relative to this GTU, relative to the center line of the Lanes in which the
vehicle is registered, as fractions of the length of the lane.
|
Map<Lane<?,?>,Double> |
LaneBlock.fractionalPositions(RelativePosition relativePosition,
DoubleScalar.Abs<TimeUnit> when)
Return the longitudinal positions of a point relative to this GTU, relative to the center line of the Lanes in which the
vehicle is registered, as fractions of the length of the lane.
|
Map<Lane<?,?>,Double> |
LaneBasedGTU.fractionalPositions(RelativePosition relativePosition,
DoubleScalar.Abs<TimeUnit> when)
Return the longitudinal positions of a point relative to this GTU, relative to the center line of the Lanes in which the
vehicle is registered, as fractions of the length of the lane.
|
Map<Lane<?,?>,Double> |
AbstractLaneBasedGTU.fractionalPositions(RelativePosition relativePosition,
DoubleScalar.Abs<TimeUnit> when)
Return the longitudinal positions of a point relative to this GTU, relative to the center line of the Lanes in which the
vehicle is registered, as fractions of the length of the lane.
|
HeadwayGTU |
LaneBlockOnOff.headway(DoubleScalar.Rel<LengthUnit> maxDistance)
Determine which GTU in front of this GTU, or behind this GTU.
|
HeadwayGTU |
LaneBlock.headway(DoubleScalar.Rel<LengthUnit> maxDistance)
Determine which GTU in front of this GTU, or behind this GTU.
|
HeadwayGTU |
LaneBasedGTU.headway(DoubleScalar.Rel<LengthUnit> maxDistance)
Determine which GTU in front of this GTU, or behind this GTU.
|
HeadwayGTU |
AbstractLaneBasedGTU.headway(DoubleScalar.Rel<LengthUnit> maxDistance)
Determine which GTU in front of this GTU, or behind this GTU.
|
HeadwayGTU |
LaneBlockOnOff.headway(Lane<?,?> lane,
DoubleScalar.Rel<LengthUnit> maxDistance)
Determine by what distance the front of this GTU is behind the rear an other GTU, or the rear of this GTU is ahead of the
front of an other GTU.
|
HeadwayGTU |
LaneBlock.headway(Lane<?,?> lane,
DoubleScalar.Rel<LengthUnit> maxDistance)
Determine by what distance the front of this GTU is behind the rear an other GTU, or the rear of this GTU is ahead of the
front of an other GTU.
|
HeadwayGTU |
LaneBasedGTU.headway(Lane<?,?> lane,
DoubleScalar.Rel<LengthUnit> maxDistance)
Determine by what distance the front of this GTU is behind the rear an other GTU, or the rear of this GTU is ahead of the
front of an other GTU.
|
HeadwayGTU |
AbstractLaneBasedGTU.headway(Lane<?,?> lane,
DoubleScalar.Rel<LengthUnit> maxDistance)
Determine by what distance the front of this GTU is behind the rear an other GTU, or the rear of this GTU is ahead of the
front of an other GTU.
|
protected void |
AbstractLaneBasedGTU.move()
Move this GTU to it's current location, then compute (and commit to) the next movement step.
|
Set<LaneBasedGTU<?>> |
LaneBlockOnOff.parallel(Lane<?,?> lane,
DoubleScalar.Abs<TimeUnit> when)
Determine which GTUs are parallel with us on another lane, based on fractional positions.
|
Set<LaneBasedGTU<?>> |
LaneBlock.parallel(Lane<?,?> lane,
DoubleScalar.Abs<TimeUnit> when)
Determine which GTUs are parallel with us on another lane, based on fractional positions.
|
Set<LaneBasedGTU<?>> |
LaneBasedGTU.parallel(Lane<?,?> lane,
DoubleScalar.Abs<TimeUnit> when)
Determine which GTUs are parallel with us on another lane, based on fractional positions.
|
Set<LaneBasedGTU<?>> |
AbstractLaneBasedGTU.parallel(Lane<?,?> lane,
DoubleScalar.Abs<TimeUnit> when)
Determine which GTUs are parallel with us on another lane, based on fractional positions.
|
Set<LaneBasedGTU<?>> |
LaneBlockOnOff.parallel(LateralDirectionality lateralDirection,
DoubleScalar.Abs<TimeUnit> when)
Determine which GTUs are parallel with us in a certain lateral direction, based on fractional positions.
|
Set<LaneBasedGTU<?>> |
LaneBlock.parallel(LateralDirectionality lateralDirection,
DoubleScalar.Abs<TimeUnit> when)
Determine which GTUs are parallel with us in a certain lateral direction, based on fractional positions.
|
Set<LaneBasedGTU<?>> |
LaneBasedGTU.parallel(LateralDirectionality lateralDirection,
DoubleScalar.Abs<TimeUnit> when)
Determine which GTUs are parallel with us in a certain lateral direction, based on fractional positions.
|
Set<LaneBasedGTU<?>> |
AbstractLaneBasedGTU.parallel(LateralDirectionality lateralDirection,
DoubleScalar.Abs<TimeUnit> when)
Determine which GTUs are parallel with us in a certain lateral direction, based on fractional positions.
|
DoubleScalar.Rel<LengthUnit> |
LaneBlockOnOff.position(Lane<?,?> lane,
RelativePosition relativePosition)
Return the longitudinal position of a point relative to this GTU, relative to the center line of the Lane at the current
simulation time.
|
DoubleScalar.Rel<LengthUnit> |
LaneBlock.position(Lane<?,?> lane,
RelativePosition relativePosition)
Return the longitudinal position of a point relative to this GTU, relative to the center line of the Lane at the current
simulation time.
|
DoubleScalar.Rel<LengthUnit> |
LaneBasedGTU.position(Lane<?,?> lane,
RelativePosition relativePosition)
Return the longitudinal position of a point relative to this GTU, relative to the center line of the Lane at the current
simulation time.
|
DoubleScalar.Rel<LengthUnit> |
AbstractLaneBasedGTU.position(Lane<?,?> lane,
RelativePosition relativePosition)
Return the longitudinal position of a point relative to this GTU, relative to the center line of the Lane at the current
simulation time.
|
DoubleScalar.Rel<LengthUnit> |
LaneBlockOnOff.position(Lane<?,?> lane,
RelativePosition relativePosition,
DoubleScalar.Abs<TimeUnit> when)
Return the longitudinal position of a point relative to this GTU, relative to the center line of the Lane.
|
DoubleScalar.Rel<LengthUnit> |
LaneBlock.position(Lane<?,?> lane,
RelativePosition relativePosition,
DoubleScalar.Abs<TimeUnit> when)
Return the longitudinal position of a point relative to this GTU, relative to the center line of the Lane.
|
DoubleScalar.Rel<LengthUnit> |
LaneBasedGTU.position(Lane<?,?> lane,
RelativePosition relativePosition,
DoubleScalar.Abs<TimeUnit> when)
Return the longitudinal position of a point relative to this GTU, relative to the center line of the Lane.
|
DoubleScalar.Rel<LengthUnit> |
AbstractLaneBasedGTU.position(Lane<?,?> lane,
RelativePosition relativePosition,
DoubleScalar.Abs<TimeUnit> when)
Return the longitudinal position of a point relative to this GTU, relative to the center line of the Lane.
|
Map<Lane<?,?>,DoubleScalar.Rel<LengthUnit>> |
LaneBlockOnOff.positions(RelativePosition relativePosition)
Return the longitudinal positions of a point relative to this GTU, relative to the center line of the Lanes in which the
vehicle is registered.
|
Map<Lane<?,?>,DoubleScalar.Rel<LengthUnit>> |
LaneBlock.positions(RelativePosition relativePosition)
Return the longitudinal positions of a point relative to this GTU, relative to the center line of the Lanes in which the
vehicle is registered.
|
Map<Lane<?,?>,DoubleScalar.Rel<LengthUnit>> |
LaneBasedGTU.positions(RelativePosition relativePosition)
Return the longitudinal positions of a point relative to this GTU, relative to the center line of the Lanes in which the
vehicle is registered.
|
Map<Lane<?,?>,DoubleScalar.Rel<LengthUnit>> |
AbstractLaneBasedGTU.positions(RelativePosition relativePosition)
Return the longitudinal positions of a point relative to this GTU, relative to the center line of the Lanes in which the
vehicle is registered.
|
Map<Lane<?,?>,DoubleScalar.Rel<LengthUnit>> |
LaneBlockOnOff.positions(RelativePosition relativePosition,
DoubleScalar.Abs<TimeUnit> when)
Return the longitudinal positions of a point relative to this GTU, relative to the center line of the Lanes in which the
vehicle is registered.
|
Map<Lane<?,?>,DoubleScalar.Rel<LengthUnit>> |
LaneBlock.positions(RelativePosition relativePosition,
DoubleScalar.Abs<TimeUnit> when)
Return the longitudinal positions of a point relative to this GTU, relative to the center line of the Lanes in which the
vehicle is registered.
|
Map<Lane<?,?>,DoubleScalar.Rel<LengthUnit>> |
LaneBasedGTU.positions(RelativePosition relativePosition,
DoubleScalar.Abs<TimeUnit> when)
Return the longitudinal positions of a point relative to this GTU, relative to the center line of the Lanes in which the
vehicle is registered.
|
Map<Lane<?,?>,DoubleScalar.Rel<LengthUnit>> |
AbstractLaneBasedGTU.positions(RelativePosition relativePosition,
DoubleScalar.Abs<TimeUnit> when)
Return the longitudinal positions of a point relative to this GTU, relative to the center line of the Lanes in which the
vehicle is registered.
|
DoubleScalar.Rel<LengthUnit> |
LaneBlockOnOff.projectedPosition(Lane<?,?> projectionLane,
RelativePosition relativePosition,
DoubleScalar.Abs<TimeUnit> when)
Return the longitudinal position that this GTU would have if it were to change to another Lane with a/the current
CrossSectionLink.
|
DoubleScalar.Rel<LengthUnit> |
LaneBlock.projectedPosition(Lane<?,?> projectionLane,
RelativePosition relativePosition,
DoubleScalar.Abs<TimeUnit> when)
Return the longitudinal position that this GTU would have if it were to change to another Lane with a/the current
CrossSectionLink.
|
DoubleScalar.Rel<LengthUnit> |
LaneBasedGTU.projectedPosition(Lane<?,?> projectionLane,
RelativePosition relativePosition,
DoubleScalar.Abs<TimeUnit> when)
Return the longitudinal position that this GTU would have if it were to change to another Lane with a/the current
CrossSectionLink.
|
DoubleScalar.Rel<LengthUnit> |
AbstractLaneBasedGTU.projectedPosition(Lane<?,?> projectionLane,
RelativePosition relativePosition,
DoubleScalar.Abs<TimeUnit> when)
Return the longitudinal position that this GTU would have if it were to change to another Lane with a/the current
CrossSectionLink.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OTSNetwork.addLink(Link<LINKID,NODEID> link) |
void |
Network.addLink(Link<LINKID,NODEID> link) |
void |
OTSNetwork.addNode(Node<NODEID> node) |
void |
Network.addNode(Node<NODEID> node) |
void |
OTSNetwork.addRoute(Route<LINKID,NODEID> route) |
void |
Network.addRoute(Route<LINKID,NODEID> route) |
Link<LINKID,NODEID> |
OTSNetwork.getLink(NODEID nodeId1,
NODEID nodeId2)
Find a link between node1 and node2 and return it if it exists in the network.
|
Link<LINKID,NODEID> |
Network.getLink(NODEID node1,
NODEID node2)
Find a link between node1 and node2 and return it if it exists in the network.
|
void |
OTSNetwork.removeLink(Link<LINKID,NODEID> link) |
void |
Network.removeLink(Link<LINKID,NODEID> link) |
void |
OTSNetwork.removeNode(Node<NODEID> node) |
void |
Network.removeNode(Node<NODEID> node) |
void |
OTSNetwork.removeRoute(Route<LINKID,NODEID> route) |
void |
Network.removeRoute(Route<LINKID,NODEID> route) |
| Modifier and Type | Method and Description |
|---|---|
static Lane<String,String> |
LaneFactory.makeLane(String name,
OTSNode<String> from,
OTSNode<String> to,
OTSPoint3D[] intermediatePoints,
LaneType<String> laneType,
DoubleScalar.Abs<SpeedUnit> speedLimit,
OTSDEVSSimulatorInterface simulator)
Create a simple Lane.
|
static Lane<String,String>[] |
LaneFactory.makeMultiLane(String name,
OTSNode<String> from,
OTSNode<String> to,
OTSPoint3D[] intermediatePoints,
int laneCount,
int laneOffsetAtStart,
int laneOffsetAtEnd,
LaneType<String> laneType,
DoubleScalar.Abs<SpeedUnit> speedLimit,
OTSDEVSSimulatorInterface simulator)
Create a simple road with the specified number of Lanes.
This method returns an array of Lane. |
static Lane<String,String>[] |
LaneFactory.makeMultiLane(String name,
OTSNode<String> from,
OTSNode<String> to,
OTSPoint3D[] intermediatePoints,
int laneCount,
LaneType<String> laneType,
DoubleScalar.Abs<SpeedUnit> speedLimit,
OTSDEVSSimulatorInterface simulator)
Create a simple road with the specified number of Lanes.
This method returns an array of Lane. |
| Modifier and Type | Method and Description |
|---|---|
OTSNetwork |
XmlNetworkLaneParser.build(URL url) |
| Modifier and Type | Method and Description |
|---|---|
int |
Lane.addGTU(LaneBasedGTU<?> gtu,
double fractionalPosition)
Add a LaneBasedGTU<?> to the list of this Lane.
|
int |
Lane.addGTU(LaneBasedGTU<?> gtu,
DoubleScalar.Rel<LengthUnit> longitudinalPosition)
Add a LaneBasedGTU<?> to the list of this Lane.
|
void |
Lane.addSensor(Sensor sensor)
Insert the sensor at the right place in the sensor list of this lane.
|
LaneBasedGTU<?> |
Lane.getGtuAfter(DoubleScalar.Rel<LengthUnit> position,
RelativePosition.TYPE relativePosition,
DoubleScalar.Abs<TimeUnit> when) |
LaneBasedGTU<?> |
Lane.getGtuBefore(DoubleScalar.Rel<LengthUnit> position,
RelativePosition.TYPE relativePosition,
DoubleScalar.Abs<TimeUnit> when) |
void |
Lane.removeAccessibleAdjacentLane(Lane<LINKID,NODEID> adjacentLane,
LateralDirectionality direction)
Indicate that a Lane is no longer adjacent to this Lane (may be useful for lanes that are sometimes closed, e.g.
|
void |
Lane.removeSensor(Sensor sensor)
Remove a sensor from the sensor list of this lane.
|
void |
Lane.sample(AbstractLaneBasedGTU<?> gtu)
Add the movement of a GTU to all graphs that sample this Lane.
|
void |
Lane.scheduleTriggers(LaneBasedGTU<?> gtu,
double referenceStartSI,
double referenceMoveSI)
Trigger the sensors for a certain time step; from now until the nextEvaluationTime of the GTU.
|
| Constructor and Description |
|---|
SinkLane(CrossSectionLink<LINKID,NODEID> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> beginWidth,
LaneType<?> laneType,
LongitudinalDirectionality directionality,
DoubleScalar.Abs<SpeedUnit> speedLimit)
Construct a SinkLane.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Route.addNode(Node<NODEID> node)
Add a node to the end of the node list.
|
void |
CompleteRoute.addNode(Node<NODEID> node)
Add a node to the end of the node list.
|
Node<NODEID> |
Route.destinationNode() |
Node<NODEID> |
Route.getNode(int i) |
Node<?> |
RouteNavigator.lastVisitedNode() |
Node<?> |
RouteNavigator.nextNodeToVisit()
This method does not advance the route pointer.
|
Node<NODEID> |
Route.originNode() |
DoubleScalar.Rel<LengthUnit> |
LaneBasedRouteNavigator.suitability(Lane<?,?> lane,
DoubleScalar.Rel<LengthUnit> longitudinalPosition,
GTUType<?> gtuType,
DoubleScalar.Rel<TimeUnit> timeHorizon)
Determine the suitability of being at a particular longitudinal position in a particular Lane for following this Route.
|
Node<?> |
RouteNavigator.visitNextNode()
This method does advance the route pointer (if possible).
|
| Constructor and Description |
|---|
CompleteRoute(String id,
List<Node<NODEID>> nodes)
Create a route based on an initial list of nodes.
|
ProbabilisticLaneBasedRouteGenerator(List<ProbabilisticLaneBasedRouteGenerator.LaneBasedRouteProbability> laneBasedRouteProbabilities,
StreamInterface stream)
Construct a new ProbabilistiRouteGenerator using the given random stream.
|
ProbabilisticRouteGenerator(List<ProbabilisticRouteGenerator.RouteProbability> routeProbabilities,
StreamInterface stream)
Construct a new ProbabilistiRouteGenerator using the given random stream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TrajectoryPlot.addData(AbstractLaneBasedGTU<?> car,
Lane<?,?> lane)
Add the movement of an AbstractLaneBasedGTU to a graph.
|
void |
LaneBasedGTUSampler.addData(AbstractLaneBasedGTU<?> gtu,
Lane<?,?> lane)
Add the movement of an AbstractLaneBasedGTU to a graph.
|
void |
ContourPlot.addData(AbstractLaneBasedGTU<?> car,
Lane<?,?> lane)
Add the movement of an AbstractLaneBasedGTU to a graph.
|
| Constructor and Description |
|---|
FundamentalDiagram(String caption,
DoubleScalar.Rel<TimeUnit> aggregationTime,
Lane<?,?> lane,
DoubleScalar.Rel<LengthUnit> position)
Graph a Fundamental Diagram.
|
| Modifier and Type | Method and Description |
|---|---|
List<Lane<?,?>> |
Convert.makeLanes(OSMLink osmlink,
OTSDEVSSimulatorInterface simulator,
WarningListener warningListener)
This method creates lanes out of an OSM link LaneTypes are not jet extensive and can be further increased through Tags
provided by OSM.
|
| Modifier and Type | Method and Description |
|---|---|
SimpleSimulation |
WrappableSimulation.buildSimulator(ArrayList<AbstractProperty<?>> properties,
Rectangle rect,
boolean exitOnClose)
Build the simulation.
|
SimpleSimulation |
WrappableSimulation.rebuildSimulator(Rectangle rect)
Restart (rebuild) the simulation.
|
SimpleSimulation |
AbstractWrappableSimulation.rebuildSimulator(Rectangle rect)
Restart (rebuild) the simulation.
|
Copyright © 2014–2015 Delft University of Technology. All rights reserved.