p2p.simulator.dist
Class PowLaw

java.lang.Object
  extended by p2p.simulator.dist.PowLaw

public class PowLaw
extends java.lang.Object


Field Summary
static double alpha
           
static double cut
           
static int seed
           
 
Constructor Summary
PowLaw()
           
 
Method Summary
static java.util.List<java.lang.Integer> getPowLaw(int n, int range)
           
static java.util.List<java.lang.Integer> getPowLawOrdered(int n, int range)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

seed

public static int seed

alpha

public static double alpha

cut

public static double cut
Constructor Detail

PowLaw

public PowLaw()
Method Detail

getPowLaw

public static java.util.List<java.lang.Integer> getPowLaw(int n,
                                                          int range)

getPowLawOrdered

public static java.util.List<java.lang.Integer> getPowLawOrdered(int n,
                                                                 int range)