|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectevalgo.algorithms.AbstractAlgorithm
evalgo.algorithms.DecentralizedAlgorithm
| Field Summary | |
(package private) int[] |
compIdxWithMinContribution
|
(package private) int[] |
currentMapping
|
double[] |
historyAvail
|
(package private) double[] |
hostScore
|
(package private) int |
levelOfAwareness
|
(package private) double[] |
memHostsTaken
|
int |
numIterations
|
double |
originalAvail
|
| Fields inherited from class evalgo.algorithms.AbstractAlgorithm |
avail, id, idealAvail, optimalMapping |
| Constructor Summary | |
DecentralizedAlgorithm(int en,
int ka,
int numIt,
int pLevelOfAwareness)
|
|
| Method Summary | |
AlgorithmResult |
execute()
|
boolean |
isMemberOfDomain(int hostA,
int hostB,
int remainingLevelOfAwareness)
|
void |
rankHosts(int compIdx)
|
| Methods inherited from class evalgo.algorithms.AbstractAlgorithm |
calculateAvailability, calculateAvgCompMem, calculateAvgHostMem, calculateAvgRelBetweenHosts, estimateOptimal, estimateRedeploymentTime, ideal |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public int numIterations
public double originalAvail
public double[] historyAvail
int[] currentMapping
double[] memHostsTaken
double[] hostScore
int[] compIdxWithMinContribution
int levelOfAwareness
| Constructor Detail |
public DecentralizedAlgorithm(int en,
int ka,
int numIt,
int pLevelOfAwareness)
| Method Detail |
public AlgorithmResult execute()
execute in class AbstractAlgorithm
public boolean isMemberOfDomain(int hostA,
int hostB,
int remainingLevelOfAwareness)
public void rankHosts(int compIdx)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||