MATSIM
core
replanning
selectors
KeepSelected.java
Go to the documentation of this file.
1
/* *********************************************************************** *
2
* project: org.matsim.*
3
* KeepSelected.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.replanning.selectors;
22
23
import
org
.
matsim
.
api
.
core
.
v01
.
population
.
BasicPlan
;
24
import
org
.
matsim
.
api
.
core
.
v01
.
population
.
HasPlansAndId
;
25
33
public
class
KeepSelected
<T
extends
BasicPlan
, I> implements
PlanSelector
<T, I> {
34
42
@Override
43
public
T
selectPlan
(
HasPlansAndId<T, I>
person) {
44
return
person.
getSelectedPlan
();
45
}
46
47
}
org.matsim.core.replanning.selectors.KeepSelected
Definition:
KeepSelected.java:33
org.matsim.api.core.v01.population
Definition:
Activity.java:21
org.matsim.api.core.v01.population.BasicPlan
Definition:
BasicPlan.java:24
org
org.matsim.api
org.matsim.api.core.v01.population.HasPlansAndId
Definition:
HasPlansAndId.java:29
org.matsim.api.core
org.matsim
org.matsim.core.replanning.selectors.PlanSelector
Definition:
PlanSelector.java:28
org.matsim.api.core.v01
Definition:
BasicLocation.java:20
org.matsim.core.replanning.selectors.KeepSelected.selectPlan
T selectPlan(HasPlansAndId< T, I > person)
Definition:
KeepSelected.java:43
org.matsim.api.core.v01.population.HasPlansAndId.getSelectedPlan
abstract T getSelectedPlan()
Generated by
1.8.13