Package org.opentrafficsim.imb.kpi
Class RouteData
java.lang.Object
org.opentrafficsim.imb.kpi.RouteData
- All Implemented Interfaces:
Identifiable,RouteDataInterface
public class RouteData extends Object implements RouteDataInterface
Copyright (c) 2013-2020 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 13 okt. 2016
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description booleanequals(Object obj)NodeDatagetEndNode()StringgetId()StringgetRouteName()NodeDatagetStartNode()inthashCode()StringtoString()
-
Constructor Details
-
RouteData
- Parameters:
routeName- String; name of the routestartNode- NodeData; data of the start node of the routeendNode- NodeData; data of the end node of the route
-
-
Method Details
-
getRouteName
- Returns:
- routeName
-
getStartNode
- Returns:
- startNode
-
getEndNode
- Returns:
- endNode
-
getId
- Specified by:
getIdin interfaceIdentifiable- Specified by:
getIdin interfaceRouteDataInterface
-
hashCode
public int hashCode() -
equals
-
toString
-