|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object peersim.dynamics.WireGraph peersim.dynamics.WireRingLattice
public class WireRingLattice
Takes a Linkable
protocol and adds edges that
define a ring lattice.
Note that no connections are removed, they are only added. So it can be used
in combination with other initializers.
GraphFactory.wireRingLattice(peersim.graph.Graph, int)
Parameter Summary | |
---|---|
k
The "lattice parameter" of the graph. |
Field Summary |
---|
Fields inherited from class peersim.dynamics.WireGraph |
---|
g, pid, undir |
Constructor Summary | |
---|---|
WireRingLattice(java.lang.String prefix)
Standard constructor that reads the configuration parameters. |
Method Summary | |
---|---|
void |
wire(Graph g)
calls GraphFactory.wireRingLattice(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 |
---|
k
GraphFactory.wireRingLattice(peersim.graph.Graph, int)
(to which this parameter is
passed) for further details.
Constructor Detail |
---|
public WireRingLattice(java.lang.String prefix)
prefix
- the configuration prefix for this classMethod Detail |
---|
public void wire(Graph g)
GraphFactory.wireRingLattice(peersim.graph.Graph, int)
.
wire
in class WireGraph
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |