public final class CountEvaluator extends java.lang.Object implements Evaluator<BooleanVectorSolution>
CountProblem - counts set (true) bits in solution.
Modifier and Type | Class and Description |
---|---|
static interface |
io.vavr.Lambda.Memoized |
Constructor and Description |
---|
CountEvaluator() |
Modifier and Type | Method and Description |
---|---|
double |
evaluate(BooleanVectorSolution solution) |
default boolean |
isMemoized() |
public double evaluate(BooleanVectorSolution solution)
evaluate
in interface Evaluator<BooleanVectorSolution>
public boolean isMemoized()