Package org.matsim.facilities.filters
Interface FacilityFilter
-
- All Superinterfaces:
FacilityAlgorithm
,Filter
- All Known Implementing Classes:
AbstractFacilityFilter
,FacilitiesActTypeFilter
public interface FacilityFilter extends FacilityAlgorithm, Filter
- Author:
- meisterk
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
judge(ActivityFacility facility)
Judges whether the facility will be selected or not.void
run(ActivityFacility facility)
Sends the facility to the next algorithm
-
-
-
Method Detail
-
judge
boolean judge(ActivityFacility facility)
Judges whether the facility will be selected or not.- Parameters:
facility
-- Returns:
- true if the facility meets the criterion of the filter.
-
run
void run(ActivityFacility facility)
Sends the facility to the next algorithm- Specified by:
run
in interfaceFacilityAlgorithm
- Parameters:
facility
-
-
-