@FunctionalInterface public interface SexualReproduction extends java.util.function.Function<io.vavr.Tuple2<EmasAgent,EmasAgent>,io.vavr.Tuple2<io.vavr.collection.Seq<EmasAgent>,EmasAgent>>
Sexual reproduction is a function generating a list of new agents from two parents.
It should include modified parents in the results.
Modifier and Type | Method and Description |
---|---|
static <S extends Solution<?>> |
builder()
Creates a new builder for sexual reproduction.
|
static <S extends Solution<?>> SexualReproductionBuilder<S> builder()
Creates a new builder for sexual reproduction.
S
- Solution type