|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpeersim.dynamics.WireGraph
peersim.dynamics.WireScaleFreeDM
public class WireScaleFreeDM
Wires a scale free graph using a method described in this paper. It is an incremental technique, where the new nodes are connected to the two ends of an edge that is already in the network. This model always wires undirected links.
Parameter Summary | |
---|---|
k
The number of edges added to each new node (apart from those forming the initial network) is twice this value. |
Field Summary |
---|
Fields inherited from class peersim.dynamics.WireGraph |
---|
g, pid, undir |
Constructor Summary | |
---|---|
WireScaleFreeDM(java.lang.String prefix)
Standard constructor that reads the configuration parameters. |
Method Summary | |
---|---|
void |
wire(Graph g)
Wires a scale free graph using a method described in this paper. |
Methods inherited from class peersim.dynamics.WireGraph |
---|
execute |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Parameter Detail |
---|
k
Constructor Detail |
---|
public WireScaleFreeDM(java.lang.String prefix)
prefix
- the configuration prefix for this classMethod Detail |
---|
public void wire(Graph g)
wire
in class WireGraph
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |