1 package org.opentrafficsim.road.gtu.lane.perception.mental; 2 3 import org.opentrafficsim.base.parameters.ParameterException; 4 import org.opentrafficsim.core.gtu.GTUException; 5 import org.opentrafficsim.road.gtu.lane.perception.LanePerception; 6 7 /** 8 * Interface for mental modules operating on perception. This is a first step of perception, where parameters both for the 9 * perception and tactical models can be set. 10 * <p> 11 * Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br> 12 * BSD-style license. See <a href="http://opentrafficsim.org/node/13">OpenTrafficSim License</a>. 13 * <p> 14 * @version $Revision$, $LastChangedDate$, by $Author$, initial version 3 apr. 2018 <br> 15 * @author <a href="http://www.tbm.tudelft.nl/averbraeck">Alexander Verbraeck</a> 16 * @author <a href="http://www.tudelft.nl/pknoppers">Peter Knoppers</a> 17 * @author <a href="http://www.transport.citg.tudelft.nl">Wouter Schakel</a> 18 */ 19 public interface Mental 20 { 21 22 /** 23 * Apply mental model on perception. 24 * @param perception LanePerception; perception 25 * @throws ParameterException if a parameter is missing or out of bounds 26 * @throws GTUException exceptions pertaining to the GTU 27 */ 28 void apply(LanePerception perception) throws ParameterException, GTUException; 29 30 }