|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectNetworkLink
public class NetworkLink
Class NetworkLink Description : this class set nodes links of a network in special topology
| Constructor Summary | |
|---|---|
NetworkLink()
|
|
| Method Summary | |
|---|---|
static void |
complete(Network n)
Set the nodes of a network n as a complete graph |
static void |
random(Network n,
double p)
Set the nodes of a network n into random positions |
static void |
ringDirected(Network n)
Set the nodes of a network n into a directed ring |
static void |
ringUndirected(Network n)
Set the nodes of a network n into an undirected ring |
static void |
star(Network n)
Set the nodes of a network n as a star |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NetworkLink()
| Method Detail |
|---|
public static void ringDirected(Network n)
public static void ringUndirected(Network n)
public static void complete(Network n)
public static void star(Network n)
public static void random(Network n,
double p)
n - which you want to add linksp - it's the probability to have a link between two nodes
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||