MATSIM
Classes
Package tutorial.programming.withinDayReplanningAgents

Classes

class  MyAgent
 
class  RunWithinDayReplanningAgentExample
 

Detailed Description

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 second variant. The other one is described in another tutorial package.

At this point, all code is contained in a single file. The Main class is necessary to plug everything together and run it. The MyAgent class is an example for an agent that randomly moves around in the system. It should be enough to explain the general functionality. See tutorial.programming.ownMobsimAgentWithPerception and tutorial.programming.ownMobsimAgentUsingRouter for more complete examples.

Please address yourself to Kai Nagel or Michael Zilske for support.