|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectpeersim.reports.GraphObserver
peersim.reports.Clustering
public class Clustering
Control to observe the clustering coefficient.
GraphAlgorithms.clustering(peersim.graph.Graph, int)| Parameter Summary | |
|---|---|
n
The number of nodes to collect info about. |
|
| Parameters inherited from class peersim.reports.GraphObserver |
|---|
undir |
| Field Summary |
|---|
| Fields inherited from class peersim.reports.GraphObserver |
|---|
g, ga, name, pid, undir |
| Constructor Summary | |
|---|---|
Clustering(java.lang.String name)
Standard constructor that reads the configuration parameters. |
|
| Method Summary | |
|---|---|
boolean |
execute()
Prints information about the clustering coefficient. |
| Methods inherited from class peersim.reports.GraphObserver |
|---|
updateGraph |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Parameter Detail |
|---|
n
| Constructor Detail |
|---|
public Clustering(java.lang.String name)
name - the configuration prefix for this class| Method Detail |
|---|
public boolean execute()
IncrementalStats.toString(), over the values of
the clustering coefficients of the given number of nodes.
Clustering coefficients are calculated by GraphAlgorithms.clustering(peersim.graph.Graph, int).
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||