S
- the solution type.@FunctionalInterface
public interface Mutation<S extends Solution<?>>
extends io.vavr.Function1<S,S>
Mutation operator (for solutions).
Modifier and Type | Interface and Description |
---|---|
static interface |
io.vavr.Lambda.Memoized |
Modifier and Type | Method and Description |
---|---|
default S |
apply(S solution) |
default boolean |
isMemoized() |
S |
mutate(S solution) |