Interface PerceptionCategory<G extends GTU,P extends Perception<G>>
-
- Type Parameters:
G- GTU typeP- perception type
- All Known Subinterfaces:
EgoPerception<G,P>
- All Known Implementing Classes:
AbstractPerceptionCategory,DirectEgoPerception
public interface PerceptionCategory<G extends GTU,P extends Perception<G>>Super interface for all perception categories.Copyright (c) 2013-2022 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version 13 feb. 2017
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidupdateAll()Update all information in the perception category.
-
-
-
Method Detail
-
updateAll
void updateAll() throws GTUException, NetworkException, ParameterExceptionUpdate all information in the perception category.- Throws:
GTUException- if the GTU was not initializedNetworkException- when lanes are not properly linkedParameterException- when a necessary parameter to carry our perception is not defined (e.g., LOOKAHEAD)
-
-