# HG changeset patch # User Mohamed Gomaa # Date 1365041581 14400 # Node ID f7ca78a11ea6cca596f1c833e4a13141d40ff023 # Parent 93d851d0d21e80ca9c1465d5ef331d1a443c2561 add functions to add videofilename and interaction type in Interaction class diff -r 93d851d0d21e -r f7ca78a11ea6 python/events.py --- 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