Class RouteLinkFilter
- java.lang.Object
-
- org.matsim.contrib.analysis.filters.population.AbstractPlanFilter
-
- org.matsim.contrib.analysis.filters.population.RouteLinkFilter
-
- All Implemented Interfaces:
PlanFilter
,org.matsim.core.population.algorithms.PlanAlgorithm
,org.matsim.facilities.filters.Filter
public class RouteLinkFilter extends AbstractPlanFilter
-
-
Field Summary
-
Fields inherited from class org.matsim.contrib.analysis.filters.population.AbstractPlanFilter
nextAlgorithm
-
-
Constructor Summary
Constructors Constructor Description RouteLinkFilter(org.matsim.core.population.algorithms.PlanAlgorithm nextAlgo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addLink(org.matsim.api.core.v01.Id<org.matsim.api.core.v01.network.Link> linkId)
boolean
judge(org.matsim.api.core.v01.population.Plan plan)
Judges whether the plan will be selected or not.-
Methods inherited from class org.matsim.contrib.analysis.filters.population.AbstractPlanFilter
count, getCount, run
-
-
-
-
Constructor Detail
-
RouteLinkFilter
public RouteLinkFilter(org.matsim.core.population.algorithms.PlanAlgorithm nextAlgo)
-
-
Method Detail
-
addLink
public void addLink(org.matsim.api.core.v01.Id<org.matsim.api.core.v01.network.Link> linkId)
-
judge
public boolean judge(org.matsim.api.core.v01.population.Plan plan)
Description copied from interface:PlanFilter
Judges whether the plan will be selected or not.- Specified by:
judge
in interfacePlanFilter
- Specified by:
judge
in classAbstractPlanFilter
- Returns:
- true if the plan meets the criterion of the filter.
-
-