04 - Exercise 2

In this excercise, you will find out the effects of changing the probabilities of the different strategies in the "strategy" module (within the configuration file located at "examples/tutorial/config/example1-config.xml"). The duration of completing the steps described in this excercise, depends mostly only on the speed of your computer (although the questions at the end need some thought).

  • Change the values of both scaling factors to 0.2.
  • Run MyControler1 (for 50 iterations)
  • Now change the value of the parameter "outputDirectory" to "./output/example1_4"
  • Set the value of the paramter "ModuleProbability_3" to "0.001"
  • Run MyControler1 (for 50 iterations)
  • Now change the value of the parameter "outputDirectory" to "./output/example1_5"
  • Set the value of the paramter "ModuleProbability_3" to "0.1"
  • Set the value of the paramter "ModuleProbability_2" to "0.001"
  • Change the value of "lastIteration" to 200 in the configuration file
  • Run MyControler1 (for 200 iterations)
  • Compare the scores of the both runs (found in "output/example1/scorestats.png", "output/example1_4/scorestats.png" and "output/example1_5/scorestats.png").
  • Compare also the leg histograms (between the runs and also the different iterations of the last run).

What do you observe? What can we learn from this?

 


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.231&amp;#039;, session = &amp;#039;&amp;#039;, timestamp = 1328354507 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/465', '', '38.107.179.231', 1328354507) in /home01/vsp_access/matsimwww/includes/database.mysql.inc on line 174