#NEWLINE# def setP( self , p ) : #NEWLINE# #INDENT# '\n        :param p: the probability of an edge\n        :type p: :class:`float`\n        ' #NEWLINE# Parameter . checkFloat ( p , 0.0 , 1.0 ) #NEWLINE# self . p = p