class ConsolidationAlgorithmBase extends ClusterManagementDummyAlgorithm {

    protected long getHostAvailableMemory(HostResources host) {
        return (long) (host.getMemoryOverprovisioning() * getHostTotalMemoryInMegaBytes(host)) - host.getUsedMemoryInMegaBytes();
    }

}