MATSIM
Route.java
Go to the documentation of this file.
1 /* *********************************************************************** *
2  * project: org.matsim.*
3  * *********************************************************************** *
4  * *
5  * copyright : (C) 2007 by the members listed in the COPYING, *
6  * LICENSE and WARRANTY file. *
7  * email : info at matsim dot org *
8  * *
9  * *********************************************************************** *
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * See also COPYING, LICENSE and WARRANTY file *
16  * *
17  * *********************************************************************** */
18 
19 package org.matsim.api.core.v01.population;
20 
21 import org.matsim.api.core.v01.Id;
25 
30 public interface Route extends MatsimPopulationObject {
31 
32  public double getDistance();
33 
34  public void setDistance(final double distance);
35 
36  public OptionalTime getTravelTime();
37 
38  public void setTravelTime(final double travelTime);
39 
40  public void setTravelTimeUndefined();
41 
42  public Id<Link> getStartLinkId();
43 
44  public Id<Link> getEndLinkId();
45 
46  public void setStartLinkId(final Id<Link> linkId);
47 
48  public void setEndLinkId(final Id<Link> linkId);
49 
53  public String getRouteDescription();
54 
60  public void setRouteDescription(final String routeDescription);
61 
65  public String getRouteType();
66 
80  public Route clone();
81 
82 }
void setDistance(final double distance)
void setStartLinkId(final Id< Link > linkId)
void setEndLinkId(final Id< Link > linkId)
void setRouteDescription(final String routeDescription)
void setTravelTime(final double travelTime)