def setSelfEdges(self, selfEdges):
        Parameter.checkBoolean(selfEdges)
        self.selfEdges = selfEdges
:param selfEdges: whether to allow self edges
dataset/ETHPy150Open charanpald/APGL/apgl/generator/ErdosRenyiGenerator.py/ErdosRenyiGenerator.setSelfEdges