MATSIM
ch
sbb
matsim
routing
pt
raptor
RaptorInVehicleCostCalculator.java
Go to the documentation of this file.
1
/* *********************************************************************** *
2
* project: org.matsim.* *
3
*
4
* *
5
* *********************************************************************** *
6
* *
7
* copyright : (C) 2023 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
package
ch.sbb.matsim.routing.pt.raptor;
21
22
import
org
.
matsim
.
api
.
core
.
v01
.
population
.
Person
;
23
import
org
.
matsim
.
vehicles
.
Vehicle
;
24
28
public
interface
RaptorInVehicleCostCalculator
{
29
30
double
getInVehicleCost
(
double
inVehicleTime,
double
marginalUtility_utl_s,
Person
person,
Vehicle
vehicle,
RaptorParameters
paramters,
RouteSegmentIterator
iterator);
31
32
interface
RouteSegmentIterator
{
33
boolean
hasNext
();
34
void
next
();
35
double
getInVehicleTime
();
36
double
getPassengerCount
();
37
double
getTimeOfDay
();
38
}
39
40
}
ch.sbb.matsim.routing.pt.raptor.RaptorInVehicleCostCalculator.RouteSegmentIterator.getInVehicleTime
double getInVehicleTime()
ch.sbb.matsim.routing.pt.raptor.RaptorInVehicleCostCalculator.getInVehicleCost
double getInVehicleCost(double inVehicleTime, double marginalUtility_utl_s, Person person, Vehicle vehicle, RaptorParameters paramters, RouteSegmentIterator iterator)
org.matsim.api.core.v01.population
Definition:
Activity.java:21
ch.sbb.matsim.routing.pt.raptor.RaptorParameters
Definition:
RaptorParameters.java:31
org
ch.sbb.matsim.routing.pt.raptor.RaptorInVehicleCostCalculator.RouteSegmentIterator.next
void next()
ch.sbb.matsim.routing.pt.raptor.RaptorInVehicleCostCalculator.RouteSegmentIterator.getTimeOfDay
double getTimeOfDay()
ch.sbb.matsim.routing.pt.raptor.RaptorInVehicleCostCalculator.RouteSegmentIterator.getPassengerCount
double getPassengerCount()
org.matsim.api
ch.sbb.matsim.routing.pt.raptor.RaptorInVehicleCostCalculator
Definition:
RaptorInVehicleCostCalculator.java:28
org.matsim.vehicles.Vehicle
Definition:
Vehicle.java:28
org.matsim.vehicles
Definition:
CostInformation.java:19
org.matsim.api.core
ch.sbb.matsim.routing.pt.raptor.RaptorInVehicleCostCalculator.RouteSegmentIterator.hasNext
boolean hasNext()
org.matsim
org.matsim.api.core.v01.population.Person
Definition:
Person.java:28
org.matsim.api.core.v01
Definition:
BasicLocation.java:20
ch.sbb.matsim.routing.pt.raptor.RaptorInVehicleCostCalculator.RouteSegmentIterator
Definition:
RaptorInVehicleCostCalculator.java:32
Generated by
1.8.13