|
|||||||||||
| 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.HypergridAlgorithm
Wrapper for Hypergrid Network Modeling Algorithm
| Constructor Summary | |
HypergridAlgorithm(int networkSize,
int degree)
Constructor for HypergridAlgorithm class. |
|
| Method Summary | |
boolean |
execute()
Runs the algorithm. |
int |
getDegree()
Get the degree of nodes in the Hypergrid network |
java.lang.String |
getFileName()
This method gets the name of the file that stores the network graph |
int |
getNetworkSize()
This method gets the size of the network |
void |
setDegree(int degree)
Set the degree of nodes in the Hypergrid network |
void |
setFileName(java.lang.String filename)
This method sets the name of the file which'll store the network graph |
void |
setNetworkSize(int networkSize)
This method sets the size of the network to be built |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HypergridAlgorithm(int networkSize,
int degree)
networkSize - - size of the networkdegree - - degree of the node| Method Detail |
public boolean execute()
Algorithm
execute in interface AlgorithmAlgorithm.execute()public void setNetworkSize(int networkSize)
networkSize - public int getNetworkSize()
public java.lang.String getFileName()
public void setFileName(java.lang.String filename)
filename - public int getDegree()
public void setDegree(int degree)
degree - degree of nodes
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||