@Inject public InternalizingPlansScoring( final InternalizationSettings ratio, final Scenario sc, final EventsManager events, final ScoringFunctionFactory scoringFunctionFactory) { this.ratioCalculator = ratio; this.sc = sc ; this.events = events ; this.eventsToScore = EventsToScore.createWithScoreUpdating(this.sc, scoringFunctionFactory, events); }
EventsToScore.createWithScoreUpdating( scenario, new CharyparNagelScoringFunctionFactory(
EventsToScore e2s = EventsToScore.createWithScoreUpdating(scenario, sfFactory, events);
scenario.getConfig().planCalcScore().addActivityParams(h); scenario.getConfig().planCalcScore().addActivityParams(w); EventsToScore scorer = EventsToScore.createWithScoreUpdating(scenario, new CharyparNagelScoringFunctionFactory(scenario), events); EventsCollector handler = new EventsCollector(); events.addHandler(handler);