Mercurial Hosting > traffic-intelligence
diff python/moving.py @ 56:61fe73df2d36
created new package, moved Interaction class and created Crossing class
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Wed, 27 Oct 2010 18:32:27 -0400 |
parents | 88d5ee5ac164 |
children | 40e1508380ed |
line wrap: on
line diff
--- a/python/moving.py Wed Oct 13 19:19:17 2010 -0400 +++ b/python/moving.py Wed Oct 27 18:32:27 2010 -0400 @@ -331,20 +331,6 @@ self.name = name self.values = values -class Interaction(STObject): - '''Class for an interaction between two road users - or a road user and an obstacle - - link to the moving objects - ''' - - def __init__(self, num = None, timeInterval = None, protagonistNum1 = None, protagonistNum2 = None, movingObject1 = None, movingObject2 = None): - STObject.__init__(self, num, timeInterval) - self.protagonistNum1 = protagonistNum1 - self.protagonistNum2 = protagonistNum2 - self.movingObject1 = movingObject1 - self.movingObject2 = movingObject2 - if __name__ == "__main__": import doctest import unittest