S
- the type of the solution@FunctionalInterface
public interface Evaluator<S extends Solution<?>>
extends io.vavr.Function1<S,java.lang.Double>
Evaluator is a function that computes fitness of the solution.
Modifier and Type | Interface and Description |
---|---|
static interface |
io.vavr.Lambda.Memoized |
Modifier and Type | Method and Description |
---|---|
default java.lang.Double |
apply(S solution) |
double |
evaluate(S solution) |
default boolean |
isMemoized() |