def setP(self, p):
        Parameter.checkFloat(p, 0.0, 1.0)
        self.p = p
Set the rewiring probability.
dataset/ETHPy150Open charanpald/APGL/apgl/generator/SmallWorldGenerator.py/SmallWorldGenerator.setP