package org.opentrafficsim.kpi.interfaces; import org.opentrafficsim.base.Identifiable; /** * Represents a GTU for sampling. *

* Copyright (c) 2013-2021 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
* BSD-style license. See OpenTrafficSim License. *

* @version $Revision$, $LastChangedDate$, by $Author$, initial version 12 okt. 2016
* @author Alexander Verbraeck * @author Peter Knoppers * @author Wouter Schakel */ public interface GtuDataInterface extends Identifiable { /** * @return unique id of the gtu */ @Override String getId(); /** * @return origin node of the gtu */ NodeDataInterface getOriginNodeData(); /** * @return destination node of the gtu */ NodeDataInterface getDestinationNodeData(); /** * @return type of the gtu */ GtuTypeDataInterface getGtuTypeData(); /** * @return route of the gtu */ RouteDataInterface getRouteData(); }