Class RouteData

java.lang.Object
org.opentrafficsim.sim0mq.kpi.RouteData

public class RouteData extends Object

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

Author:
Alexander Verbraeck, Peter Knoppers, Wouter Schakel
  • Constructor Details

    • RouteData

      public RouteData(String routeName, String startNode, String endNode)
      Parameters:
      routeName - String; name of the route
      startNode - String; data of the start node of the route
      endNode - String; data of the end node of the route
  • Method Details

    • getRouteName

      public final String getRouteName()
      Returns:
      routeName
    • getStartNode

      public final String getStartNode()
      Returns:
      startNode
    • getEndNode

      public final String getEndNode()
      Returns:
      endNode
    • getId

      public String getId()
      Returns:
      id
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object