Package org.opentrafficsim.core.perception

The perception package takes care of registering perceivable objects that are used in an OTS study. In a spatial model, for instance, objects need to be able to find each other. Objects, or states of objects, may be required in the past. For instance to implement a reaction time. For this the perception package contains historical facilities.

Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

$LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $, initial version Dec 22, 2015
Author:
Alexander Verbraeck, Peter Knoppers
  • Interface Summary 
    Interface Description
    Historical<T>
    Interface for single valued historicals.
    HistoryManager.HistoricalElement
    Historical view for the history manager.
    PerceivableContext
    The Model package guarantees that objects that are used in an OTS study such as GTUs are retrievable.
    PerceivedObject
    Information about a perceived object, which can be a GTU, a road sign, a traffic light, or an obstacle.
    PerceivedObject2D
    Information about a perceived object, which can be a GTU, a road sign, a traffic light, or an obstacle.
    PerceivedObject3D
    Information about a perceived object, which can be a GTU, a road sign, a traffic light, or an obstacle.
  • Class Summary 
    Class Description
    AbstractHistorical<T,​E extends org.opentrafficsim.core.perception.AbstractHistorical.Event>
    Base class for objects or properties that can be perceived from their actual state in the past.
    AbstractHistorical.EventValue<T>
    Standard event which stores a time and value.
    HistoricalParameters
    Historical representation of Parameters.
    HistoricalParameters.ParameterEvent
    Parameter event, which will restore the previous value.
    HistoricalParameters.ParameterValueSet
    Value for a parameter event, which contains a parameter type and (the previous) value.
    HistoricalValue<T>
    Single-valued historical state.
    HistoryManager
    History manager with automatic garbage collection by the java garbage collector using weak references to the Historicals.
    HistoryManagerDEVS
    History manager that uses an DEVSSimulatorInterface.TimeDoubleUnit.
    NullHistorical<T>
    Simple implementation without history that can be used inside a generic context where also implementations with history can be used.