Package org.opentrafficsim.core.perception
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-2024 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
-
ClassDescriptionAbstractHistorical<T,
E extends AbstractHistorical.Event> Base class for objects or properties that can be perceived from their actual state in the past.Interface for event types.Standard event which stores a time and value.Historical<T>Interface for single valued historicals.Historical representation ofParameters
.Parameter event, which will restore the previous value.Value for a parameter event, which contains a parameter type and (the previous) value.Single-valued historical state.History manager with automatic garbage collection by the java garbage collector using weak references to theHistorical
s.Historical view for the history manager.History manager that uses anOtsSimulatorInterface
.Simple implementation without history that can be used inside a generic context where also implementations with history can be used.The Model package guarantees that objects that are used in an OTS study such as GTUs are retrievable.Information about a perceived object, which can be a GTU, a road sign, a traffic light, or an obstacle.