|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectpeersim.dynamics.WireGraph
peersim.dynamics.WireStar
public class WireStar
Takes a Linkable protocol and adds connection
which for a star
topology. No connections are removed, they are only added. So it can be used
in combination with other initializers.
GraphFactory.wireStar(peersim.graph.Graph)| Field Summary |
|---|
| Fields inherited from class peersim.dynamics.WireGraph |
|---|
g, pid, undir |
| Constructor Summary | |
|---|---|
WireStar(java.lang.String prefix)
Standard constructor that reads the configuration parameters. |
|
| Method Summary | |
|---|---|
void |
wire(Graph g)
Calls GraphFactory.wireStar(peersim.graph.Graph). |
| 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 |
| Constructor Detail |
|---|
public WireStar(java.lang.String prefix)
prefix - the configuration prefix for this class| Method Detail |
|---|
public void wire(Graph g)
GraphFactory.wireStar(peersim.graph.Graph).
wire in class WireGraph
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||