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.
- 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 ofParameters
.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 theHistorical
s.HistoryManagerDEVS History manager that uses anDEVSSimulatorInterface.TimeDoubleUnit
.NullHistorical<T> Simple implementation without history that can be used inside a generic context where also implementations with history can be used.