Tabnine Logo
ExperiencedPlansModule
Code IndexAdd Tabnine to your IDE (free)

How to use
ExperiencedPlansModule
in
org.matsim.core.scoring

Best Java code snippets using org.matsim.core.scoring.ExperiencedPlansModule (Showing top 6 results out of 315)

origin: matsim-org/matsim

public static EventsToScore createWithScoreUpdating(final Scenario scenario, final ScoringFunctionFactory scoringFunctionFactory, final EventsManager eventsManager) {
  com.google.inject.Injector injector = Injector.createInjector(scenario.getConfig(),
      new ScenarioByInstanceModule(scenario),
      new ExperiencedPlansModule(),
      new AbstractModule() {
        @Override
        public void install() {
          bind(ScoringFunctionsForPopulation.class).asEagerSingleton();
          bind(ScoringFunctionFactory.class).toInstance(scoringFunctionFactory);
          bind(NewScoreAssigner.class).to(NewScoreAssignerImpl.class).asEagerSingleton();
          bind(EventsToScore.class).asEagerSingleton();
          bind(ControlerListenerManagerImpl.class).asEagerSingleton();
          bind(ControlerListenerManager.class).to(ControlerListenerManagerImpl.class);
          bind(EventsManager.class).toInstance(eventsManager);
          bind(EventsManagerModule.EventHandlerRegistrator.class).asEagerSingleton();
        }
      });
  return injector.getInstance(EventsToScore.class);
}
origin: matsim-org/matsim

  @Override
  public void install() {
    install(new ExperiencedPlanElementsModule());
    bind(ExperiencedPlansService.class).to(ExperiencedPlansServiceImpl.class).asEagerSingleton();
  }
}
origin: matsim-org/matsim

public static EventsToScore createWithoutScoreUpdating(Scenario scenario, final ScoringFunctionFactory scoringFunctionFactory, final EventsManager eventsManager) {
  com.google.inject.Injector injector = Injector.createInjector(scenario.getConfig(),
      new ScenarioByInstanceModule(scenario),
      new ExperiencedPlansModule(),
      new AbstractModule() {
        @Override
        public void install() {
          bind(ScoringFunctionsForPopulation.class).asEagerSingleton();
          bind(ScoringFunctionFactory.class).toInstance(scoringFunctionFactory);
          bind(NewScoreAssigner.class).to(NoopNewScoreAssignerImpl.class).asEagerSingleton();
          bind(EventsToScore.class).asEagerSingleton();
          bind(ControlerListenerManagerImpl.class).asEagerSingleton();
          bind(ControlerListenerManager.class).to(ControlerListenerManagerImpl.class);
          bind(EventsManager.class).toInstance(eventsManager);
          bind(EventsManagerModule.EventHandlerRegistrator.class).asEagerSingleton();
        }
      });
  return injector.getInstance(EventsToScore.class);
}
origin: matsim-org/matsim

  @Override
  public void install() {
    install(new EventsManagerModule());
    install(new DefaultMobsimModule());
    // install(new TravelTimeCalculatorModule());
    install(new TravelDisutilityModule());
    install(new CharyparNagelScoringFunctionModule());
    install(new ExperiencedPlansModule());
    install(new TripRouterModule());
    install(new StrategyManagerModule());
    // install(new LinkStatsModule());
    // install(new VolumesAnalyzerModule());
    // install(new LegHistogramModule());
    // install(new LegTimesModule());
    // install(new TravelDistanceStatsModule());
    // install(new ScoreStatsModule());
    // install(new CountsModule());
    // install(new PtCountsModule());
    // install(new VspPlansCleanerModule());
    // install(new SnapshotWritersModule());
  }
}
origin: matsim-org/matsim

  @Override
  public void install() {
    install(new ScenarioByInstanceModule(scenario));
    install(new NewControlerModule());
    install(new ControlerDefaultCoreListenersModule());
    install(new ExperiencedPlanElementsModule());
    install(new ExperiencedPlansModule());
    install(new DefaultMobsimModule());
    install(new EventsManagerModule());
    install(new StrategyManagerModule());
    install(new CharyparNagelScoringFunctionModule());
    install(new TripRouterModule());
    install(new TravelTimeCalculatorModule());
    install(new TravelDisutilityModule());
    bind( PrepareForSim.class ).to( PrepareForSimImpl.class ) ;
    bind( PrepareForMobsim.class ).to( PrepareForMobsimImpl.class ) ;
  }
});
origin: matsim-org/matsim

install(new ExperiencedPlansModule());
install(new LinkStatsModule());
install(new VolumesAnalyzerModule());
org.matsim.core.scoringExperiencedPlansModule

Most used methods

  • <init>
  • bind
  • install

Popular in Java

  • Start an intent from android
  • compareTo (BigDecimal)
  • scheduleAtFixedRate (Timer)
  • onCreateOptionsMenu (Activity)
  • Kernel (java.awt.image)
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Runner (org.openjdk.jmh.runner)
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now