@Override
    default int compareTo(Goal other) {
        return Boolean.compare(other.isHardGoal(), this.isHardGoal());
    }
Get the acceptance score of the goal if the action applied to the given cluster.

@param action  action to apply to the cluster
@param cluster cluster to apply the action
@return action acceptance score, 0 for not accepted
core/src/main/java/kafka/autobalancer/goals/Goal.java