class ConsolidationAlgorithmBase extends ClusterManagementDummyAlgorithm {

    protected float getHostAvailableCpu(HostResources host) {
        return (host.getCpuOverprovisioning() * host.getSpeed() * host.getCpus()) - host.getUsedCpu();
    }

}