@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        AbstractGoal goal = (AbstractGoal) o;
        return name().equals(goal.name());
    }
Get the acceptable action with the highest score.

@param candidateActionScores candidate actions with scores
@return the acceptable action with the highest score
core/src/main/java/kafka/autobalancer/goals/AbstractGoal.java