Uses of Class
org.opentrafficsim.core.gtu.GTUException
| Package | Description |
|---|---|
| org.opentrafficsim.core.compatibility |
Compatibility package.
|
| org.opentrafficsim.core.gtu |
GTU (Generalized Travel Unit) is the base class for cars, trains, pedestrians, etc.
|
| org.opentrafficsim.core.gtu.perception |
The perception module of a GTU is responsible for perceiving (sensing) the environment of the GTU, which includes the
locations of other GTUs.
|
| org.opentrafficsim.core.gtu.plan.strategical |
Strategical planners.
|
| org.opentrafficsim.core.gtu.plan.tactical |
Tactical planners generate operational plans that are in line with reaching the goals of the strategical plan.
|
-
Uses of GTUException in org.opentrafficsim.core.compatibility
Methods in org.opentrafficsim.core.compatibility that throw GTUException Modifier and Type Method Description voidGTUCompatibility. isCompatibleWith(Compatibility<GTUType,?> parentCompatibility, boolean tryParentsOfGTUType)Check if a GTUCompatibility does not allow things that the GTUCompatibility of a parent object disallows, e.g. -
Uses of GTUException in org.opentrafficsim.core.gtu
Methods in org.opentrafficsim.core.gtu that throw GTUException Modifier and Type Method Description voidAbstractGTU. addGtu(GTU gtu)Adds the provided GTU to this GTU, meaning it moves with this GTU.voidGTU. addGtu(GTU gtu)Adds the provided GTU to this GTU, meaning it moves with this GTU.static GTUCharacteristicsGTUType. defaultCharacteristics(GTUType gtuType, Network network, StreamInterface randomStream)Returns default characteristics for given GTUType.voidAbstractGTU. init(StrategicalPlanner strategicalPlanner, DirectedPoint initialLocation, Speed initialSpeed)Initialize the GTU at a location and speed, and give it a mission to fulfill through the strategical planner.protected voidAbstractGTU. interruptMove()Interrupt the move and ask for a new plan.protected booleanAbstractGTU. move(DirectedPoint fromLocation)Move from the current location according to an operational plan to a location that will bring us nearer to reaching the location provided by the strategical planner.voidAbstractGTU. setParent(GTU gtu)Set the parent GTU.voidGTU. setParent(GTU gtu)Set the parent GTU.Constructors in org.opentrafficsim.core.gtu that throw GTUException Constructor Description AbstractGTU(String id, GTUType gtuType, OTSSimulatorInterface simulator, PerceivableContext perceivableContext)AbstractGTU(IdGenerator idGenerator, GTUType gtuType, OTSSimulatorInterface simulator, PerceivableContext perceivableContext)AbstractLinkBasedGTU(String id, GTUType gtuType, OTSSimulatorInterface simulator, OTSNetwork network) -
Uses of GTUException in org.opentrafficsim.core.gtu.perception
Methods in org.opentrafficsim.core.gtu.perception that throw GTUException Modifier and Type Method Description GAbstractPerceptionCategory. getGtu()Returns the connected GTU.GPerception. getGtu()Return the GTU of this perception.TimeAbstractPerceptionCategory. getTimestamp()Returns the current time.voidAbstractPerception. perceive()Invoked by the GTU prior to determining the operational plan.voidPerception. perceive()Invoked by the GTU prior to determining the operational plan.voidDirectEgoPerception. updateAcceleration()Update acceleration.voidEgoPerception. updateAcceleration()Update acceleration.default voidEgoPerception. updateAll()Update all information in the perception category.voidPerceptionCategory. updateAll()Update all information in the perception category.voidDirectEgoPerception. updateLength()Update length.voidEgoPerception. updateLength()Update length.voidDirectEgoPerception. updateSpeed()Update speed.voidEgoPerception. updateSpeed()Update speed.voidDirectEgoPerception. updateWidth()Update width.voidEgoPerception. updateWidth()Update width. -
Uses of GTUException in org.opentrafficsim.core.gtu.plan.strategical
Methods in org.opentrafficsim.core.gtu.plan.strategical that throw GTUException Modifier and Type Method Description TStrategicalPlannerFactory. create(GTU gtu)Creates a new strategical planner for the given GTU. -
Uses of GTUException in org.opentrafficsim.core.gtu.plan.tactical
Methods in org.opentrafficsim.core.gtu.plan.tactical that throw GTUException Modifier and Type Method Description TTacticalPlannerFactory. create(GTU gtu)Creates a new tactical planner for the given GTU.OperationalPlanTacticalPlanner. generateOperationalPlan(Time startTime, DirectedPoint locationAtStartTime)generate an operational plan, for now or for in the future.