class ConsolidationScoredPreferenceForSmallHosts extends ConsolidationAlgorithmBase {

    protected double cloudCpuUsagePercentage(CloudResources cloudResources) {
        double cloudCpu = getCloudCpuCapacity(cloudResources);
        double cloudUsedCpu = cloudResources.getUsedCpu();
        return cloudUsedCpu / cloudCpu;
    }

}