Skip to content
progwriterPublic

About

TMgen is a tool for generating spatial, temporal, and spatio-temporal traffic matrices.

Topics

Resources

Stars

27 stars

Watchers

2 watching

Forks

Latest commit

 

History

88 Commits

Folders and files

Repository files navigation

TMgen: Traffic Matrix generation tool

TMgen is a tool for generating spatial, temporal, and spatio-temporal traffic matrices. Generation is based on the Max Entropy model described in Spatiotemporal Traffic Matrix Synthesis by Paul Tune and Matthew Roughan, published in ACM SIGCOMM 2015.

Other, simple models (e.g., uniform, gravity) are also implemented for convenience.

Supported TM models

  • Random Gravity Model
  • Modulated Gravity Model
  • Non-stationary Conditionally Independent Model
  • Spike Model
  • Gravity Model
  • Uniform Model

Installation

  1. Install numpy and cython. (For example using pip install numpy cython)
  2. Run pip install .

Example Usage

See http://tmgen.readthedocs.io/ for the docs.

Big Thanks

To Paul Tune, Matthew Roughan, and Ari Pakman for their work in this space and for making their code available. This code is an adaptation of their Matlab versions MaxEnt and HMC

About

TMgen is a tool for generating spatial, temporal, and spatio-temporal traffic matrices.

Topics

Resources

Stars

27 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages