View Javadoc
1   package org.opentrafficsim.road.gtu.lane.perception;
2   
3   import org.opentrafficsim.road.gtu.lane.LaneBasedGtu;
4   import org.opentrafficsim.road.gtu.lane.tactical.ModelComponentFactory;
5   
6   /**
7    * Interface for perception initialization.
8    * <p>
9    * Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
10   * BSD-style license. See <a href="https://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>.
11   * </p>
12   * @author <a href="https://github.com/averbraeck">Alexander Verbraeck</a>
13   * @author <a href="https://tudelft.nl/staff/p.knoppers-1">Peter Knoppers</a>
14   * @author <a href="https://github.com/wjschakel">Wouter Schakel</a>
15   */
16  public interface PerceptionFactory extends ModelComponentFactory
17  {
18  
19      /**
20       * Generate perception.
21       * @param gtu LaneBasedGtu; GTU
22       * @return perception
23       */
24      LanePerception generatePerception(LaneBasedGtu gtu);
25  
26  }