Uses of Class
org.opentrafficsim.core.gtu.GtuException
-
Packages that use 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, OrientedPoint3d 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(OrientedPoint3d 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) -
Uses of GtuException in org.opentrafficsim.core.gtu.perception
Methods in org.opentrafficsim.core.gtu.perception that throw GtuException Modifier and Type Method Description TimeAbstractPerceptionCategory. getCurrentTime()Returns the current time.GPerception. getEgoGtu()Return the perceiving GTU.GAbstractPerceptionCategory. getGtu()Returns the connected GTU.voidAbstractPerception. perceive()Invoked by the GTU prior while determining an operational plan.voidPerception. perceive()Invoked by the GTU prior while determining an 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 a specific 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 a specific GTU.OperationalPlanTacticalPlanner. generateOperationalPlan(Time startTime, OrientedPoint3d locationAtStartTime)Generate an operational plan, for now or for in the future.
-