#NEWLINE# def profileAddEdge( self ) : #NEWLINE# #INDENT# V = numpy . random . randint ( 0 , self . n , ( self . m , 2 ) ) #NEWLINE# u = numpy . random . rand ( self . m ) #NEWLINE# def runAdd( ) : #NEWLINE# #INDENT# for i in range ( self . m ) : #NEWLINE# #INDENT# self . graph . addEdge ( V [ ( i , 0 ) ] , V [ ( i , 1 ) ] , u [ i ] ) #NEWLINE# #UNINDENT# #UNINDENT# ProfileUtils . profile ( 'runAdd()' , globals ( ) , locals ( ) )