superpeer
Class PowerlawDistribution
java.lang.Object
superpeer.PowerlawDistribution
- All Implemented Interfaces:
- peersim.dynamics.Dynamics, peersim.dynamics.NodeInitializer
public class PowerlawDistribution
- extends java.lang.Object
- implements peersim.dynamics.Dynamics, peersim.dynamics.NodeInitializer
Field Summary |
static java.lang.String |
PAR_ALPHA
String name of the parameter used to |
static java.lang.String |
PAR_MAXCAPACITY
String name of the parameter used to |
static java.lang.String |
PAR_MINCAPACITY
String name of the parameter used to |
static java.lang.String |
PAR_PROTOCOL
String name of the parameter used to select the protocol to be
initialized |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PAR_PROTOCOL
public static final java.lang.String PAR_PROTOCOL
- String name of the parameter used to select the protocol to be
initialized
- See Also:
- Constant Field Values
PAR_MAXCAPACITY
public static final java.lang.String PAR_MAXCAPACITY
- String name of the parameter used to
- See Also:
- Constant Field Values
PAR_MINCAPACITY
public static final java.lang.String PAR_MINCAPACITY
- String name of the parameter used to
- See Also:
- Constant Field Values
PAR_ALPHA
public static final java.lang.String PAR_ALPHA
- String name of the parameter used to
- See Also:
- Constant Field Values
PowerlawDistribution
public PowerlawDistribution(java.lang.String prefix)
initialize
public void initialize(peersim.core.Node node)
- Specified by:
initialize
in interface peersim.dynamics.NodeInitializer
initialize
public void initialize()
modify
public void modify()
- Specified by:
modify
in interface peersim.dynamics.Dynamics
main
public static void main(java.lang.String[] args)