| 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.
|
| org.opentrafficsim.core.gtu.lane |
The lane-based GTUs are the Generalized Travel Units that stay 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.geotools |
Geotools flavored Nodes, Links, etc.
|
| 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 |
|---|---|
HeadwayGTU |
AbstractGTUGenerator.headway(DoubleScalar.Rel<LengthUnit> maxDistance,
Route route,
Lane generatorLane)
Check the available headway for GTU that is about to be constructed.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
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 |
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 |
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> |
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> |
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 |
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 |
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<?>> |
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<?>> |
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> |
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> |
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>> |
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>> |
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> |
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 |
Network.addNode(N node)
Add a node to this Network.
|
boolean |
Network.deleteNode(N deleteThis)
Delete a node from this network.
|
boolean |
ExpansionNetwork.deleteNode(N deleteThis)
Delete a node from this network (or a sub-network of this network).
|
Set<L> |
ExpansionNetwork.findLinkHierarchyBelow(int hierarchyLevel)
Find all links that have a hierarchy level not exceeding the specified value.
|
ExpansionNetwork<ID,N,L> |
ExpansionNetwork.getSubNetworkConsistNode(N node)
Return the sub network that directly owns a specified node.
|
void |
ExpansionNetwork.setExpansionOfNode(N expansionOfNode) |
| Constructor and Description |
|---|
ExpansionNetwork(ID id,
Collection<? extends L> collection,
N expansionNode)
Construction of a network with an initial set of links, and an expansion node.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
XmlNetworkLaneParser.applyRoadTypeToLink(XmlNetworkLaneParser.RoadTypeTag roadTypeTag,
CrossSectionLink csl,
XmlNetworkLaneParser.LinkTag linkTag,
XmlNetworkLaneParser.GlobalTag globalTag)
At the end of a link tag, make sure the road type information is applied to the link.
|
Network |
XmlNetworkLaneParser.build(String s) |
Network |
XmlNetworkLaneParser.build(URL url) |
protected void |
XmlNetworkLaneParser.calculateNodeCoordinates(XmlNetworkLaneParser.LinkTag linkTag)
One of the nodes probably has a coordinate and the other not.
|
protected Object |
XmlNetworkLaneParser.makeId(Class<?> clazz,
String ids)
Generate an ID of the right type.
|
static Lane |
LaneFactory.makeLane(String name,
NodeGeotools.STR from,
NodeGeotools.STR to,
com.vividsolutions.jts.geom.Coordinate[] intermediateCoordinates,
LaneType<String> laneType,
DoubleScalar.Abs<SpeedUnit> speedLimit,
OTSDEVSSimulatorInterface simulator)
Create a simple Lane.
|
static Lane[] |
LaneFactory.makeMultiLane(String name,
NodeGeotools.STR from,
NodeGeotools.STR to,
com.vividsolutions.jts.geom.Coordinate[] intermediateCoordinates,
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[] |
LaneFactory.makeMultiLane(String name,
NodeGeotools.STR from,
NodeGeotools.STR to,
com.vividsolutions.jts.geom.Coordinate[] intermediateCoordinates,
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. |
protected Node |
XmlNetworkLaneParser.makeNode(Class<?> clazz,
XmlNetworkLaneParser.NodeTag nodeTag) |
protected Object |
XmlNetworkLaneParser.makePoint(Class<?> clazz,
javax.vecmath.Point3d p)
Generate an ID of the right type.
|
protected DoubleScalar.Abs<AnglePlaneUnit> |
XmlNetworkLaneParser.parseAngleAbs(String s) |
protected DoubleScalar.Rel<LengthUnit> |
XmlNetworkLaneParser.parseBeginEndPosition(String posStr,
XmlNetworkLaneParser.LinkTag linkTag)
This method parses a length string that can have values such as: BEGIN, END, 10m, END-10m, 98%.
|
protected Color |
XmlNetworkLaneParser.parseColor(String colorStr) |
protected LongitudinalDirectionality |
XmlNetworkLaneParser.parseDirection(String dirStr) |
protected GTUFollowingModel |
XmlNetworkLaneParser.parseFollowingModel(String modelName)
XXX probably ok to generate a new model for each GTU 'type'.
|
protected LaneChangeModel |
XmlNetworkLaneParser.parseLaneChangeModel(String modelName)
XXX probably ok to generate a new model for each GTU 'type'.
|
protected DoubleScalar.Abs<LengthUnit> |
XmlNetworkLaneParser.parseLengthAbs(String s) |
protected DistContinuousDoubleScalar.Abs<LengthUnit> |
XmlNetworkLaneParser.parseLengthDistAbs(String s)
Parse an absolute length distribution, e.g.
|
protected DistContinuousDoubleScalar.Rel<LengthUnit> |
XmlNetworkLaneParser.parseLengthDistRel(String s)
Parse a relative length distribution, e.g.
|
protected DoubleScalar.Rel<LengthUnit> |
XmlNetworkLaneParser.parseLengthRel(String s) |
protected DoubleScalar.Abs<LinearDensityUnit> |
XmlNetworkLaneParser.parsePerLengthAbs(String s) |
protected DoubleScalar.Abs<FrequencyUnit> |
XmlNetworkLaneParser.parsePerTimeAbs(String s) |
protected DoubleScalar.Abs<SpeedUnit> |
XmlNetworkLaneParser.parseSpeedAbs(String s) |
protected DistContinuousDoubleScalar.Abs<SpeedUnit> |
XmlNetworkLaneParser.parseSpeedDistAbs(String s)
Parse an absolute speed distribution, e.g.
|
protected DistContinuousDoubleScalar.Rel<SpeedUnit> |
XmlNetworkLaneParser.parseSpeedDistRel(String s)
Parse a relative speed distribution, e.g.
|
protected DoubleScalar.Rel<SpeedUnit> |
XmlNetworkLaneParser.parseSpeedRel(String s) |
protected XmlNetworkLaneParser.StripeType |
XmlNetworkLaneParser.parseStripeType(String stripeStr) |
protected DoubleScalar.Abs<TimeUnit> |
XmlNetworkLaneParser.parseTimeAbs(String s) |
protected DistContinuousDoubleScalar.Abs<TimeUnit> |
XmlNetworkLaneParser.parseTimeDistAbs(String s)
Parse an absolute time distribution, e.g.
|
protected DistContinuousDoubleScalar.Rel<TimeUnit> |
XmlNetworkLaneParser.parseTimeDistRel(String s)
Parse a relative time distribution, e.g.
|
protected DoubleScalar.Rel<TimeUnit> |
XmlNetworkLaneParser.parseTimeRel(String s) |
| Constructor and Description |
|---|
LinearGeometry(LinkGeotools<?,?> link,
com.vividsolutions.jts.geom.LineString lineString,
org.opengis.referencing.crs.CoordinateReferenceSystem crs) |
LinearGeometry(LinkGeotools<?,?> link,
org.opengis.geometry.coordinate.PointArray pointArray) |
| 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) |
static com.vividsolutions.jts.geom.Geometry |
CrossSectionElement.offsetGeometry(com.vividsolutions.jts.geom.Geometry referenceLine,
double offset)
Generate a Geometry that has a fixed offset from a reference Geometry.
|
void |
Lane.removeAccessibleAdjacentLane(Lane 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 |
|---|
Barrier(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralCenterPosition,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth)
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the direction from
the StartNode towards the EndNode as the longitudinal direction.
|
CrossSectionElement(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtBegin,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtEnd,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth)
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the
direction from the StartNode towards the EndNode as the longitudinal direction.
|
Lane(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtEnd,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth,
LaneType<?> laneType,
LongitudinalDirectionality directionality,
DoubleScalar.Abs<FrequencyUnit> capacity,
DoubleScalar.Abs<SpeedUnit> speedLimit) |
NoTrafficLane(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtEnd,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth,
LaneType<?> laneType,
LongitudinalDirectionality directionality,
DoubleScalar.Abs<FrequencyUnit> capacity,
DoubleScalar.Abs<SpeedUnit> speedLimit) |
RoadMarkerAlong(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralCenterPosition,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth)
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the direction from
the StartNode towards the EndNode as the longitudinal direction.
|
Shoulder(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralPosition,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth) |
SinkLane(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> beginWidth,
LaneType<?> laneType,
LongitudinalDirectionality directionality,
DoubleScalar.Abs<SpeedUnit> speedLimit)
Construct a SinkLane.
|
SourceLane(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> beginWidth,
LaneType<?> laneType,
LongitudinalDirectionality directionality,
DoubleScalar.Abs<SpeedUnit> speedLimit)
Construct a GeneratorLane.
|
Stripe(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralCenterPosition,
DoubleScalar.Rel<LengthUnit> width)
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the
direction from the StartNode towards the EndNode as the longitudinal direction.
|
Stripe(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralCenterPosition,
DoubleScalar.Rel<LengthUnit> width,
Set<GTUType<?>> gtuTypes,
Stripe.Permeable permeable)
Helper constructor that immediately provides permeability for a number of GTU classes.
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the direction from the StartNode towards the EndNode as the longitudinal direction. |
Stripe(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralCenterPosition,
DoubleScalar.Rel<LengthUnit> width,
Stripe.Permeable permeable)
Helper constructor that immediately provides permeability for all GTU classes.
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the direction from the StartNode towards the EndNode as the longitudinal direction. |
| Modifier and Type | Method and Description |
|---|---|
void |
Route.addNode(int i,
Node<?,?> node)
Add a node at a specific location.
|
boolean |
Route.addNode(Node<?,?> node)
Add a node to the end of the node list.
|
Node<?,?> |
Route.destinationNode() |
Node<?,?> |
Route.getNode(int i)
Return a node at a specific location.
|
Node<?,?> |
Route.lastVisitedNode() |
Node<?,?> |
Route.nextNodeToVisit()
This method does not advance the route pointer.
|
Node<?,?> |
Route.originNode() |
Node<?,?> |
Route.removeNode(int i)
Remove a node from a specific location.
|
DoubleScalar.Rel<LengthUnit> |
Route.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<?,?> |
Route.visitNextNode()
This method does advance the route pointer (if possible).
|
| Constructor and Description |
|---|
ProbabilisticFixedRouteGenerator(SortedMap<RouteGenerator,Double> routeProbabilities)
Construct a new ProbabilisticFixedRouteGenerator using
System.currentTimeMillis() to seed the random
number generator. |
ProbabilisticFixedRouteGenerator(SortedMap<RouteGenerator,Double> routeProbabilities,
long seed)
Construct a new ProbabilisticFixedRouteGenerator.
|
| 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.