def _getNodeDegrees(self):
     N = self._nodesCount
     degrees = [[powerLaw(self._alpha) for i in range(N[t])]
                for t in range(2)]
     return degrees
Esempio n. 2
0
def __vahaStupneVrcholu(N, alpha):
    return [powerLaw(alpha) for i in range(N)]