CategoricalLanePerception.java

  1. package org.opentrafficsim.road.gtu.lane.perception;

  2. import org.opentrafficsim.road.gtu.lane.LaneBasedGtu;
  3. import org.opentrafficsim.road.gtu.lane.perception.mental.Mental;

  4. /**
  5.  * Standard perception completely based on connected perception categories.
  6.  * <p>
  7.  * Copyright (c) 2013-2023 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
  8.  * BSD-style license. See <a href="https://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>.
  9.  * </p>
  10.  * @author <a href="https://github.com/averbraeck">Alexander Verbraeck</a>
  11.  * @author <a href="https://tudelft.nl/staff/p.knoppers-1">Peter Knoppers</a>
  12.  * @author <a href="https://dittlab.tudelft.nl">Wouter Schakel</a>
  13.  */
  14. public class CategoricalLanePerception extends AbstractLanePerception
  15. {

  16.     /** */
  17.     private static final long serialVersionUID = 20160729L;

  18.     /**
  19.      * @param gtu LaneBasedGtu; GTU
  20.      */
  21.     public CategoricalLanePerception(final LaneBasedGtu gtu)
  22.     {
  23.         super(gtu);
  24.     }

  25.     /**
  26.      * @param gtu LaneBasedGtu; GTU
  27.      * @param mental Mental; Mental
  28.      */
  29.     public CategoricalLanePerception(final LaneBasedGtu gtu, final Mental mental)
  30.     {
  31.         super(gtu, mental);
  32.     }

  33.     /** {@inheritDoc} */
  34.     @Override
  35.     public final String toString()
  36.     {
  37.         return super.toString();
  38.     }

  39. }