MATSIM
core
router
util
TravelDisutility.java
Go to the documentation of this file.
1
/* *********************************************************************** *
2
* project: org.matsim.*
3
* TravelCost.java
4
* *
5
* *********************************************************************** *
6
* *
7
* copyright : (C) 2007 by the members listed in the COPYING, *
8
* LICENSE and WARRANTY file. *
9
* email : info at matsim dot org *
10
* *
11
* *********************************************************************** *
12
* *
13
* This program is free software; you can redistribute it and/or modify *
14
* it under the terms of the GNU General Public License as published by *
15
* the Free Software Foundation; either version 2 of the License, or *
16
* (at your option) any later version. *
17
* See also COPYING, LICENSE and WARRANTY file *
18
* *
19
* *********************************************************************** */
20
21
package
org.matsim.core.router.util;
22
23
import
org
.
matsim
.
api
.
core
.
v01
.
network
.
Link
;
24
import
org
.
matsim
.
api
.
core
.
v01
.
population
.
Person
;
25
import
org
.
matsim
.
vehicles
.
Vehicle
;
26
40
public
interface
TravelDisutility
{
41
51
public
double
getLinkTravelDisutility
(
final
Link
link,
final
double
time,
final
Person
person,
final
Vehicle
vehicle);
52
// There was some thought of replacing the "link" argument (resulting in a link travel time lookup) by a "linkTtime" argument (since
53
// the link travel time is known in the router anyways.
54
// I have at least one argument why this will not carry through in an easy way: We also need the link argument for toll, and other
55
// people may want to look up other link attributes and include them into their router, such as slope or road type.
56
// kai, oct'13
57
62
public
double
getLinkMinimumTravelDisutility
(
final
Link
link);
63
64
}
org.matsim.api.core.v01.network
Definition:
Link.java:20
org.matsim.core.router.util.TravelDisutility
Definition:
TravelDisutility.java:40
org.matsim.api.core.v01.population
Definition:
Activity.java:21
org
org.matsim.api
org.matsim.vehicles.Vehicle
Definition:
Vehicle.java:28
org.matsim.core.router.util.TravelDisutility.getLinkTravelDisutility
double getLinkTravelDisutility(final Link link, final double time, final Person person, final Vehicle vehicle)
org.matsim.vehicles
Definition:
CostInformation.java:19
org.matsim.api.core
org.matsim.core.router.util.TravelDisutility.getLinkMinimumTravelDisutility
double getLinkMinimumTravelDisutility(final Link link)
org.matsim
org.matsim.api.core.v01.network.Link
Definition:
Link.java:34
org.matsim.api.core.v01.population.Person
Definition:
Person.java:28
org.matsim.api.core.v01
Definition:
BasicLocation.java:20
Generated by
1.8.13