package org.opentrafficsim.road.gtu.lane.perception;
import org.opentrafficsim.base.parameters.ParameterException;
import org.opentrafficsim.core.gtu.GtuException;
import org.opentrafficsim.core.gtu.perception.Perception;
import org.opentrafficsim.road.gtu.lane.InternalLaneBasedGtu;
import org.opentrafficsim.road.gtu.lane.perception.mental.Mental;
/**
* Interface for perception in a lane-based model. The following information can be perceived:
*
* Copyright (c) 2013-2021 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 Jan 30, 2016
* @author Alexander Verbraeck
* @author Peter Knoppers
* @author Wouter Schakel
*/
public interface LanePerception extends Perception
{
/** {@inheritDoc} */
@Override
InternalLaneBasedGtu getEgoGtu() throws GtuException;
/**
* @return lane structure to perform perception
* @throws ParameterException if parameter is not defined
*/
LaneStructure getLaneStructure() throws ParameterException;
/**
* Returns the mental module of perception.
* @return Mental; mental module of perception, may be {@code null} if not used
*/
Mental getMental();
}