def __init__(self, p, k):
        self.setP(p)
        self.setK(k)
Create a small-world generator with k initial neighbours and a re-wiring probability p
dataset/ETHPy150Open charanpald/APGL/apgl/generator/SmallWorldGenerator.py/SmallWorldGenerator.__init__