MATSim API

Package tutorial.unsupported.example50VeryExperimentalWithinDayReplanning

This package contains code that demonstrates some ideas of how to use matsim for withinday replanning.

See:
          Description

Class Summary
EquilTest  
MyMobsimFactory  
MyWithinDayMobsimListener As stated in the package info, this class is an untested design suggestion.
MyWithinDayMobsimListener2  
 

Package tutorial.unsupported.example50VeryExperimentalWithinDayReplanning Description

This package contains code that demonstrates some ideas of how to use matsim for withinday replanning.

Definition: Withinday replanning means that agents can replan while they are on their way, technically while the mobsim is running.

Why we are where we are: Historically, matsim was (and still is) written with large-scale performance (while remaining microscopic) as its prime technological goal, which in practice means the capability to simulate regions with 10 million inhabitants or more. This has meant a couple of design decisions that are, in fact, detrimental to within-day replanning. Examples for this are the "horizontal" way in which strategy modules are run ("first run strategy module 1 for all agents, then strategy module 2, etc.", rather than "for every agent, run the necessary strategy modules"), but also the multiple layers and caches of agent structure in the mobsim which essentially assume that a plan does not change while the mobsim is running.

This package contains (as of dec'10):

Much of this is using material that is not in the public api, so there are only two recommended ways of using this:

Again: This package contains ideas, not some version that is meant to be working. Comments are welcome, please address to nagel (or to the developers' email list).


MATSim API

Copyright © 2005-2012. All Rights Reserved.