View Javadoc
1   package org.opentrafficsim.kpi.interfaces;
2   
3   import org.opentrafficsim.base.Identifiable;
4   
5   /**
6    * Represents a GTU for sampling.
7    * <p>
8    * Copyright (c) 2013-2020 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 GtuDataInterface extends Identifiable
17  {
18  
19      /**
20       * @return unique id of the gtu
21       */
22      @Override
23      String getId();
24  
25      /**
26       * @return origin node of the gtu
27       */
28      NodeDataInterface getOriginNodeData();
29  
30      /**
31       * @return destination node of the gtu
32       */
33      NodeDataInterface getDestinationNodeData();
34  
35      /**
36       * @return type of the gtu
37       */
38      GtuTypeDataInterface getGtuTypeData();
39  
40      /**
41       * @return route of the gtu
42       */
43      RouteDataInterface getRouteData();
44  
45  }