Mercurial Hosting > traffic-intelligence
changeset 213:5cde6da74605
added minor comments
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Thu, 07 Jun 2012 00:53:30 -0400 |
parents | ce44605f888a |
children | 9c7fc6899c0e |
files | python/moving.py |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/python/moving.py Wed Jun 06 23:39:03 2012 -0400 +++ b/python/moving.py Thu Jun 07 00:53:30 2012 -0400 @@ -625,6 +625,9 @@ else: return None +# functions to aggregate discretized maps of indicators +# TODO add values in the cells between the positions (similar to discretizing vector graphics to bitmap) + def indicatorMap(indicatorValues, trajectory, squareSize): '''Returns a dictionary with keys for the indices of the cells (squares)