MATSIM
GenericStrategyManager.java
Go to the documentation of this file.
1 package org.matsim.core.replanning;
2 
7 
8 import java.util.List;
9 
10 public interface GenericStrategyManager<PL extends BasicPlan, AG extends HasPlansAndId<? extends BasicPlan, AG>> extends MatsimManager{
11  void addStrategy(
13  String subpopulation,
14  double weight );
15  void run(
16  Iterable<? extends HasPlansAndId<PL, AG>> persons,
17  int iteration,
18  ReplanningContext replanningContext );
19  void setMaxPlansPerAgent( int maxPlansPerAgent );
20  void addChangeRequest(
21  int iteration,
23  String subpopulation,
24  double newWeight );
26  List<GenericPlanStrategy<PL, AG>> getStrategies( String subpopulation );
27  List<Double> getWeights( String subpopulation );
28 }
void setMaxPlansPerAgent(int maxPlansPerAgent)
void addChangeRequest(int iteration, GenericPlanStrategy< PL, AG > strategy, String subpopulation, double newWeight)
void setPlanSelectorForRemoval(PlanSelector< PL, AG > planSelector)
List< Double > getWeights(String subpopulation)
void run(Iterable<? extends HasPlansAndId< PL, AG >> persons, int iteration, ReplanningContext replanningContext)
void addStrategy(GenericPlanStrategy< PL, AG > strategy, String subpopulation, double weight)
List< GenericPlanStrategy< PL, AG > > getStrategies(String subpopulation)