evalgo.algorithms
Class ExactAlgorithm

java.lang.Object
  extended byevalgo.algorithms.AbstractAlgorithm
      extended byevalgo.algorithms.ExactAlgorithm

public class ExactAlgorithm
extends AbstractAlgorithm


Field Summary
 
Fields inherited from class evalgo.algorithms.AbstractAlgorithm
avail, id, idealAvail, optimalMapping
 
Constructor Summary
ExactAlgorithm(int en, int ka)
           
 
Method Summary
 boolean canFit(int[] currMapping)
           
 AlgorithmResult execute()
           
 
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
 

Constructor Detail

ExactAlgorithm

public ExactAlgorithm(int en,
                      int ka)
Method Detail

execute

public AlgorithmResult execute()
Specified by:
execute in class AbstractAlgorithm

canFit

public boolean canFit(int[] currMapping)