SubtourModeChoice. Status: probably works

Maintainer: Michael Zilske

In contrast to "ChangeLegMode", which changes all legs of a plan to a different mode, this module changes the modes of sub-tours separately.

For example, somebody might take the car to work, walk to lunch and back, and take the car back home.

 "chainBasedModes" means modes where a vehicle (car, bicycle, ...) is parked and in consequence needs to be picked up again.

	<module name="subtourModeChoice" >
		<param name="chainBasedModes" value="car, bike" />
		<param name="modes" value="car, bike, pt, walk" />
	</module>

 The module is called by inserting the following lines into the "strategy" module:

	<module name="strategy" >
		<param name="ModuleProbability_XXX" value="0.1" />
		<param name="Module_XXX" value="SubtourModeChoice" />
                ...
        </module>

For modes other than car, travel time and travel distance are computed according to some heuristics, which are configured in the router.


Warning: Table 'watchdog' is read only query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Table &amp;#039;sessions&amp;#039; is read only\nquery: UPDATE sessions SET uid = 0, cache = 0, hostname = &amp;#039;38.107.179.232&amp;#039;, session = &amp;#039;&amp;#039;, timestamp = 1328356155 WHERE sid = &amp;#039;e972b2ab7dd755a2094beea8ac708f02&amp;#039;</em> in <em>/home01/vsp_access/matsimwww/includes/database.mysql.inc</em> on line <em>174</em>.', 2, '', 'http://matsim.org/node/477', '', '38.107.179.232', 1328356155) in /home01/vsp_access/matsimwww/includes/database.mysql.inc on line 174