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-2023 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br> 9 * BSD-style license. See <a href="https://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>. 10 * </p> 11 * @author <a href="https://github.com/averbraeck">Alexander Verbraeck</a> 12 * @author <a href="https://tudelft.nl/staff/p.knoppers-1">Peter Knoppers</a> 13 * @author <a href="https://dittlab.tudelft.nl">Wouter Schakel</a> 14 */ 15 public interface GtuData extends Identifiable 16 { 17 18 /** 19 * Returns the origin id. 20 * @return origin id of the gtu 21 */ 22 String getOriginId(); 23 24 /** 25 * Returns the destination id. 26 * @return destination id of the gtu 27 */ 28 String getDestinationId(); 29 30 /** 31 * Returns the GTU type id. 32 * @return type id of the gtu 33 */ 34 String getGtuId(); 35 36 /** 37 * Returns the route id. 38 * @return route id of the gtu 39 */ 40 String getRouteId(); 41 42 }