Package org.opentrafficsim.road.gtu.lane
The lane-based GTUs are the Generalized Travel Units that travel in lanes, and need to switch lanes to overtake. The GTUs
have a model that determines acceleration and initial speed for the next time step. They also have a lane changing model that
indicates when to change lanes and how long it takes to change lanes. The lateral position of the reference point of the GTU
relative to the center line of the lanes in which the vehicle is registered can be determined that way.
Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
See for project information www.opentrafficsim.org.
The OpenTrafficSim project is distributed under the following BSD-style license:
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name of Delft University of Technology, nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
-
Interface Summary Interface Description LaneBasedGTU This interface defines a lane based GTU.VehicleModel Interface for vehicle models.VehicleModelFactory Factory for vehicle models. -
Class Summary Class Description AbstractLaneBasedGTU This class contains most of the code that is needed to run a lane based GTU.AbstractLaneBasedGTU2 This class contains most of the code that is needed to run a lane based GTU.AbstractLaneBasedIndividualGTU Specific type of LaneBasedGTU.AbstractLaneBasedMoveChecker Abstract class that listens to move events of GTUs so checks can be performed.AccelerationChecker Checks acceleration bounds.Break Utility to make debugging on a specific GTU more convenient.CollisionDetector Checks for collisions.LaneBasedIndividualGTU Augments the AbstractLaneBasedIndividualGTU with a LaneBasedIndividualCarBuilder and animation supportLaneBasedIndividualGTU.LaneBasedIndividualCarBuilder Build an individual car and use easy setter methods to instantiate the car.MultiLaneBasedMoveChecker Checker that invokes multiple checkers.VehicleModel.MassBased Defines (fixed) mass and moment of inertia about z-axis. -
Exception Summary Exception Description CollisionException Throw when a collision is detected.