View Javadoc
1   package org.opentrafficsim.kpi.interfaces;
2   
3   import org.opentrafficsim.base.Identifiable;
4   
5   /**
6    * <p>
7    * Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
8    * BSD-style license. See <a href="http://opentrafficsim.org/node/13">OpenTrafficSim License</a>.
9    * <p>
10   * @version $Revision$, $LastChangedDate$, by $Author$, initial version 12 okt. 2016 <br>
11   * @author <a href="http://www.tbm.tudelft.nl/averbraeck">Alexander Verbraeck</a>
12   * @author <a href="http://www.tudelft.nl/pknoppers">Peter Knoppers</a>
13   * @author <a href="http://www.transport.citg.tudelft.nl">Wouter Schakel</a>
14   */
15  public interface GtuDataInterface extends Identifiable
16  {
17  
18      /**
19       * @return unique id of the gtu
20       */
21      @Override
22      String getId();
23  
24      /**
25       * @return origin node of the gtu
26       */
27      NodeDataInterface getOriginNodeData();
28  
29      /**
30       * @return destination node of the gtu
31       */
32      NodeDataInterface getDestinationNodeData();
33  
34      /**
35       * @return type of the gtu
36       */
37      GtuTypeDataInterface getGtuTypeData();
38  
39      /**
40       * @return route of the gtu
41       */
42      RouteDataInterface getRouteData();
43  
44  }