|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectpeersim.dynamics.WireGraph
peersim.dynamics.WireRegRootedTree
public class WireRegRootedTree
Takes a Linkable protocol and adds connections that
define a regular
rooted tree. Note that no
connections are removed, they are only added. So it can be used in
combination with other initializers.
wire(peersim.graph.Graph),
GraphFactory.wireRegRootedTree(peersim.graph.Graph, int)| Parameter Summary | |
|---|---|
k
The parameter of the tree wiring method. |
|
| Field Summary |
|---|
| Fields inherited from class peersim.dynamics.WireGraph |
|---|
g, pid, undir |
| Constructor Summary | |
|---|---|
WireRegRootedTree(java.lang.String prefix)
Standard constructor that reads the configuration parameters. |
|
| Method Summary | |
|---|---|
void |
wire(Graph g)
Calls GraphFactory.wireRegRootedTree(peersim.graph.Graph, int). |
| 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 |
|---|
kGraphFactory.wireRegRootedTree(peersim.graph.Graph, int).
| Constructor Detail |
|---|
public WireRegRootedTree(java.lang.String prefix)
prefix - the configuration prefix for this class| Method Detail |
|---|
public void wire(Graph g)
GraphFactory.wireRegRootedTree(peersim.graph.Graph, int).
wire in class WireGraph
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||