View Javadoc
1   package org.opentrafficsim.kpi.interfaces;
2   
3   import org.djunits.value.vdouble.scalar.Speed;
4   import org.djutils.base.Identifiable;
5   
6   /**
7    * Represents a GTU for sampling.
8    * <p>
9    * Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
10   * BSD-style license. See <a href="https://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>.
11   * </p>
12   * @author <a href="https://github.com/averbraeck">Alexander Verbraeck</a>
13   * @author <a href="https://tudelft.nl/staff/p.knoppers-1">Peter Knoppers</a>
14   * @author <a href="https://github.com/wjschakel">Wouter Schakel</a>
15   */
16  public interface GtuData extends Identifiable
17  {
18  
19      /**
20       * Returns the origin id.
21       * @return origin id of the gtu
22       */
23      String getOriginId();
24  
25      /**
26       * Returns the destination id.
27       * @return destination id of the gtu
28       */
29      String getDestinationId();
30  
31      /**
32       * Returns the GTU type id.
33       * @return type id of the gtu
34       */
35      String getGtuTypeId();
36  
37      /**
38       * Returns the route id.
39       * @return route id of the gtu
40       */
41      String getRouteId();
42  
43      /**
44       * Returns the reference speed.
45       * @return reference speed
46       */
47      Speed getReferenceSpeed();
48  
49  }