View Javadoc
1   package org.opentrafficsim.kpi.interfaces;
2   
3   import org.djunits.value.vdouble.scalar.Length;
4   import org.opentrafficsim.base.Identifiable;
5   
6   /**
7    * <p>
8    * Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
9    * BSD-style license. See <a href="http://opentrafficsim.org/node/13">OpenTrafficSim License</a>.
10   * <p>
11   * @version $Revision$, $LastChangedDate$, by $Author$, initial version 12 okt. 2016 <br>
12   * @author <a href="http://www.tbm.tudelft.nl/averbraeck">Alexander Verbraeck</a>
13   * @author <a href="http://www.tudelft.nl/pknoppers">Peter Knoppers</a>
14   * @author <a href="http://www.transport.citg.tudelft.nl">Wouter Schakel</a>
15   */
16  public interface LaneDataInterface extends Identifiable
17  {
18  
19      /**
20       * @return length of the lane
21       */
22      Length getLength();
23  
24      /**
25       * @return parent link of the lane
26       */
27      LinkDataInterface getLinkData();
28  
29      /**
30       * @return lane id
31       */
32      @Override
33      String getId();
34  
35  }