changeset 310:f7ca78a11ea6

add functions to add videofilename and interaction type in Interaction class
author Mohamed Gomaa
date Wed, 03 Apr 2013 22:13:01 -0400
parents 93d851d0d21e
children 273c200ec32e 484cc1d6cfd1
files python/events.py
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/python/events.py	Tue Apr 02 15:27:42 2013 -0400
+++ b/python/events.py	Wed Apr 03 22:13:01 2013 -0400
@@ -64,6 +64,12 @@
 
         # todo test for interaction instants and interval, compute indicators
 
+    def addVideoFilename(self,videoFilename):
+        self.videoFilename= videoFilename	
+
+    def addInteractionType(self,interactionType):
+	''' interaction types: conflict or collision if they are known'''
+        self.interactionType= interactionType			
 
 def createInteractions(objects):
     '''Create all interactions of two co-existing road users