Package org.matsim.contrib.signals.data

Data model

The data model consists of several mandatory and optional components:
  • signalsystems (mandatory)
  • signalgroups (mandatory)
  • signalcontrol (mandatory)
  • ambertimes (optional)
  • intergreentimes (optional)

For each component one can find a xml schema in the dtd folder of MATSim, a jaxb xml api in the package org.matsim.jaxb and a subpackage of this package containing classes for convenient data generation/access/processing within MATSim. Each of the subpackages contains an own package-info.java that documents the functionality of the component.

All components of the data model are grouped beyond a single interface called SignalsData. The classes SignalsScenarioLoader and SignalsScenarioWriter in this package can be used together with the SignalsData container for convenient file IO.

Note that with a little programming it is also possible to use the signal model without the data model. Of course all components can be considered "optional" in this case, but may be used standalone.

Usage

A code example for signalsystems demand generation code can be found in the playground.dgrether.koehlerstrehlersignal.DgKoehlerStrehler2010ScenarioGenerator class.

Package Maintainer(s):

  • Dominik Grether
Changes by non-maintainers are prohibited. Patches very welcome!
Author:
dgrether, tthunig
See Also:
org.matsim.contrib.signals.data.signalsystems.v20, org.matsim.contrib.signals.data.signalgroups.v20, org.matsim.contrib.signals.data.signalcontrol.v20, org.matsim.contrib.signals.data.ambertimes.v10, org.matsim.contrib.signals.data.intergreens.v10