|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--edu.iu.iv.modeling.p2p.can.CanAlgorithm
Wrapper class for the CAN network modelling algorithm
| Constructor Summary | |
CanAlgorithm(int networkSize)
Constructor for CanAlgorithm class. |
|
| Method Summary | |
boolean |
execute()
Runs the algorithm. |
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 |
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 CanAlgorithm(int networkSize)
networkSize - | 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 -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||