def setP(self, p):
        Parameter.checkFloat(p, 0.0, 1.0)
        self.p = p
:param p: the probability of an edge
dataset/ETHPy150Open charanpald/APGL/apgl/generator/ErdosRenyiGenerator.py/ErdosRenyiGenerator.setP