Return a degree sequence for a tree with a powerlaw distribution.
A trial powerlaw degree sequence is chosen and then elements are swapped with new elements from a powerlaw distribution until the sequence makes a tree (#edges=#nodes-1).
Parameters: |
|
---|