Class SelectedPlanFilter
- java.lang.Object
-
- org.matsim.contrib.analysis.filters.population.AbstractPersonFilter
-
- org.matsim.contrib.analysis.filters.population.SelectedPlanFilter
-
- All Implemented Interfaces:
PersonFilter
,org.matsim.core.population.algorithms.PersonAlgorithm
,org.matsim.facilities.filters.Filter
public class SelectedPlanFilter extends AbstractPersonFilter
-
-
Field Summary
-
Fields inherited from class org.matsim.contrib.analysis.filters.population.AbstractPersonFilter
nextAlgorithm
-
-
Constructor Summary
Constructors Constructor Description SelectedPlanFilter(org.matsim.core.population.algorithms.PlanAlgorithm nextAlgo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
judge(org.matsim.api.core.v01.population.Person person)
judges whether the Person will be selected or notvoid
run(org.matsim.api.core.v01.population.Person person)
sends the person to the next PersonAlgorithm, which could be another filter.-
Methods inherited from class org.matsim.contrib.analysis.filters.population.AbstractPersonFilter
count, getCount, run
-
-
-
-
Constructor Detail
-
SelectedPlanFilter
public SelectedPlanFilter(org.matsim.core.population.algorithms.PlanAlgorithm nextAlgo)
-
-
Method Detail
-
judge
public boolean judge(org.matsim.api.core.v01.population.Person person)
Description copied from interface:PersonFilter
judges whether the Person will be selected or not- Specified by:
judge
in interfacePersonFilter
- Specified by:
judge
in classAbstractPersonFilter
- Parameters:
person
- person being judged- Returns:
- true if the Person meets the criterion of the filter
-
run
public void run(org.matsim.api.core.v01.population.Person person)
Description copied from interface:PersonFilter
sends the person to the next PersonAlgorithm, which could be another filter.- Specified by:
run
in interfaceorg.matsim.core.population.algorithms.PersonAlgorithm
- Specified by:
run
in interfacePersonFilter
- Overrides:
run
in classAbstractPersonFilter
- Parameters:
person
- person to be handled
-
-