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