Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ProjectCurrent StateContact
   
   

Developers' Corner

At the beginning of September, the yearly MATSim Developer Meeting took place. A number of important decisions have been made and announced on the developers mailing list. The most important ones:

  • MATSim will now require Java 7 to run, and developers can start using Java 7 features in their code
  • A new configuration file format ("config.xml") offering more flexibility to deal with lists and enumerations has been introduced
  • Ids in MATSim will become typed, such that a link's id can be differentiated from a node's id, or from other type of Ids.

The change to typed Ids is already ongoing, with large parts of MATSim (the core) and the contributions already using the new type of Ids. Feel free to change the code in your playgrounds accordingly.The migration to typed Ids is finished. The old class IdImpl no longer exists, and all Ids have now to be created with Id.create(value, type). Comparison of Ids also takes the type into account, so a node-id with value 1 is no longer equal to a link-id with value 1.

- Work has started to use Dependency Injection to load MATSim modules, and to configure which modules should actually be used during a simulation. See the class tutorial.programming.example20customTravelTime.Main for a first example on how to use it. The issue MATSIM-290 (https://matsim.atlassian.net/browse/MATSIM-290) contains additional information and requests feedback and more use cases for the new functionality.

 

Events/Notes/Information that are Worth Mentioning

  • A new release of MATSim, "Fall 2014" (version 0.6.0) was released in September. This is the last release of MATSim that will run on Java 6The Java-version of MATSim is now 10 years old! Somewhen in November 2004, the first java files were committed (at that time, still to a CVS repository). See the growth and stabilization of the MATSim (core) code at http://www.matsim.org/metrics.