class ScoredClustersAllocationAlgorithmPreferenceForSmallHosts extends AllocationAlgorithmBase {

    @Override
    public List<ClusterResourcesAvailableToStart> rankClustersToAllocation(List<ClusterResourcesAvailableToStart> clustersAvailableToStart) {
        List<ClusterResourcesAvailableToStart> sortedClustersAvailableToStart = cloneListOfClusters(clustersAvailableToStart);
        setClustersScore(sortedClustersAvailableToStart);
        sortClustersDownwardScore(sortedClustersAvailableToStart);
        return sortedClustersAvailableToStart;
    }

}