|
MATSIM
|
Classes | |
| class | MyWithinDayMobsimListener |
| class | RunWithinDayReplanningFromPlansExample |
Functions | |
| static List< MobsimAgent > | getAgentsToReplan (Netsim mobsim) |
| boolean | doReplanning (MobsimAgent agent, Netsim mobsim) |
Definition: Withinday replanning means that agents can replan while they are on their way, technically while the mobsim is running.
At this point, there are at least two approaches:
In the end, each approach will be able to emulate the other one, so it may come down to a matter of taste.
This package contains the first variant. The other one is described in another tutorial package.
This package contains (as of dec'10):
Please address yourself to Christoph Dobler for support.
|
staticprivate |
Definition at line 92 of file MyWithinDayMobsimListener.java.
References org.matsim.core.mobsim.qsim.interfaces.NetsimNetwork.getNetsimLinks(), org.matsim.core.mobsim.qsim.interfaces.Netsim.getNetsimNetwork(), org.matsim.core.mobsim.qsim.interfaces.Netsim.getSimTimer(), and org.matsim.core.mobsim.framework.MobsimTimer.getTimeOfDay().

|
private |
Definition at line 117 of file MyWithinDayMobsimListener.java.
References org.matsim.api.core.v01.TransportMode.car, org.matsim.api.core.v01.population.PopulationFactory.createActivityFromLinkId(), org.matsim.core.mobsim.qsim.agents.WithinDayAgentUtils.getCurrentPlanElement(), org.matsim.core.mobsim.qsim.agents.WithinDayAgentUtils.getCurrentPlanElementIndex(), org.matsim.core.mobsim.qsim.agents.WithinDayAgentUtils.getCurrentRouteLinkIdIndex(), org.matsim.api.core.v01.population.Route.getEndLinkId(), org.matsim.api.core.v01.population.Population.getFactory(), org.matsim.core.mobsim.qsim.agents.WithinDayAgentUtils.getModifiablePlan(), org.matsim.api.core.v01.population.Plan.getPlanElements(), org.matsim.api.core.v01.Scenario.getPopulation(), org.matsim.api.core.v01.population.Leg.getRoute(), org.matsim.core.mobsim.qsim.interfaces.Netsim.getScenario(), org.matsim.core.mobsim.qsim.interfaces.Netsim.getSimTimer(), org.matsim.core.mobsim.framework.MobsimTimer.getTimeOfDay(), org.matsim.withinday.utils.EditRoutes.relocateCurrentLegRoute(), org.matsim.withinday.utils.EditRoutes.relocateFutureLegRoute(), org.matsim.core.mobsim.qsim.agents.WithinDayAgentUtils.resetCaches(), and org.matsim.api.core.v01.population.Activity.setMaximumDuration().

1.8.8