public abstract class AbstractLaneBasedIndividualGTU extends AbstractLaneBasedGTU
 Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. 
 BSD-style license. See OpenTrafficSim License.
 
| Constructor and Description | 
|---|
AbstractLaneBasedIndividualGTU(String id,
                              org.opentrafficsim.core.gtu.GTUType gtuType,
                              Set<DirectedLanePosition> initialLongitudinalPositions,
                              org.djunits.value.vdouble.scalar.Speed initialSpeed,
                              org.djunits.value.vdouble.scalar.Length.Rel length,
                              org.djunits.value.vdouble.scalar.Length.Rel width,
                              org.djunits.value.vdouble.scalar.Speed maximumVelocity,
                              org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
                              LaneBasedStrategicalPlanner strategicalPlanner,
                              LanePerceptionFull perception,
                              org.opentrafficsim.core.network.OTSNetwork network)
Construct a new AbstractLaneBasedIndividualGTU. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
org.djunits.value.vdouble.scalar.Length.Rel | 
getLength() | 
org.djunits.value.vdouble.scalar.Speed | 
getMaximumVelocity() | 
org.djunits.value.vdouble.scalar.Length.Rel | 
getWidth() | 
addTrigger, destroy, enterLane, fractionalPosition, fractionalPosition, fractionalPositions, fractionalPositions, getBehavioralCharacteristics, getBounds, getLanes, getPerception, getStrategicalPlanner, leaveLane, leaveLane, move, position, position, positions, positions, projectedPosition, toStringgetAcceleration, getAcceleration, getGTUType, getId, getLocation, getMaximumAcceleration, getMaximumDeceleration, getOdometer, getOperationalPlan, getPerceivableContext, getReference, getSimulator, getTacticalPlanner, getTurnIndicatorStatus, getVelocity, getVelocity, interruptMove, isDestroyed, setMaximumAcceleration, setMaximumDeceleration, setTurnIndicatorStatusclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAcceleration, getAcceleration, getFront, getGTUType, getId, getLocation, getMaximumAcceleration, getMaximumDeceleration, getOdometer, getOperationalPlan, getRear, getReference, getRelativePositions, getSimulator, getTacticalPlanner, getTurnIndicatorStatus, getVelocity, getVelocity, setTurnIndicatorStatuspublic AbstractLaneBasedIndividualGTU(String id, org.opentrafficsim.core.gtu.GTUType gtuType, Set<DirectedLanePosition> initialLongitudinalPositions, org.djunits.value.vdouble.scalar.Speed initialSpeed, org.djunits.value.vdouble.scalar.Length.Rel length, org.djunits.value.vdouble.scalar.Length.Rel width, org.djunits.value.vdouble.scalar.Speed maximumVelocity, org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator, LaneBasedStrategicalPlanner strategicalPlanner, LanePerceptionFull perception, org.opentrafficsim.core.network.OTSNetwork network) throws org.opentrafficsim.core.network.NetworkException, nl.tudelft.simulation.dsol.SimRuntimeException, org.opentrafficsim.core.gtu.GTUException, org.opentrafficsim.core.geometry.OTSGeometryException
id - the id of the GTUgtuType - the type of GTU, e.g. TruckType, CarType, BusTypeinitialLongitudinalPositions - the initial positions of the car on one or more lanesinitialSpeed - the initial speed of the car on the lanelength - the maximum length of the GTU (parallel with driving direction)width - the maximum width of the GTU (perpendicular to driving direction)maximumVelocity - the maximum speed of the GTU (in the driving direction)simulator - the simulatorstrategicalPlanner - the strategical planner (e.g., route determination) to useperception - the lane-based perception model of the GTUnetwork - the network that the GTU is initially registered inorg.opentrafficsim.core.network.NetworkException - when the GTU cannot be placed on the given lanenl.tudelft.simulation.dsol.SimRuntimeException - when the move method cannot be scheduledorg.opentrafficsim.core.gtu.GTUException - when a parameter is invalidorg.opentrafficsim.core.geometry.OTSGeometryException - when the initial path is wrongCopyright © 2014–2016 Delft University of Technology. All rights reserved.