Package org.opentrafficsim.core.gtu

GTU (Generalized Travel Unit) is the base class for cars, trains, pedestrians, etc.

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.
This software is provided by the copyright holders and contributors "as is" and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the copyright holder or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.
  • Interface Summary 
    Interface Description
    GTU
    Generalized Travel Unit.
    GTUErrorHandler
    GTU error handler.
    GtuGenerator
    Marker interface for all GTU generators.
    SpaceBasedGTU
    GTU that can travel in 2D or 3D space.
  • Class Summary 
    Class Description
    AbstractGTU
    Implements the basic functionalities of any GTU: the ability to move on 3D-space according to a plan.
    AbstractLinkBasedGTU
    Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
    GTUCharacteristics
    Characteristics of a GTU.
    GTUDumper
    GTUDUmper; create a text file with the locations, directions and speeds of all GTUs at regular intervals.
    GTUType
    A GTU type identifies the type of a GTU.
    NestedCache<T>
    Utility class to cache data based on a variable (between cache instances) number of keys of any type.
    Profile
    Utility class to profile code efficiency.
    RelativePosition
    A RelativePosition is a position on a GTU; e.g.
    RelativePosition.TYPE
    The type of relative position, e.g., Front, Back, etc.
    TemplateGTUType
    TemplateGTUType stores some of the information that is needed to generate a GTU.
  • Enum Summary 
    Enum Description
    GTUDirectionality
    Longitudinal driving directions for a GTU.
    GTUType.DEFAULTS
    Default types with their name.
    TurnIndicatorIntent
    Intent for turn indicator.
    TurnIndicatorStatus
    Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
  • Exception Summary 
    Exception Description
    GTUException
    Exception thrown when GTU encounters a problem.
    MoveCheckerException
    Exception to throw by move checks.