MATSIM
ch
sbb
matsim
routing
pt
raptor
DefaultRaptorParametersForPerson.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
.
core
.
config
.
Config
;
24
25
import
jakarta.inject.Inject;
26
33
public
class
DefaultRaptorParametersForPerson
implements
RaptorParametersForPerson
{
34
35
private
final
RaptorParameters
defaultParameters
;
36
37
@Inject
38
public
DefaultRaptorParametersForPerson
(
Config
config) {
39
this.defaultParameters =
RaptorUtils
.
createParameters
(config);
40
}
41
42
@Override
43
public
RaptorParameters
getRaptorParameters
(
Person
person) {
44
return
this.
defaultParameters
;
45
}
46
}
ch.sbb.matsim.routing.pt.raptor.RaptorUtils
Definition:
RaptorUtils.java:50
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.DefaultRaptorParametersForPerson.getRaptorParameters
RaptorParameters getRaptorParameters(Person person)
Definition:
DefaultRaptorParametersForPerson.java:43
org.matsim.core.config.Config
Definition:
Config.java:73
org.matsim.core.config
Definition:
CommandLine.java:22
ch.sbb.matsim.routing.pt.raptor.DefaultRaptorParametersForPerson
Definition:
DefaultRaptorParametersForPerson.java:33
ch.sbb.matsim.routing.pt.raptor.RaptorUtils.createParameters
static RaptorParameters createParameters(Config config)
Definition:
RaptorUtils.java:103
ch.sbb.matsim.routing.pt.raptor.DefaultRaptorParametersForPerson.DefaultRaptorParametersForPerson
DefaultRaptorParametersForPerson(Config config)
Definition:
DefaultRaptorParametersForPerson.java:38
org.matsim.api
org.matsim.core
org.matsim.api.core
ch.sbb.matsim.routing.pt.raptor.DefaultRaptorParametersForPerson.defaultParameters
final RaptorParameters defaultParameters
Definition:
DefaultRaptorParametersForPerson.java:35
ch.sbb.matsim.routing.pt.raptor.RaptorParametersForPerson
Definition:
RaptorParametersForPerson.java:27
org.matsim
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