|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--edu.iu.iv.modeling.p2p.hypergrid.HypergridNetwork
HyperGrid Network Model for Unstructured P2P Networks
| Constructor Summary | |
HypergridNetwork(int networkSize,
int degree)
Constructor for HypergridNetwork. |
|
| Method Summary | |
boolean |
buildHyperGridNetwork()
This method builds the unstructured P2P network based on Hypergrid topology |
float |
getAvgDegree()
Get average degree of the network |
java.lang.String |
getFailReason()
Get the reason because of which modelig failed |
edu.uci.ics.jung.graph.Graph |
getGraph()
This method returns the Graph object built on HyperGrid network |
int |
getMaxDegree()
Get max degree of the network |
int |
getMinDegree()
Get min degree of the network |
void |
printNetwork()
Print graph |
void |
writeGraph(java.lang.String filename)
Write the graph to a file |
void |
writePajekFile(java.lang.String filename)
Create a Pajek file |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HypergridNetwork(int networkSize,
int degree)
networkSize - | Method Detail |
public edu.uci.ics.jung.graph.Graph getGraph()
public boolean buildHyperGridNetwork()
public void printNetwork()
public void writePajekFile(java.lang.String filename)
public void writeGraph(java.lang.String filename)
public float getAvgDegree()
public int getMaxDegree()
public int getMinDegree()
public java.lang.String getFailReason()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||