Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractAlterer<G extends Gene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics -
Abstract implementation of the alterer interface.
- AbstractAlterer(double) - Constructor for class io.jenetics.AbstractAlterer
-
Constructs an alterer with a given recombination probability.
- AbstractChromosome<G extends Gene<?,
G>> - Class in io.jenetics -
The abstract base implementation of the Chromosome interface.
- AbstractChromosome(ISeq<? extends G>) - Constructor for class io.jenetics.AbstractChromosome
-
Create a new
AbstractChromosome
from the givengenes
array. - accept(double) - Method in class io.jenetics.stat.DoubleMomentStatistics
-
Records a new value into the moment information
- accept(double) - Method in class io.jenetics.stat.Quantile
- accept(int) - Method in class io.jenetics.stat.IntMomentStatistics
-
Records a new value into the moment information
- accept(int) - Method in class io.jenetics.stat.LongMomentStatistics
-
Records a new value into the moment information
- accept(long) - Method in class io.jenetics.stat.LongMomentStatistics
-
Records a new value into the moment information
- accept(A) - Method in interface io.jenetics.internal.util.Lifecycle.ThrowingConsumer
-
Performs this operation on the given argument.
- accept(C) - Method in class io.jenetics.stat.MinMax
-
Accept the element for min-max calculation.
- accept(EvolutionResult<?, C>) - Method in class io.jenetics.engine.EvolutionStatistics
- accumulator() - Method in interface io.jenetics.util.Accumulator
- Accumulator<T,
A extends Accumulator<T, A, R>, R> - Interface in io.jenetics.util -
This interface lets you accumulate elements of type
T
to a result of typeR
. - add(double) - Method in class io.jenetics.internal.math.DoubleAdder
-
Add the given
value
to this adder, using the Kahan summation algorithm - add(double[]) - Method in class io.jenetics.internal.math.DoubleAdder
-
Add the given values to this adder.
- add(int[], int) - Static method in class io.jenetics.internal.util.Arrays
- add(C) - Method in class io.jenetics.internal.util.Lifecycle.IOResources
-
Registers the given
resource
to the list of managed resources. - add(C) - Method in class io.jenetics.internal.util.Lifecycle.Resources
-
Registers the given
resource
to the list of managed resources. - add(C, Lifecycle.ThrowingConsumer<? super C, ? extends E>) - Method in class io.jenetics.internal.util.Lifecycle.Resources
-
Registers the given
resource
to the list of managed resources. - add(DoubleAdder) - Method in class io.jenetics.internal.math.DoubleAdder
-
Add the given
value
to this adder, using the Kahan summation algorithm - add(T) - Method in class io.jenetics.internal.collection.BaseSeqIterator
- after(EvolutionResult<G, C>) - Method in interface io.jenetics.engine.EvolutionInterceptor
-
This method is called after the evaluation of a generation.
- age(long) - Method in class io.jenetics.Phenotype
-
Return the age of this phenotype depending on the given current generation.
- allele() - Method in class io.jenetics.AnyGene
- allele() - Method in enum class io.jenetics.BitGene
- allele() - Method in class io.jenetics.CharacterGene
- allele() - Method in class io.jenetics.DoubleGene
- allele() - Method in class io.jenetics.EnumGene
- allele() - Method in interface io.jenetics.Gene
-
Return the allele of this gene.
- allele() - Method in class io.jenetics.IntegerGene
- allele() - Method in class io.jenetics.LongGene
- alleleIndex() - Method in class io.jenetics.EnumGene
-
Return the index of the allele this gene is representing.
- allMatch(Predicate<? super T>) - Method in class io.jenetics.internal.util.StreamProxy
- alter(Seq<Phenotype<G, C>>, long) - Method in interface io.jenetics.Alterer
-
Alters (recombine) a given population.
- alter(Seq<Phenotype<G, C>>, long) - Method in class io.jenetics.Mutator
-
Concrete implementation of the alter method.
- alter(Seq<Phenotype<G, C>>, long) - Method in class io.jenetics.PartialAlterer
- alter(Seq<Phenotype<G, C>>, long) - Method in class io.jenetics.Recombinator
- alterations() - Method in record class io.jenetics.AltererResult
-
Returns the value of the
alterations
record component. - alterCount() - Method in class io.jenetics.engine.EvolutionResult
-
The number of altered individuals.
- alterDuration() - Method in class io.jenetics.engine.EvolutionStatistics
-
Return the duration statistics needed for altering the population, in seconds.
- altered() - Method in class io.jenetics.engine.EvolutionStatistics
-
Return the statistics about the altered individuals during the evolution process.
- alterer() - Method in class io.jenetics.engine.Engine
-
Return the used
Alterer
of the GA. - alterer() - Method in class io.jenetics.engine.Engine.Builder
-
Return the used
Alterer
of the GA. - alterer() - Method in class io.jenetics.engine.EvolutionParams
-
Return the used
Alterer
of the GA. - alterer() - Method in class io.jenetics.engine.EvolutionParams.Builder
-
Return the used
Alterer
of the GA. - Alterer<G extends Gene<?,
G>, C extends Comparable<? super C>> - Interface in io.jenetics -
The Alterer is responsible for the changing/recombining the Population.
- AltererResult<G extends Gene<?,
G>, C extends Comparable<? super C>> - Record Class in io.jenetics -
Represents the result pair of a
Alterer.alter(Seq, long)
call, which consists of the altered population and the number of altered individuals. - AltererResult(ISeq<Phenotype<G, C>>) - Constructor for record class io.jenetics.AltererResult
-
Create a new alter result for the given population with zero alterations.
- AltererResult(ISeq<Phenotype<G, C>>, int) - Constructor for record class io.jenetics.AltererResult
-
Create a new alter result for the given arguments.
- alterers(Alterer<G, C>, Alterer<G, C>...) - Method in class io.jenetics.engine.Engine.Builder
-
The alterers used for alter the offspring population.
- alterers(Alterer<G, C>, Alterer<G, C>...) - Method in class io.jenetics.engine.EvolutionParams.Builder
-
The alterers used for alter the offspring population.
- and(BitChromosome) - Method in class io.jenetics.BitChromosome
-
Returns a
BitChromosome
whose value is (this & other
). - andThen(Alterer<G, C>) - Method in interface io.jenetics.Alterer
-
Returns a composed alterer that applies the
this
alterer to its input, and then applies theafter
alterer to the result. - AnyChromosome<A> - Class in io.jenetics
-
Chromosome
implementation, which allows to create genes without explicit implementing theChromosome
interface. - AnyChromosome(ISeq<AnyGene<A>>, Supplier<? extends A>, Predicate<? super A>, Predicate<? super ISeq<A>>, IntRange) - Constructor for class io.jenetics.AnyChromosome
-
Create a new
AnyChromosome
from the givengenes
array. - AnyGene<A> - Class in io.jenetics
-
Gene
implementation, which allows to create genes without explicit implementing theGene
interface. - anyMatch(Predicate<? super T>) - Method in class io.jenetics.internal.util.StreamProxy
- append(Array<T>) - Method in class io.jenetics.internal.collection.Array
-
Return a new
Array
object with the given values appended. - append(Iterable<?>) - Method in enum class io.jenetics.internal.collection.Empty.EmptyISeq
- append(Iterable<?>) - Method in enum class io.jenetics.internal.collection.Empty.EmptyMSeq
- append(Iterable<? extends T>) - Method in class io.jenetics.internal.collection.Array
-
Return a new
Array
with the givenvalues
appended. - append(Iterable<? extends T>) - Method in class io.jenetics.internal.collection.ArrayISeq
- append(Iterable<? extends T>) - Method in class io.jenetics.internal.collection.ArrayMSeq
- append(Iterable<? extends T>) - Method in interface io.jenetics.util.ISeq
- append(Iterable<? extends T>) - Method in interface io.jenetics.util.MSeq
- append(Iterable<? extends T>) - Method in interface io.jenetics.util.Seq
-
Return a new
Seq
with the givenvalues
appended. - append(Object...) - Method in enum class io.jenetics.internal.collection.Empty.EmptyISeq
- append(Object...) - Method in enum class io.jenetics.internal.collection.Empty.EmptyMSeq
- append(T...) - Method in interface io.jenetics.util.ISeq
- append(T...) - Method in interface io.jenetics.util.MSeq
- append(T...) - Method in interface io.jenetics.util.Seq
-
Return a new
Seq
with the givenvalues
appended. - apply(int) - Method in interface io.jenetics.util.Seq
-
Return the value at the given
index
. - apply(A) - Method in interface io.jenetics.internal.util.Lifecycle.ThrowingFunction
-
Applies this function to the given argument.
- apply(Engine.Builder<G, C>) - Method in interface io.jenetics.engine.Engine.Setup
-
Applies
this
setup to the given enginebuilder
. - arg(String) - Method in class io.jenetics.internal.util.Args
-
Return the parameter with the given name.
- Args - Class in io.jenetics.internal.util
-
Helper class for parsing command line arguments.
- array - Variable in class io.jenetics.internal.collection.ArraySeq
- array - Variable in class io.jenetics.internal.collection.BaseSeqIterator
- array - Variable in class io.jenetics.internal.collection.CharStore
- Array<T> - Class in io.jenetics.internal.collection
-
Array implementation class.
- Array.Store<T> - Interface in io.jenetics.internal.collection
-
Minimal interface for accessing an underlying array structure.
- Array.Store.Ref<T> - Class in io.jenetics.internal.collection
-
Mutable reference of an underlying array
Store
. - ArrayISeq<T> - Class in io.jenetics.internal.collection
- ArrayISeq(Array<T>) - Constructor for class io.jenetics.internal.collection.ArrayISeq
- ArrayMSeq<T> - Class in io.jenetics.internal.collection
- ArrayMSeq(Array<T>) - Constructor for class io.jenetics.internal.collection.ArrayMSeq
- Arrays - Class in io.jenetics.internal.util
-
Helper class which contains array helper methods.
- ArraySeq<T> - Class in io.jenetics.internal.collection
- ArraySeq(Array<T>) - Constructor for class io.jenetics.internal.collection.ArraySeq
- as(Class<C>) - Method in interface io.jenetics.Chromosome
-
Casts this
Chromosome
to an instance of typeC
. - ascending() - Method in enum class io.jenetics.Optimize
-
Create an appropriate comparator of the given optimization strategy.
- asISeq() - Method in interface io.jenetics.util.Seq
-
Return this sequence as
ISeq
instance. - asList() - Method in enum class io.jenetics.internal.collection.Empty.EmptyISeq
- asList() - Method in enum class io.jenetics.internal.collection.Empty.EmptyMSeq
- asList() - Method in interface io.jenetics.util.MSeq
- asList() - Method in interface io.jenetics.util.Seq
-
Returns a fixed-size list backed by the specified sequence.
- asMSeq() - Method in interface io.jenetics.util.Seq
-
Return this sequence as
MSeq
instance. - async(Function<? super Genotype<G>, ? extends Future<C>>) - Static method in class io.jenetics.engine.Evaluators
-
Return a new fitness evaluator, which evaluates asynchronous fitness functions.
- async(Function<? super T, ? extends Future<C>>, Codec<T, G>) - Static method in class io.jenetics.engine.Evaluators
-
Return a new fitness evaluator, which evaluates asynchronous fitness functions.
- async(Function<? super T, ? extends Future<C>>, Function<? super Genotype<G>, ? extends T>) - Static method in class io.jenetics.engine.Evaluators
-
Return a new fitness evaluator, which evaluates asynchronous fitness functions.
- attach(Stream<? extends T>) - Method in class io.jenetics.util.StreamPublisher
-
Attaches the given stream to the publisher.
B
- BaseMSeq<T> - Interface in io.jenetics.internal.collection
-
General base interface for an ordered, fixed sized, mutable, object sequence.
- BaseMSeqIterator<T> - Class in io.jenetics.internal.collection
- BaseMSeqIterator(BaseMSeq<T>) - Constructor for class io.jenetics.internal.collection.BaseMSeqIterator
- BaseSeq<T> - Interface in io.jenetics.util
-
General base interface for an ordered, fixed sized, object sequence.
- BaseSeqIterator<T,
S extends BaseSeq<T>> - Class in io.jenetics.internal.collection - BaseSeqIterator(S) - Constructor for class io.jenetics.internal.collection.BaseSeqIterator
- BaseSeqSpliterator<T> - Class in io.jenetics.internal.collection
- BaseSeqSpliterator(BaseSeq<T>) - Constructor for class io.jenetics.internal.collection.BaseSeqSpliterator
- BaseSeqSpliterator(BaseSeq<T>, int, int) - Constructor for class io.jenetics.internal.collection.BaseSeqSpliterator
- Basics - Class in io.jenetics.internal.math
-
This object contains mathematical helper functions.
- before(EvolutionStart<G, C>) - Method in interface io.jenetics.engine.EvolutionInterceptor
-
This method is called right before the evaluation of a generation is started.
- before(EvolutionStart<G, C>) - Method in class io.jenetics.engine.FitnessNullifier
-
Nullifies the fitness values of the population, if requested.
- best() - Method in enum class io.jenetics.Optimize
-
Return a
null
-friendly function which returns the best element of two values. - best(C, C) - Method in enum class io.jenetics.Optimize
-
Return the best value, according to this optimization direction.
- bestFitness() - Method in class io.jenetics.engine.EvolutionResult
-
Return the best population fitness.
- bestPhenotype() - Method in class io.jenetics.engine.EvolutionResult
-
Return the best
Phenotype
of the result population. - bit() - Method in enum class io.jenetics.BitGene
-
Return the value of the BitGene.
- BitArray - Class in io.jenetics.internal.collection
-
This class represents a fixed sized array of bit or boolean values, backed by a
byte[]
array. - BitChromosome - Class in io.jenetics
-
Implementation of the classical BitChromosome.
- BitChromosome(byte[]) - Constructor for class io.jenetics.BitChromosome
-
Create a new
BitChromosome
from the givenbyte
array. - BitChromosome(byte[], int, int) - Constructor for class io.jenetics.BitChromosome
-
Create a new bit chromosome from the given bit (byte) array.
- BitChromosome(byte[], int, int, double) - Constructor for class io.jenetics.BitChromosome
-
Create a new bit chromosome from the given bit (byte) array.
- bitCount() - Method in class io.jenetics.BitChromosome
-
Returns the number of bits set to true in this
BitChromosome
. - bitCount() - Method in class io.jenetics.internal.collection.BitArray
-
Return the number of set bits of this bit-array.
- BitGene - Enum Class in io.jenetics
-
Implementation of a BitGene.
- Bits - Class in io.jenetics.internal.util
-
Some bit utils.
- BoltzmannSelector<G extends Gene<?,
G>, N extends Number & Comparable<? super N>> - Class in io.jenetics -
In this
Selector
, the probability for selection is defined as. - BoltzmannSelector() - Constructor for class io.jenetics.BoltzmannSelector
-
Create a new BoltzmannSelector with a default beta of 4.0.
- BoltzmannSelector(double) - Constructor for class io.jenetics.BoltzmannSelector
-
Create a new BoltzmannSelector with the given b value.
- booleanValue() - Method in class io.jenetics.BitChromosome
-
Return the value of the first gene of this chromosome.
- booleanValue() - Method in enum class io.jenetics.BitGene
-
Return the
boolean
value of this gene. - booleanValue(int) - Method in class io.jenetics.BitChromosome
-
Return the value on the specified index.
- BoundedChromosome<A extends Comparable<? super A>,
G extends BoundedGene<A, G>> - Interface in io.jenetics -
Chromosome interface for
BoundedGene
s. - BoundedGene<A extends Comparable<? super A>,
G extends BoundedGene<A, G>> - Interface in io.jenetics -
Base interface for genes where the alleles are bound by a minimum and a maximum value.
- build() - Method in class io.jenetics.engine.Engine.Builder
-
Builds a new
Engine
instance from the set properties. - build() - Method in class io.jenetics.engine.EvolutionParams.Builder
-
Builds a new
EvolutionParams
instance from the set properties. - builder() - Static method in class io.jenetics.engine.EvolutionParams
-
Create a new evolution parameter builder.
- builder(Problem<T, G, C>) - Static method in class io.jenetics.engine.Engine
-
Create a new evolution
Engine.Builder
for the givenProblem
. - builder(Function<? super Genotype<G>, ? extends C>, Chromosome<G>, Chromosome<G>...) - Static method in class io.jenetics.engine.Engine
-
Create a new evolution
Engine.Builder
with the given fitness function and chromosome templates. - builder(Function<? super Genotype<G>, ? extends C>, Factory<Genotype<G>>) - Static method in class io.jenetics.engine.Engine
-
Create a new evolution
Engine.Builder
with the given fitness function and genotype factory. - builder(Function<? super T, ? extends C>, Codec<T, G>) - Static method in class io.jenetics.engine.Engine
-
Create a new evolution
Engine.Builder
with the given fitness function and problemcodec
. - Builder(Evaluator<G, C>, Factory<Genotype<G>>) - Constructor for class io.jenetics.engine.Engine.Builder
-
Create a new evolution
Engine.Builder
with the given fitness evaluator and genotype factory. - byExecutionTime(Duration) - Static method in class io.jenetics.engine.Limits
-
Return a predicate, which will truncate the evolution stream if the GA execution exceeds a given time duration.
- byExecutionTime(Duration, InstantSource) - Static method in class io.jenetics.engine.Limits
-
Return a predicate, which will truncate the evolution stream if the GA execution exceeds a given time duration.
- byFitnessConvergence(int, int, double) - Static method in class io.jenetics.engine.Limits
-
Return a predicate, which will truncate the evolution stream if the fitness is converging.
- byFitnessConvergence(int, int, BiPredicate<DoubleMoments, DoubleMoments>) - Static method in class io.jenetics.engine.Limits
-
Return a predicate, which will truncate the evolution stream if the fitness is converging.
- byFitnessThreshold(C) - Static method in class io.jenetics.engine.Limits
-
Return a predicate, which will truncated the evolution stream if the best fitness of the current population becomes less than the specified threshold, and the objective is set to minimize the fitness.
- byFixedGeneration(long) - Static method in class io.jenetics.engine.Limits
-
Return a predicate, which will truncate the evolution stream after the given number of generations.
- byGeneConvergence(double, double) - Static method in class io.jenetics.engine.Limits
-
A termination method that stops the evolution when a user-specified percentage of the genes (
convergedGeneRage
) that make up aGenotype
are deemed as converged. - byGeneConvergence(Predicate<DoubleMoments>, double) - Static method in class io.jenetics.engine.Limits
-
A termination method that stops the evolution when a user-specified percentage of the genes (
convergedGeneRage
) that make up aGenotype
are deemed as converged. - byPopulationConvergence(double) - Static method in class io.jenetics.engine.Limits
-
A termination method that stops the evolution when the population is deemed as converged.
- byPopulationConvergence(BiPredicate<Double, DoubleMoments>) - Static method in class io.jenetics.engine.Limits
-
A termination method that stops the evolution when the population is deemed as converged.
- bySteadyFitness(int) - Static method in class io.jenetics.engine.Limits
-
Return a predicate, which will truncate the evolution stream if no better phenotype could be found after the given number of
generations
. - byteValue() - Method in class io.jenetics.DoubleGene
- byteValue() - Method in class io.jenetics.IntegerGene
- byteValue() - Method in class io.jenetics.LongGene
- byteValue() - Method in interface io.jenetics.NumericChromosome
-
Return the byte value of this
NumericChromosome
at theindex
0. - byteValue() - Method in interface io.jenetics.NumericGene
-
Returns the value of the specified gene as a byte.
- byteValue(int) - Method in interface io.jenetics.NumericChromosome
-
Return the byte value of this
NumericChromosome
at the givenindex
.
C
- CharacterChromosome - Class in io.jenetics
-
Character chromosome which represents character sequences.
- CharacterChromosome(ISeq<CharacterGene>, IntRange) - Constructor for class io.jenetics.CharacterChromosome
-
Create a new chromosome from the given
genes
array. - CharacterGene - Class in io.jenetics
-
Character gene implementation.
- characteristics() - Method in class io.jenetics.internal.collection.BaseSeqSpliterator
- characteristics() - Method in class io.jenetics.internal.engine.EvolutionSpliterator
- characteristics() - Method in class io.jenetics.internal.util.LimitSpliterator
- characteristics() - Method in interface io.jenetics.util.Accumulator
- charAt(int) - Method in class io.jenetics.CharacterChromosome
- charAt(int) - Method in class io.jenetics.util.CharSeq
- CharSeq - Class in io.jenetics.util
-
This class is used for holding the valid characters of an
CharacterGene
. - CharSeq(char[]) - Constructor for class io.jenetics.util.CharSeq
-
Create a new (distinct) CharSeq from the given
characters
. - CharSeq(CharSequence) - Constructor for class io.jenetics.util.CharSeq
-
Create a new (distinct) CharSeq from the given
characters
. - CharStore - Class in io.jenetics.internal.collection
- CharStore(int) - Constructor for class io.jenetics.internal.collection.CharStore
- charValue() - Method in class io.jenetics.CharacterGene
-
Return the
char
value of this character gene. - checkIndex(int) - Method in class io.jenetics.internal.collection.Array
-
Check the given array
index
- checkIndex(int, int) - Method in class io.jenetics.internal.collection.Array
-
Check the given
from
anduntil
indices. - checkIndex(int, int, int) - Static method in class io.jenetics.internal.collection.Array
-
Check the given
from
anduntil
indices. - checkIndex(int, int, int, int) - Method in class io.jenetics.internal.collection.ArrayMSeq
- chromosome() - Method in class io.jenetics.Genotype
-
Return the first chromosome.
- Chromosome<G extends Gene<?,
G>> - Interface in io.jenetics -
A chromosome consists of one or more genes.
- clamp(double, double, double) - Static method in class io.jenetics.internal.math.Basics
-
Clamping a value between a pair of boundary values.
- clock() - Method in class io.jenetics.engine.Engine.Builder
-
Return the
InstantSource
the engine is using for measuring the execution time. - clock() - Method in class io.jenetics.engine.Engine
-
Return the
InstantSource
the engine is using for measuring the execution time. - clock(InstantSource) - Method in class io.jenetics.engine.Engine.Builder
-
The clock used for calculating the execution durations.
- close() - Method in class io.jenetics.internal.util.Concurrency
- close() - Method in interface io.jenetics.internal.util.Lifecycle.ExtendedCloseable
- close() - Method in class io.jenetics.internal.util.Lifecycle.Resources
- close() - Method in class io.jenetics.internal.util.Lifecycle.Value
- close() - Method in class io.jenetics.internal.util.StreamProxy
- close() - Method in class io.jenetics.util.StreamPublisher
-
Unless already closed, issues
onComplete
signals to current subscribers, and disallows subsequent attempts to publish. - codec() - Method in interface io.jenetics.engine.Problem
-
Return the codec, which translates the types of the problem domain into types, which can be understood by the evolution
Engine
. - Codec<T,
G extends Gene<?, G>> - Interface in io.jenetics.engine -
A problem
Codec
contains the information about how to encode a given argument type into aGenotype
. - Codecs - Class in io.jenetics.engine
-
This class contains factory methods for creating common problem encodings.
- collect(Supplier<R>, BiConsumer<R, ? super T>, BiConsumer<R, R>) - Method in class io.jenetics.internal.util.StreamProxy
- collect(Collector<? super T, A, R>) - Method in class io.jenetics.internal.util.StreamProxy
- combine(A) - Method in interface io.jenetics.util.Accumulator
-
Combines
this
accumulator with theother
one. - combine(DoubleAdder) - Method in class io.jenetics.internal.math.DoubleAdder
-
Add the given
value
to this adder, using the Kahan summation algorithm - combine(DoubleMomentStatistics) - Method in class io.jenetics.stat.DoubleMomentStatistics
-
Combine two
DoubleMoments
statistic objects. - combine(IntMomentStatistics) - Method in class io.jenetics.stat.IntMomentStatistics
-
Combine two
IntMoments
statistic objects. - combine(LongMomentStatistics) - Method in class io.jenetics.stat.LongMomentStatistics
-
Combine two
LongMoments
statistic objects. - combine(MinMax<C>) - Method in class io.jenetics.stat.MinMax
-
Combine two
MinMax
objects. - combine(Quantile) - Method in class io.jenetics.stat.Quantile
-
Combine two
Quantile
objects. - CombineAlterer<G extends Gene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics -
Alters a chromosome by replacing two genes by the result of a given combiner function.
- CombineAlterer(BinaryOperator<G>) - Constructor for class io.jenetics.CombineAlterer
-
Create a new combiner alterer with the given arguments.
- CombineAlterer(BinaryOperator<G>, double) - Constructor for class io.jenetics.CombineAlterer
-
Create a new combiner alterer with the given arguments.
- combiner() - Method in class io.jenetics.CombineAlterer
-
Return the combiner function, used by
this
alterer. - combiner() - Method in interface io.jenetics.util.Accumulator
- compare(int, int) - Method in interface io.jenetics.internal.util.IntComparator
-
Compares its two arguments for order.
- compare(T, int, int) - Method in interface io.jenetics.util.ProxySorter.Comparator
-
Compares the two array elements, specified by its indices, for order.
- compare(T, T) - Method in enum class io.jenetics.Optimize
-
Compares two comparable objects.
- compareTo(G) - Method in interface io.jenetics.BoundedGene
- compareTo(BitChromosome) - Method in class io.jenetics.BitChromosome
- compareTo(CharacterGene) - Method in class io.jenetics.CharacterGene
- compareTo(DoubleGene) - Method in class io.jenetics.DoubleGene
- compareTo(EvolutionDurations) - Method in record class io.jenetics.engine.EvolutionDurations
-
Compares two durations objects.
- compareTo(EvolutionResult<G, C>) - Method in class io.jenetics.engine.EvolutionResult
-
Compare
this
evolution result with another one, according the population's best individual. - compareTo(EnumGene<A>) - Method in class io.jenetics.EnumGene
- compareTo(IntegerGene) - Method in class io.jenetics.IntegerGene
- compareTo(DoubleAdder) - Method in class io.jenetics.internal.math.DoubleAdder
- compareTo(LongGene) - Method in class io.jenetics.LongGene
- compareTo(Phenotype<G, C>) - Method in class io.jenetics.Phenotype
- compareTo(CharSeq) - Method in class io.jenetics.util.CharSeq
- compareTo(Ordered<T>) - Method in class io.jenetics.util.Ordered
- complement(byte[]) - Static method in class io.jenetics.internal.util.Bits
-
Make the two's complement of the given
data
array. - completable(Function<? super Genotype<G>, ? extends CompletableFuture<C>>) - Static method in class io.jenetics.engine.Evaluators
-
Return a new fitness evaluator, which evaluates asynchronous fitness functions.
- completable(Function<? super T, ? extends CompletableFuture<C>>, Codec<T, G>) - Static method in class io.jenetics.engine.Evaluators
-
Return a new fitness evaluator, which evaluates asynchronous fitness functions.
- completable(Function<? super T, ? extends CompletableFuture<C>>, Function<? super Genotype<G>, ? extends T>) - Static method in class io.jenetics.engine.Evaluators
-
Return a new fitness evaluator, which evaluates asynchronous fitness functions.
- compose(Alterer<G, C>) - Method in interface io.jenetics.Alterer
-
Returns a composed alterer that first applies the
before
alterer to its input, and then appliesthis
alterer to the result. - compose(EvolutionInterceptor<G, C>) - Method in interface io.jenetics.engine.EvolutionInterceptor
-
Composes
this
interceptor with theother
one. - concat(ISeq<? extends T>, ISeq<? extends T>) - Static method in interface io.jenetics.util.ISeq
-
Return a sequence whose elements are all the elements of the first sequence followed by all the elements of the second sequence.
- concat(ISeq<? extends T>, T...) - Static method in interface io.jenetics.util.ISeq
-
Return a sequence whose elements are all the elements of the first sequence followed by all the elements of the vararg array.
- concat(MSeq<? extends T>, MSeq<? extends T>) - Static method in interface io.jenetics.util.MSeq
-
Return a sequence whose elements are all the elements of the first sequence followed by all the elements of the second sequence.
- concat(MSeq<? extends T>, T...) - Static method in interface io.jenetics.util.MSeq
-
Return a sequence whose elements are all the elements of the first sequence followed by all the elements of the vararg array.
- concat(Seq<? extends T>, Seq<? extends T>) - Static method in interface io.jenetics.util.Seq
-
Return a sequence whose elements are all the elements of the first sequence followed by all the elements of the second sequence.
- concat(Seq<? extends T>, T...) - Static method in interface io.jenetics.util.Seq
-
Return a sequence whose elements are all the elements of the first sequence followed by all the elements of the vararg array.
- concat(T, ISeq<? extends T>) - Static method in interface io.jenetics.util.ISeq
-
Return a sequence whose elements are all the elements of the first element followed by all the elements of the sequence.
- concat(T, MSeq<? extends T>) - Static method in interface io.jenetics.util.MSeq
-
Return a sequence whose elements are all the elements of the first element followed by all the elements of the sequence.
- concat(T, Seq<? extends T>) - Static method in interface io.jenetics.util.Seq
-
Return a sequence whose elements are all the elements of the first element followed by all the elements of the sequence.
- Concurrency - Class in io.jenetics.internal.util
- Concurrency() - Constructor for class io.jenetics.internal.util.Concurrency
- concurrent(Function<? super Genotype<G>, ? extends C>, Executor) - Static method in class io.jenetics.engine.Evaluators
-
Return a new fitness evaluator, which evaluates the fitness function of the population (concurrently) with the given
executor
. - concurrent(Function<? super T, ? extends C>, Codec<T, G>, Executor) - Static method in class io.jenetics.engine.Evaluators
-
Return a new fitness evaluator, which evaluates the fitness function of the population (concurrently) with the given
executor
. - concurrent(Function<? super T, ? extends C>, Function<? super Genotype<G>, ? extends T>, Executor) - Static method in class io.jenetics.engine.Evaluators
-
Return a new fitness evaluator, which evaluates the fitness function of the population (concurrently) with the given
executor
. - constrain(Codec<T, G>) - Method in interface io.jenetics.engine.Constraint
-
Wraps the given codec into a codec, which obeys
this
constraint. - constrain(InvertibleCodec<T, G>) - Method in interface io.jenetics.engine.Constraint
-
Wraps the given codec into a codec, which obeys
this
constraint. - constrain(Factory<Genotype<G>>) - Method in interface io.jenetics.engine.Constraint
-
Wraps the given genotype factory into a factory, which only creates individuals obeying
this
constraint. - constraint() - Method in class io.jenetics.engine.Engine.Builder
-
Return the constraint of the evolution problem.
- constraint() - Method in class io.jenetics.engine.Engine
-
Return the constraint of the evolution problem.
- constraint() - Method in interface io.jenetics.engine.Problem
-
Return the constraint, associated with
this
problem, if available. - constraint(Constraint<G, C>) - Method in class io.jenetics.engine.Engine.Builder
-
The phenotype constraint is used for detecting invalid individuals and repairing them.
- Constraint<G extends Gene<?,
G>, C extends Comparable<? super C>> - Interface in io.jenetics.engine -
This interface allows you to define constraints on single phenotypes.
- contains(char) - Method in class io.jenetics.util.CharSeq
-
Test whether this character set contains the given character
c
. - contains(Character) - Method in class io.jenetics.util.CharSeq
-
Test whether this character set contains the given character
c
. - contains(Object) - Method in class io.jenetics.util.CharSeq
- contains(Object) - Method in interface io.jenetics.util.Seq
-
Returns
true
if this sequence contains the specified element. - copy() - Method in class io.jenetics.engine.Engine.Builder
-
Create a new builder, with the current configuration.
- copy() - Method in class io.jenetics.internal.collection.Array
-
Return a copy of this array.
- copy() - Method in interface io.jenetics.internal.collection.Array.Store
-
Return a new array
Store
copy. - copy() - Method in class io.jenetics.internal.collection.ArrayISeq
- copy() - Method in class io.jenetics.internal.collection.ArrayMSeq
- copy() - Method in class io.jenetics.internal.collection.BitArray
-
Create a new copy of
this
bit-array. - copy() - Method in enum class io.jenetics.internal.collection.Empty.EmptyISeq
- copy() - Method in enum class io.jenetics.internal.collection.Empty.EmptyMSeq
- copy() - Method in interface io.jenetics.util.Copyable
-
Return a new copy of type
T
. - copy() - Method in interface io.jenetics.util.ISeq
-
Return a shallow copy of this sequence.
- copy(byte[], int, int) - Static method in class io.jenetics.internal.util.Bits
-
Copies the specified range of the specified array into a new array.
- copy(int) - Method in interface io.jenetics.internal.collection.Array.Store
-
Return a new array
Store
with the copied portion of the underlying array. - copy(int, int) - Method in interface io.jenetics.internal.collection.Array.Store
-
Return a new array
Store
with the copied portion of the underlying array. - copy(int, int) - Method in class io.jenetics.internal.collection.Array.Store.Ref
- copy(int, int) - Method in class io.jenetics.internal.collection.CharStore
- copy(int, int) - Method in class io.jenetics.internal.collection.ObjectStore
- Copyable<T> - Interface in io.jenetics.util
-
This interface indicates that a class can create a copy of type
T
. - copyIfSealed() - Method in class io.jenetics.internal.collection.Array
- CORES - Static variable in class io.jenetics.internal.util.Concurrency
- count() - Method in class io.jenetics.internal.util.StreamProxy
- count() - Method in record class io.jenetics.stat.DoubleMoments
-
Returns the value of the
count
record component. - count() - Method in record class io.jenetics.stat.DoubleSummary
-
Returns the value of the
count
record component. - count() - Method in record class io.jenetics.stat.IntMoments
-
Returns the value of the
count
record component. - count() - Method in record class io.jenetics.stat.IntSummary
-
Returns the value of the
count
record component. - count() - Method in record class io.jenetics.stat.LongMoments
-
Returns the value of the
count
record component. - count() - Method in record class io.jenetics.stat.LongSummary
-
Returns the value of the
count
record component. - count() - Method in class io.jenetics.stat.MinMax
-
Returns the count of values recorded.
- count() - Method in class io.jenetics.stat.LongMomentStatistics
-
Returns the count of values recorded.
- count() - Method in class io.jenetics.stat.Quantile
-
Return the number of samples the quantile value was calculated of.
- count(byte) - Static method in class io.jenetics.internal.util.Bits
-
Returns the number of one-bits in the given
byte
value
. - count(byte[]) - Static method in class io.jenetics.internal.util.Bits
-
Returns the number of one-bits in the given
byte[]
array. - count(byte[], int, int) - Static method in class io.jenetics.internal.util.Bits
-
Returns the number of one-bits in the given
byte[]
array. - crossover(MSeq<G>, MSeq<G>) - Method in class io.jenetics.Crossover
-
Template method which performs the crossover.
- crossover(MSeq<G>, MSeq<G>) - Method in class io.jenetics.IntermediateCrossover
- crossover(MSeq<G>, MSeq<G>) - Method in class io.jenetics.LineCrossover
- crossover(MSeq<G>, MSeq<G>) - Method in class io.jenetics.MultiPointCrossover
- crossover(MSeq<G>, MSeq<G>) - Method in class io.jenetics.SinglePointCrossover
- crossover(MSeq<G>, MSeq<G>) - Method in class io.jenetics.UniformCrossover
- crossover(MSeq<EnumGene<T>>, MSeq<EnumGene<T>>) - Method in class io.jenetics.PartiallyMatchedCrossover
- Crossover<G extends Gene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics -
Performs a Crossover of two
Chromosome
. - Crossover(double) - Constructor for class io.jenetics.Crossover
-
Constructs an alterer with a given recombination probability.
- crossoverPointCount() - Method in class io.jenetics.MultiPointCrossover
-
Return the number of crossover points.
D
- decode(Genotype<G>) - Method in interface io.jenetics.engine.Codec
- decode(Genotype<G>) - Method in interface io.jenetics.engine.Problem
- decoder() - Method in interface io.jenetics.engine.Codec
-
Return the decoder function which transforms the genotype back to the original problem domain representation.
- DEFAULT_ALTER_PROBABILITY - Static variable in interface io.jenetics.Alterer
-
The default alter probability: 0.2
- DEFAULT_CHARACTERS - Static variable in class io.jenetics.CharacterGene
-
The default character set used by this gene.
- DEFAULT_RETRY_COUNT - Static variable in class io.jenetics.engine.RetryConstraint
-
The default retry-count for creating new, valid phenotypes.
- descending() - Method in enum class io.jenetics.Optimize
-
Create an appropriate comparator of the given optimization strategy.
- distinct() - Method in class io.jenetics.internal.util.StreamProxy
- divide(double[], double) - Static method in class io.jenetics.internal.math.Basics
-
Component wise division of the given double array.
- DoubleAdder - Class in io.jenetics.internal.math
-
This class implements the the Kahan summation algorithm, which significantly reduces the numerical error when adding double values.
- DoubleAdder() - Constructor for class io.jenetics.internal.math.DoubleAdder
-
Create a new adder with the initial value of
0.0
. - DoubleAdder(double) - Constructor for class io.jenetics.internal.math.DoubleAdder
-
Create a new adder with the given default
value
. - doubleArg(String) - Method in class io.jenetics.internal.util.Args
-
Return the double-argument with the given name.
- DoubleChromosome - Class in io.jenetics
-
Numeric chromosome implementation which holds 64-bit floating point numbers.
- DoubleChromosome(ISeq<DoubleGene>, IntRange) - Constructor for class io.jenetics.DoubleChromosome
-
Create a new chromosome from the given
genes
and the allowed length range of the chromosome. - DoubleGene - Class in io.jenetics
-
Implementation of the NumericGene which holds a 64-bit floating point number.
- DoubleMoments - Record Class in io.jenetics.stat
-
Value objects which contains statistical moments.
- DoubleMoments(long, double, double, double, double, double, double, double) - Constructor for record class io.jenetics.stat.DoubleMoments
-
Creates an instance of a
DoubleMoments
record class. - DoubleMomentStatistics - Class in io.jenetics.stat
-
A state object for collecting statistics such as count, min, max, sum, mean, variance, skewness and kurtosis.
- DoubleMomentStatistics() - Constructor for class io.jenetics.stat.DoubleMomentStatistics
-
Create an empty moments object.
- DoubleRange - Class in io.jenetics.util
-
Double range class.
- doubles() - Method in class io.jenetics.util.RandomAdapter
- doubles(double, double) - Method in class io.jenetics.util.RandomAdapter
- doubles(long) - Method in class io.jenetics.util.RandomAdapter
- doubles(long, double, double) - Method in class io.jenetics.util.RandomAdapter
- doubleStream() - Method in class io.jenetics.DoubleChromosome
-
Returns a sequential stream of the alleles with this chromosome as its source.
- DoubleSummary - Record Class in io.jenetics.stat
-
Value objects which contains statistical summary information.
- DoubleSummary(long, double, double, double, double) - Constructor for record class io.jenetics.stat.DoubleSummary
-
Creates an instance of a
DoubleSummary
record class. - doubleValue() - Method in class io.jenetics.BitChromosome
-
Return the double value this BitChromosome represents.
- doubleValue() - Method in class io.jenetics.DoubleGene
- doubleValue() - Method in class io.jenetics.IntegerGene
- doubleValue() - Method in class io.jenetics.internal.math.DoubleAdder
- doubleValue() - Method in class io.jenetics.LongGene
- doubleValue() - Method in interface io.jenetics.NumericChromosome
-
Return the double value of this
NumericChromosome
at theindex
0. - doubleValue() - Method in interface io.jenetics.NumericGene
-
Returns the value of the specified gene as a double.
- doubleValue(int) - Method in interface io.jenetics.NumericChromosome
-
Return the double value of this
NumericChromosome
at the givenindex
. - dropWhile(Predicate<? super T>) - Method in class io.jenetics.internal.util.StreamProxy
- durations() - Method in class io.jenetics.engine.EvolutionResult
-
Return the timing (meta) information of the evolution step.
E
- EliteSelector<G extends Gene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics -
The
EliteSelector
copies a small proportion of the fittest candidates, without changes, into the next generation. - EliteSelector() - Constructor for class io.jenetics.EliteSelector
-
Create a new elite selector with elite count 1, and the selector for selecting the rest of the population is initialized with
TournamentSelector<>(3)
- EliteSelector(int) - Constructor for class io.jenetics.EliteSelector
-
Create a new elite selector with the desired number of elites to be selected.
- EliteSelector(int, Selector<G, C>) - Constructor for class io.jenetics.EliteSelector
-
Create a new elite selector with the desired number of elites to be selected, and the selector used for selecting the rest of the population.
- EliteSelector(Selector<G, C>) - Constructor for class io.jenetics.EliteSelector
-
Create a new elite selector with selector used for selecting the rest of the population.
- empty() - Static method in class io.jenetics.engine.EvolutionStart
-
An empty evolution start object, which can be used as initial evolution value.
- empty() - Static method in interface io.jenetics.util.ISeq
-
Return an empty
ISeq
. - empty() - Static method in interface io.jenetics.util.MSeq
-
Return an empty
MSeq
. - empty() - Static method in interface io.jenetics.util.Seq
-
Return an empty
Seq
. - Empty - Class in io.jenetics.internal.collection
-
Contains static
Seq
definitions. - EMPTY - Static variable in interface io.jenetics.util.ISeq
-
Single instance of an empty
ISeq
. - EMPTY - Static variable in interface io.jenetics.util.MSeq
-
Single instance of an empty
MSeq
. - EMPTY - Static variable in interface io.jenetics.util.Seq
-
Single instance of an empty
Seq
. - Empty.EmptyISeq - Enum Class in io.jenetics.internal.collection
- Empty.EmptyMSeq - Enum Class in io.jenetics.internal.collection
- encode(T) - Method in interface io.jenetics.engine.InvertibleCodec
-
Decodes the given
value
, which is an element of the native problem domain, into aGenotype
. - encoder() - Method in interface io.jenetics.engine.InvertibleCodec
-
Return the encoder function which transforms a value from the native problem domain back to the genotype.
- encoding() - Method in interface io.jenetics.engine.Codec
-
Return the genotype factory for creating genotypes with the right encoding for the given problem.
- Engine<G extends Gene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics.engine -
Genetic algorithm engine which is the main class.
- Engine.Builder<G extends Gene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics.engine -
Builder class for building GA
Engine
instances. - Engine.Setup<G extends Gene<?,
G>, C extends Comparable<? super C>> - Interface in io.jenetics.engine -
This interface represents a recipe for configuring (setup) a given
Engine.Builder
. - EnumGene<A> - Class in io.jenetics
-
Gene which holds enumerable (countable) genes.
- EPSILON - Static variable in class io.jenetics.internal.math.Probabilities
-
Values smaller than this value are treated as zero.
- equals(BaseSeq<?>, Object) - Static method in interface io.jenetics.util.Seq
-
Unified method for compare to sequences for equality.
- equals(Object) - Method in class io.jenetics.DoubleChromosome
- equals(Object) - Method in class io.jenetics.AbstractChromosome
- equals(Object) - Method in record class io.jenetics.AltererResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class io.jenetics.AnyGene
- equals(Object) - Method in class io.jenetics.BitChromosome
- equals(Object) - Method in class io.jenetics.CharacterChromosome
- equals(Object) - Method in class io.jenetics.CharacterGene
- equals(Object) - Method in class io.jenetics.DoubleGene
- equals(Object) - Method in record class io.jenetics.engine.EvolutionDurations
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class io.jenetics.engine.EvolutionInit
- equals(Object) - Method in class io.jenetics.engine.EvolutionResult
- equals(Object) - Method in class io.jenetics.engine.EvolutionStart
- equals(Object) - Method in class io.jenetics.EnumGene
- equals(Object) - Method in class io.jenetics.Genotype
- equals(Object) - Method in class io.jenetics.IntegerGene
- equals(Object) - Method in class io.jenetics.internal.collection.ArraySeq
- equals(Object) - Method in class io.jenetics.internal.collection.BitArray
- equals(Object) - Method in class io.jenetics.internal.math.DoubleAdder
- equals(Object) - Method in class io.jenetics.internal.util.IntRef
- equals(Object) - Method in class io.jenetics.internal.util.Lazy
- equals(Object) - Method in class io.jenetics.LongGene
- equals(Object) - Method in record class io.jenetics.MutatorResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class io.jenetics.Phenotype
- equals(Object) - Method in record class io.jenetics.stat.DoubleMoments
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.jenetics.stat.DoubleSummary
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.jenetics.stat.IntMoments
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.jenetics.stat.IntSummary
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.jenetics.stat.LongMoments
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.jenetics.stat.LongSummary
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class io.jenetics.util.CharSeq
- equals(Object) - Method in class io.jenetics.util.DoubleRange
- equals(Object) - Method in class io.jenetics.util.IntRange
- equals(Object) - Method in class io.jenetics.util.LongRange
- equals(Object) - Method in class io.jenetics.util.NanoClock
- equals(Object) - Method in interface io.jenetics.util.Seq
-
Compares the specified object with this sequence for equality.
- equals(Object) - Method in class io.jenetics.AnyChromosome
- estimateSize() - Method in class io.jenetics.internal.collection.BaseSeqSpliterator
- estimateSize() - Method in class io.jenetics.internal.engine.EvolutionSpliterator
- estimateSize() - Method in class io.jenetics.internal.util.LimitSpliterator
- eval(Seq<Phenotype<G, C>>) - Method in class io.jenetics.engine.Engine
-
Evaluates the fitness function of the given population with the configured
Evaluator
of this engine and returns a new population with its fitness value assigned. - eval(Seq<Phenotype<G, C>>) - Method in interface io.jenetics.engine.Evaluator
-
Evaluates the fitness values of the given
population
. - eval(Function<? super Genotype<G>, ? extends C>) - Method in class io.jenetics.Phenotype
-
Applies the given fitness function to the underlying genotype and return a new phenotype with the (newly) evaluated fitness function, if not already evaluated.
- evaluationDuration() - Method in record class io.jenetics.engine.EvolutionDurations
-
Returns the value of the
evaluationDuration
record component. - evaluationDuration() - Method in class io.jenetics.engine.EvolutionStatistics
-
Return the duration statistics needed for evaluating the fitness function of the new individuals, in seconds.
- Evaluator<G extends Gene<?,
G>, C extends Comparable<? super C>> - Interface in io.jenetics.engine -
This interface allows defining different strategies for evaluating the fitness functions of a given population.
- Evaluators - Class in io.jenetics.engine
-
This class contains factory methods for creating commonly usable
Evaluator
implementations. - Evolution<G extends Gene<?,
G>, C extends Comparable<? super C>> - Interface in io.jenetics.engine -
This functional interface defines the evolution function, which takes an
EvolutionStart
object, evolves the population, and returns anEvolutionResult
object. - EvolutionDurations - Record Class in io.jenetics.engine
-
This class contains timing information about one evolution step.
- EvolutionDurations(Duration, Duration, Duration, Duration, Duration, Duration, Duration) - Constructor for record class io.jenetics.engine.EvolutionDurations
-
Creates an instance of a
EvolutionDurations
record class. - EvolutionInit<G extends Gene<?,
G>> - Class in io.jenetics.engine -
Represents the initialization value of an evolution stream/iterator.
- EvolutionInterceptor<G extends Gene<?,
G>, C extends Comparable<? super C>> - Interface in io.jenetics.engine -
The evolution interceptor allows updating the
EvolutionStart
object, before the evolution start, and update theEvolutionResult
object after the evolution. - evolutionParams() - Method in class io.jenetics.engine.Engine.Builder
-
Return the currently set evolution parameters.
- evolutionParams(EvolutionParams<G, C>) - Method in class io.jenetics.engine.Engine.Builder
-
Set the evolution parameters used by the engine.
- evolutionParams(EvolutionParams<G, C>) - Method in class io.jenetics.engine.EvolutionParams.Builder
- EvolutionParams<G extends Gene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics.engine -
This class collects the parameters which control the behavior of the evolution process.
- EvolutionParams.Builder<G extends Gene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics.engine -
Builder class for the evolution parameter.
- EvolutionResult<G extends Gene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics.engine -
Represents a state of the GA after an evolution step.
- EvolutionSpliterator<G extends Gene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics.internal.engine -
The
Spliterator
implementation of theEvolutionStream
. - EvolutionSpliterator(Supplier<EvolutionStart<G, C>>, Evolution<G, C>) - Constructor for class io.jenetics.internal.engine.EvolutionSpliterator
-
Create a new evolution spliterator with the given
start
element and theevolution
function. - EvolutionStart<G extends Gene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics.engine -
Represents a state of the GA at the start of an evolution step.
- EvolutionStatistics<C extends Comparable<? super C>,
FitnessStatistics> - Class in io.jenetics.engine -
This class can be used to gather additional statistic information of an evolution process.
- EvolutionStream<G extends Gene<?,
G>, C extends Comparable<? super C>> - Interface in io.jenetics.engine -
The
EvolutionStream
class extends the JavaStream
and adds a method for limiting the evolution by a given predicate. - EvolutionStreamable<G extends Gene<?,
G>, C extends Comparable<? super C>> - Interface in io.jenetics.engine -
This interface defines the capability of creating
EvolutionStream
s from a givenEvolutionStart
object. - EvolutionStreamImpl<G extends Gene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics.internal.engine - EvolutionStreamImpl(Supplier<EvolutionStart<G, C>>, Evolution<G, C>) - Constructor for class io.jenetics.internal.engine.EvolutionStreamImpl
- EvolutionStreamImpl(Spliterator<EvolutionResult<G, C>>, boolean) - Constructor for class io.jenetics.internal.engine.EvolutionStreamImpl
- evolve(EvolutionStart<G, C>) - Method in class io.jenetics.engine.Engine
- evolve(EvolutionStart<G, C>) - Method in interface io.jenetics.engine.Evolution
-
Perform one evolution step with the given evolution
start
object New phenotypes are created with the fitness function defined by this engine - evolve(ISeq<Phenotype<G, C>>, long) - Method in interface io.jenetics.engine.Evolution
-
Perform one evolution step with the given
population
andgeneration
. - evolveDuration() - Method in record class io.jenetics.engine.EvolutionDurations
-
Returns the value of the
evolveDuration
record component. - evolveDuration() - Method in class io.jenetics.engine.EvolutionStatistics
-
Return the duration statistics needed for the whole evolved step, in seconds.
- execute(Seq<? extends Runnable>) - Method in class io.jenetics.internal.util.Concurrency
- executor() - Method in class io.jenetics.engine.Engine.Builder
-
Return the
Executor
the engine is using for executing the evolution steps. - executor() - Method in class io.jenetics.engine.Engine
-
Return the
Executor
the engine is using for executing the evolution steps. - executor(Executor) - Method in class io.jenetics.engine.Engine.Builder
-
The executor used by the engine.
- expand(char, char) - Static method in class io.jenetics.util.CharSeq
-
Expands the characters between
a
andb
. - expand(CharSequence) - Static method in class io.jenetics.util.CharSeq
-
Expands the character range for the given
pattern
. - ExponentialRankSelector<G extends Gene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics -
An alternative to the "weak"
LinearRankSelector
is to assign survival probabilities to the sorted individuals using an exponential function. - ExponentialRankSelector() - Constructor for class io.jenetics.ExponentialRankSelector
-
Create a new selector with the default value of 0.975.
- ExponentialRankSelector(double) - Constructor for class io.jenetics.ExponentialRankSelector
-
Create a new exponential rank selector.
F
- Factory<T> - Interface in io.jenetics.util
- FALSE - Enum constant in enum class io.jenetics.BitGene
- fill(Supplier<? extends T>) - Method in class io.jenetics.internal.collection.ArrayMSeq
- fill(Supplier<? extends T>) - Method in interface io.jenetics.util.MSeq
-
Fill the sequence with values generated by the given factory.
- filter(Predicate<? super T>) - Method in class io.jenetics.internal.util.StreamProxy
- findAny() - Method in class io.jenetics.internal.util.StreamProxy
- findFirst() - Method in class io.jenetics.internal.util.StreamProxy
- finisher() - Method in interface io.jenetics.util.Accumulator
- fitness() - Method in class io.jenetics.engine.EvolutionStatistics
-
Return the minimal and maximal fitness.
- fitness() - Method in interface io.jenetics.engine.Problem
-
Return the fitness function of the problem in the native problem domain.
- fitness() - Method in class io.jenetics.Phenotype
-
Return the fitness value of this
Phenotype
. - fitness(Genotype<G>) - Method in interface io.jenetics.engine.Problem
-
Returns the fitness value for the given argument.
- fitness(T) - Method in interface io.jenetics.engine.Problem
-
Returns the fitness value for the given argument.
- FitnessNullifier<G extends Gene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics.engine -
This class allows forcing a reevaluation of the fitness function.
- FitnessNullifier() - Constructor for class io.jenetics.engine.FitnessNullifier
- fitnessOptional() - Method in class io.jenetics.Phenotype
-
Return the fitness value of
this
phenotype, orOptional.empty()
if not evaluated yet. - flatMap(Function<? super T, ? extends Stream<? extends R>>) - Method in class io.jenetics.internal.util.StreamProxy
- flatMapToDouble(Function<? super T, ? extends DoubleStream>) - Method in class io.jenetics.internal.util.StreamProxy
- flatMapToInt(Function<? super T, ? extends IntStream>) - Method in class io.jenetics.internal.util.StreamProxy
- flatMapToLong(Function<? super T, ? extends LongStream>) - Method in class io.jenetics.internal.util.StreamProxy
- flip(byte[], int) - Static method in class io.jenetics.internal.util.Bits
-
Flip the bit at the given index.
- floatValue() - Method in class io.jenetics.BitChromosome
-
Return the float value this BitChromosome represents.
- floatValue() - Method in class io.jenetics.DoubleGene
- floatValue() - Method in class io.jenetics.IntegerGene
- floatValue() - Method in class io.jenetics.internal.math.DoubleAdder
- floatValue() - Method in class io.jenetics.LongGene
- floatValue() - Method in interface io.jenetics.NumericChromosome
-
Return the float value of this
NumericChromosome
at theindex
0. - floatValue() - Method in interface io.jenetics.NumericGene
-
Returns the value of the specified gene as a float.
- floatValue(int) - Method in interface io.jenetics.NumericChromosome
-
Return the float value of this
NumericChromosome
at the givenindex
. - forAll(Predicate<? super T>) - Method in class io.jenetics.internal.collection.ArraySeq
- forAll(Predicate<? super T>) - Method in interface io.jenetics.util.Seq
-
Tests whether a predicate holds for all elements of this sequence.
- forEach(Consumer<? super T>) - Method in class io.jenetics.internal.collection.ArraySeq
- forEach(Consumer<? super T>) - Method in class io.jenetics.internal.util.StreamProxy
- forEach(Consumer<? super T>) - Method in interface io.jenetics.util.BaseSeq
- forEachOrdered(Consumer<? super T>) - Method in class io.jenetics.internal.util.StreamProxy
- forEachRemaining(Consumer<? super T>) - Method in class io.jenetics.internal.collection.BaseSeqSpliterator
- fromByteArray(byte[]) - Method in class io.jenetics.util.IO
-
Creates a, previously serialized, object from the given
byte[]
array. - fromByteString(String) - Static method in class io.jenetics.internal.util.Bits
-
Convert a string which was created with the
Bits.toByteString(byte...)
method back to a byte array.
G
- GaussianMutator<G extends NumericGene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics -
The GaussianMutator class performs the mutation of a
NumericGene
. - GaussianMutator() - Constructor for class io.jenetics.GaussianMutator
- GaussianMutator(double) - Constructor for class io.jenetics.GaussianMutator
- gene() - Method in class io.jenetics.BitChromosome
- gene() - Method in interface io.jenetics.Chromosome
-
Return the first gene of this chromosome.
- gene() - Method in class io.jenetics.Genotype
- Gene<A,
G extends Gene<A, G>> - Interface in io.jenetics -
Genes are the atoms of the Jenetics library.
- geneCount() - Method in class io.jenetics.Genotype
-
Return the number of genes this genotype consists of.
- generation() - Method in class io.jenetics.engine.EvolutionInit
-
Return the generation of the start population.
- generation() - Method in class io.jenetics.engine.EvolutionResult
-
The current generation.
- generation() - Method in class io.jenetics.engine.EvolutionStart
-
Return the generation of the start population.
- generation() - Method in class io.jenetics.Phenotype
-
Return the generation this
Phenotype
was created. - genotype() - Method in class io.jenetics.Phenotype
-
This method returns a copy of the
Genotype
, to guarantee a immutable class. - Genotype<G extends Gene<?,
G>> - Class in io.jenetics -
The central class the GA is working with, is the
Genotype
. - genotypeFactory() - Method in class io.jenetics.engine.Engine.Builder
-
Return the used genotype
Factory
of the GA. - genotypeFactory() - Method in class io.jenetics.engine.Engine
-
Return the used genotype
Factory
of the GA. - genotypes() - Method in class io.jenetics.engine.EvolutionResult
-
Return the current list of genotypes of this evolution result.
- get() - Method in class io.jenetics.internal.util.Lazy
- get() - Method in class io.jenetics.internal.util.Lifecycle.Value
- get() - Method in class io.jenetics.util.Ordered
-
Return the wrapped value.
- get(byte[], int) - Static method in class io.jenetics.internal.util.Bits
-
Return the (boolean) value of the byte array at the given bit index.
- get(int) - Method in class io.jenetics.AbstractChromosome
- get(int) - Method in class io.jenetics.BitChromosome
- get(int) - Method in class io.jenetics.Genotype
-
Return the chromosome at the given index.
- get(int) - Method in class io.jenetics.internal.collection.Array
-
Get the array value at the given
index
. - get(int) - Method in interface io.jenetics.internal.collection.Array.Store
-
Return the value at the given array
index
. - get(int) - Method in class io.jenetics.internal.collection.Array.Store.Ref
- get(int) - Method in class io.jenetics.internal.collection.ArraySeq
- get(int) - Method in class io.jenetics.internal.collection.BitArray
-
Return the bit value at the given bit
index
. - get(int) - Method in class io.jenetics.internal.collection.CharStore
- get(int) - Method in enum class io.jenetics.internal.collection.Empty.EmptyISeq
- get(int) - Method in enum class io.jenetics.internal.collection.Empty.EmptyMSeq
- get(int) - Method in class io.jenetics.internal.collection.ObjectStore
- get(int) - Method in interface io.jenetics.util.BaseSeq
-
Return the value at the given
index
. - getAndSet(byte[], int) - Static method in class io.jenetics.internal.util.Bits
- getComparator() - Method in class io.jenetics.internal.util.LimitSpliterator
- getInnerExecutor() - Method in class io.jenetics.internal.util.Concurrency
-
Return the underlying
Executor
, which is used for performing the actual task execution. - getZone() - Method in class io.jenetics.util.NanoClock
H
- hash(byte) - Static method in class io.jenetics.internal.util.Hashes
- hash(byte[]) - Static method in class io.jenetics.internal.util.Hashes
- hash(byte[], int) - Static method in class io.jenetics.internal.util.Hashes
- hash(byte, int) - Static method in class io.jenetics.internal.util.Hashes
- hash(char) - Static method in class io.jenetics.internal.util.Hashes
- hash(char[]) - Static method in class io.jenetics.internal.util.Hashes
- hash(char[], int) - Static method in class io.jenetics.internal.util.Hashes
- hash(char, int) - Static method in class io.jenetics.internal.util.Hashes
- hash(double) - Static method in class io.jenetics.internal.util.Hashes
- hash(double[]) - Static method in class io.jenetics.internal.util.Hashes
- hash(double[], int) - Static method in class io.jenetics.internal.util.Hashes
- hash(double, int) - Static method in class io.jenetics.internal.util.Hashes
- hash(float) - Static method in class io.jenetics.internal.util.Hashes
- hash(float[]) - Static method in class io.jenetics.internal.util.Hashes
- hash(float[], int) - Static method in class io.jenetics.internal.util.Hashes
- hash(float, int) - Static method in class io.jenetics.internal.util.Hashes
- hash(int) - Static method in class io.jenetics.internal.util.Hashes
- hash(int[]) - Static method in class io.jenetics.internal.util.Hashes
- hash(int[], int) - Static method in class io.jenetics.internal.util.Hashes
- hash(int, int) - Static method in class io.jenetics.internal.util.Hashes
- hash(long) - Static method in class io.jenetics.internal.util.Hashes
- hash(long[]) - Static method in class io.jenetics.internal.util.Hashes
- hash(long[], int) - Static method in class io.jenetics.internal.util.Hashes
- hash(long, int) - Static method in class io.jenetics.internal.util.Hashes
- hash(short) - Static method in class io.jenetics.internal.util.Hashes
- hash(short[]) - Static method in class io.jenetics.internal.util.Hashes
- hash(short[], int) - Static method in class io.jenetics.internal.util.Hashes
- hash(short, int) - Static method in class io.jenetics.internal.util.Hashes
- hash(Object) - Static method in class io.jenetics.internal.util.Hashes
- hash(Object[]) - Static method in class io.jenetics.internal.util.Hashes
- hash(Object[], int) - Static method in class io.jenetics.internal.util.Hashes
- hash(Object, int) - Static method in class io.jenetics.internal.util.Hashes
- hashCode() - Method in class io.jenetics.DoubleChromosome
- hashCode() - Method in class io.jenetics.AbstractChromosome
- hashCode() - Method in record class io.jenetics.AltererResult
-
Returns a hash code value for this object.
- hashCode() - Method in class io.jenetics.AnyGene
- hashCode() - Method in class io.jenetics.BitChromosome
- hashCode() - Method in class io.jenetics.CharacterChromosome
- hashCode() - Method in class io.jenetics.CharacterGene
- hashCode() - Method in class io.jenetics.DoubleGene
- hashCode() - Method in record class io.jenetics.engine.EvolutionDurations
-
Returns a hash code value for this object.
- hashCode() - Method in class io.jenetics.engine.EvolutionInit
- hashCode() - Method in class io.jenetics.engine.EvolutionResult
- hashCode() - Method in class io.jenetics.engine.EvolutionStart
- hashCode() - Method in class io.jenetics.EnumGene
- hashCode() - Method in class io.jenetics.Genotype
- hashCode() - Method in class io.jenetics.IntegerGene
- hashCode() - Method in class io.jenetics.internal.collection.ArraySeq
- hashCode() - Method in class io.jenetics.internal.collection.BitArray
- hashCode() - Method in class io.jenetics.internal.math.DoubleAdder
- hashCode() - Method in class io.jenetics.internal.util.IntRef
- hashCode() - Method in class io.jenetics.internal.util.Lazy
- hashCode() - Method in class io.jenetics.LongGene
- hashCode() - Method in record class io.jenetics.MutatorResult
-
Returns a hash code value for this object.
- hashCode() - Method in class io.jenetics.Phenotype
- hashCode() - Method in record class io.jenetics.stat.DoubleMoments
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.jenetics.stat.DoubleSummary
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.jenetics.stat.IntMoments
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.jenetics.stat.IntSummary
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.jenetics.stat.LongMoments
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.jenetics.stat.LongSummary
-
Returns a hash code value for this object.
- hashCode() - Method in class io.jenetics.util.CharSeq
- hashCode() - Method in class io.jenetics.util.DoubleRange
- hashCode() - Method in class io.jenetics.util.IntRange
- hashCode() - Method in class io.jenetics.util.LongRange
- hashCode() - Method in class io.jenetics.util.NanoClock
- hashCode() - Method in interface io.jenetics.util.Seq
-
Returns the hash code value for this sequence.
- hashCode() - Method in class io.jenetics.AnyChromosome
- hashCode(BaseSeq<?>) - Static method in interface io.jenetics.util.Seq
-
Unified method for calculating the hash code of every
Seq
implementation. - Hashes - Class in io.jenetics.internal.util
-
Static methods for simple and efficient hash-code calculation.
- hasNext() - Method in class io.jenetics.internal.collection.BaseSeqIterator
- hasPrevious() - Method in class io.jenetics.internal.collection.BaseSeqIterator
I
- identity() - Static method in interface io.jenetics.engine.EvolutionInterceptor
-
Return an interceptor object which does nothing.
- increment(byte[]) - Static method in class io.jenetics.internal.util.Bits
-
Increment the given
data
array. - indexes(RandomGenerator, int, double) - Static method in class io.jenetics.internal.math.Randoms
-
Create an
IntStream
which creates random indexes within the given range and the index probability. - indexes(RandomGenerator, int, int, double) - Static method in class io.jenetics.internal.math.Randoms
-
Create an
IntStream
which creates random indexes within the given range and the index probability. - indexOf(Object) - Method in interface io.jenetics.util.Seq
-
Returns the index of the first occurrence of the specified element in this sequence, or -1 if this sequence does not contain the element.
- indexOf(Object, int) - Method in interface io.jenetics.util.Seq
-
Returns the index of the first occurrence of the specified element in this sequence, or -1 if this sequence does not contain the element.
- indexOf(Object, int, int) - Method in interface io.jenetics.util.Seq
-
Returns the index of the first occurrence of the specified element in this sequence, or -1 if this sequence does not contain the element.
- indexWhere(Predicate<? super T>) - Method in interface io.jenetics.util.Seq
-
Returns the index of the first element on which the given predicate returns
true
, or -1 if the predicate returns false for every sequence element. - indexWhere(Predicate<? super T>, int) - Method in interface io.jenetics.util.Seq
-
Returns the index of the first element on which the given predicate returns
true
, or -1 if the predicate returns false for every sequence element. - indexWhere(Predicate<? super T>, int, int) - Method in class io.jenetics.internal.collection.ArraySeq
- indexWhere(Predicate<? super T>, int, int) - Method in interface io.jenetics.util.Seq
-
Returns the index of the first element on which the given predicate returns
true
, or -1 if the predicate returns false for every sequence element. - infinite() - Static method in class io.jenetics.engine.Limits
-
Return a predicate which always return
true
. - INSTANCE - Enum constant in enum class io.jenetics.internal.collection.Empty.EmptyISeq
- INSTANCE - Enum constant in enum class io.jenetics.internal.collection.Empty.EmptyMSeq
- instances() - Method in interface io.jenetics.util.Factory
-
Return a new stream of object instances, created by this factory.
- instant() - Method in class io.jenetics.util.NanoClock
- intArg(String) - Method in class io.jenetics.internal.util.Args
-
Return the int-argument with the given name.
- intArgs(String) - Method in class io.jenetics.internal.util.Args
- IntComparator - Interface in io.jenetics.internal.util
-
Comparator for int values.
- IntegerChromosome - Class in io.jenetics
-
Numeric chromosome implementation which holds 32-bit integer numbers.
- IntegerChromosome(ISeq<IntegerGene>, IntRange) - Constructor for class io.jenetics.IntegerChromosome
-
Create a new chromosome from the given
genes
and the allowed length range of the chromosome. - IntegerGene - Class in io.jenetics
-
NumericGene implementation which holds a 32-bit integer number.
- interceptor() - Method in class io.jenetics.engine.Engine.Builder
-
Return the evolution interceptor.
- interceptor() - Method in class io.jenetics.engine.Engine
-
Return the evolution interceptor.
- interceptor(EvolutionInterceptor<G, C>) - Method in class io.jenetics.engine.Engine.Builder
-
The evolution interceptor, which allows to change the evolution start and result.
- IntermediateCrossover<G extends NumericGene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics -
This alterer takes two chromosomes (treating it as vectors) and creates a linear combination of these vectors as a result.
- IntermediateCrossover() - Constructor for class io.jenetics.IntermediateCrossover
-
Creates a new intermediate-crossover with default recombination probability (
Alterer.DEFAULT_ALTER_PROBABILITY
) and a p value of zero, which restricts the recombined chromosomes within the hypercube of the selected chromosomes (vectors). - IntermediateCrossover(double) - Constructor for class io.jenetics.IntermediateCrossover
-
Creates a new intermediate-crossover with the given recombination probability.
- IntermediateCrossover(double, double) - Constructor for class io.jenetics.IntermediateCrossover
-
Creates a new intermediate-crossover with the given recombination probability and the line-scaling factor p.
- IntMoments - Record Class in io.jenetics.stat
-
Value objects which contains statistical moments.
- IntMoments(long, int, int, long, double, double, double, double) - Constructor for record class io.jenetics.stat.IntMoments
-
Creates an instance of a
IntMoments
record class. - IntMomentStatistics - Class in io.jenetics.stat
-
A state object for collecting statistics such as count, min, max, sum, mean, variance, skewness and kurtosis.
- IntMomentStatistics() - Constructor for class io.jenetics.stat.IntMomentStatistics
-
Create an empty moments object.
- IntRange - Class in io.jenetics.util
-
Integer range class.
- IntRef - Class in io.jenetics.internal.util
-
Int reference class, which allows the usage in an lambda expression.
- IntRef() - Constructor for class io.jenetics.internal.util.IntRef
-
Create a new
IntRef
object initialized with zero. - IntRef(int) - Constructor for class io.jenetics.internal.util.IntRef
-
Create a new
IntRef
object with the given initial value. - ints() - Method in class io.jenetics.util.RandomAdapter
- ints(int, int) - Method in class io.jenetics.util.RandomAdapter
- ints(long) - Method in class io.jenetics.util.RandomAdapter
- ints(long, int, int) - Method in class io.jenetics.util.RandomAdapter
- intStream() - Method in class io.jenetics.IntegerChromosome
-
Returns a sequential stream of the alleles with this chromosome as its source.
- IntSummary - Record Class in io.jenetics.stat
-
Value objects which contains statistical summary information.
- IntSummary(long, int, int, long, double) - Constructor for record class io.jenetics.stat.IntSummary
-
Creates an instance of a
IntSummary
record class. - intValue() - Method in class io.jenetics.BitChromosome
-
Return the long value this BitChromosome represents.
- intValue() - Method in class io.jenetics.DoubleGene
- intValue() - Method in class io.jenetics.IntegerGene
- intValue() - Method in class io.jenetics.internal.math.DoubleAdder
- intValue() - Method in class io.jenetics.LongGene
- intValue() - Method in interface io.jenetics.NumericChromosome
-
Return the int value of this
NumericChromosome
at theindex
0. - intValue() - Method in interface io.jenetics.NumericGene
-
Returns the value of the specified gene as an int.
- intValue(int) - Method in interface io.jenetics.NumericChromosome
-
Return the int value of this
NumericChromosome
at the givenindex
. - invalidCount() - Method in class io.jenetics.engine.EvolutionResult
-
Return the number of invalid individuals.
- invalids() - Method in class io.jenetics.engine.EvolutionStatistics
-
Return the statistics about the invalid individuals during the evolution process.
- invert() - Method in class io.jenetics.BitChromosome
-
Invert the ones and zeros of this bit chromosome.
- invert() - Method in class io.jenetics.internal.collection.BitArray
-
Inverts
this
bit-array. - invert(byte[]) - Static method in class io.jenetics.internal.util.Bits
-
Invert the given
data
array. - InvertibleCodec<T,
G extends Gene<?, G>> - Interface in io.jenetics.engine - IO - Class in io.jenetics.util
-
Class for object serialization.
- IO() - Constructor for class io.jenetics.util.IO
- io.jenetics - package io.jenetics
-
This is the base package of the Jenetics library and contains all domain classes, like Gene, Chromosome or Genotype.
- io.jenetics.base - module io.jenetics.base
- io.jenetics.engine - package io.jenetics.engine
-
This package contains classes which perform the actual evolution.
- io.jenetics.internal.collection - package io.jenetics.internal.collection
- io.jenetics.internal.engine - package io.jenetics.internal.engine
- io.jenetics.internal.math - package io.jenetics.internal.math
- io.jenetics.internal.util - package io.jenetics.internal.util
- io.jenetics.stat - package io.jenetics.stat
-
This package contains additional statistics classes which are not available in the Java core library.
- io.jenetics.util - package io.jenetics.util
-
This package contains the collection classes (
Seq
,ISeq
andMSeq
) which are used in the public interfaces of theChromosome
andGenotype
. - IOResources() - Constructor for class io.jenetics.internal.util.Lifecycle.IOResources
-
Create a new, empty
IOResources
object. - IOResources(Lifecycle.ThrowingRunnable<? extends IOException>...) - Constructor for class io.jenetics.internal.util.Lifecycle.IOResources
-
Create a new
IOResources
object, initialized with the given resource release methods. - IOResources(Collection<? extends Lifecycle.ThrowingRunnable<? extends IOException>>) - Constructor for class io.jenetics.internal.util.Lifecycle.IOResources
-
Create a new
IOResources
object, initialized with the given resource release methods. - IOValue(Lifecycle.ThrowingFunction<? super Lifecycle.IOResources, ? extends T, ? extends BE>) - Constructor for class io.jenetics.internal.util.Lifecycle.IOValue
-
Opens a kind of
try-catch
with resources block. - IOValue(T, Lifecycle.ThrowingConsumer<? super T, ? extends IOException>) - Constructor for class io.jenetics.internal.util.Lifecycle.IOValue
-
Create a new closeable value with the given resource
value
and itsrelease
method. - isDeprecated() - Method in class io.jenetics.util.RandomAdapter
- isEmpty() - Method in class io.jenetics.CharacterChromosome
- isEmpty() - Method in interface io.jenetics.util.BaseSeq
-
Returns
true
if this sequence contains no elements. - isEmpty() - Method in class io.jenetics.util.CharSeq
-
Test whether this character set is empty.
- iseq() - Static method in class io.jenetics.internal.collection.Empty
- ISeq<T> - Interface in io.jenetics.util
-
Immutable, ordered, fixed sized sequence.
- isEvaluated() - Method in class io.jenetics.internal.util.Lazy
-
Return the evaluation state of the
Lazy
variable. - isEvaluated() - Method in class io.jenetics.Phenotype
-
A phenotype instance can be created with or without fitness value.
- isMultiplicationSave(int, int) - Static method in class io.jenetics.internal.math.Basics
- isOne(double) - Static method in class io.jenetics.internal.math.Probabilities
-
Return
true
if the given value can be treated as probability one. - isParallel() - Method in class io.jenetics.internal.util.StreamProxy
- isSealed() - Method in class io.jenetics.internal.collection.Array
-
Return the seal state of the array.
- isSealed() - Method in class io.jenetics.internal.collection.Array.Store.Ref
- isSorted() - Method in interface io.jenetics.util.Seq
-
Test whether the given array is sorted in ascending order.
- isSorted(Comparator<? super T>) - Method in interface io.jenetics.util.Seq
-
Test whether the given array is sorted in ascending order.
- isValid() - Method in class io.jenetics.AbstractChromosome
- isValid() - Method in class io.jenetics.AnyChromosome
- isValid() - Method in class io.jenetics.AnyGene
- isValid() - Method in class io.jenetics.BitChromosome
-
Return always
true
. - isValid() - Method in enum class io.jenetics.BitGene
-
Return always
true
. - isValid() - Method in interface io.jenetics.BoundedGene
- isValid() - Method in class io.jenetics.CharacterGene
- isValid() - Method in interface io.jenetics.Chromosome
- isValid() - Method in class io.jenetics.DoubleGene
- isValid() - Method in class io.jenetics.EnumGene
- isValid() - Method in class io.jenetics.Genotype
-
Test if this genotype is valid.
- isValid() - Method in class io.jenetics.IntegerGene
- isValid() - Method in class io.jenetics.LongGene
- isValid() - Method in class io.jenetics.PermutationChromosome
-
Check if this chromosome represents still a valid permutation (or subset) of the given valid alleles.
- isValid() - Method in class io.jenetics.Phenotype
-
Test whether this phenotype is valid.
- isValid() - Method in interface io.jenetics.util.Verifiable
-
Check if this object is valid.
- isValidCharacter(Character) - Method in class io.jenetics.CharacterGene
-
Test, if the given character is valid.
- isZero(double) - Static method in class io.jenetics.internal.math.Probabilities
-
Return
true
if the given value can be treated as probability zero. - iterator() - Method in class io.jenetics.internal.collection.ArrayMSeq
- iterator() - Method in enum class io.jenetics.internal.collection.Empty.EmptyISeq
- iterator() - Method in enum class io.jenetics.internal.collection.Empty.EmptyMSeq
- iterator() - Method in class io.jenetics.internal.util.StreamProxy
- iterator() - Method in interface io.jenetics.util.BaseSeq
K
- killCount() - Method in class io.jenetics.engine.EvolutionResult
-
Return the number of killed individuals.
- killed() - Method in class io.jenetics.engine.EvolutionStatistics
-
Return the statistics about the killed individuals during the evolution process.
- kurtosis() - Method in record class io.jenetics.stat.DoubleMoments
-
Returns the value of the
kurtosis
record component. - kurtosis() - Method in record class io.jenetics.stat.IntMoments
-
Returns the value of the
kurtosis
record component. - kurtosis() - Method in record class io.jenetics.stat.LongMoments
-
Returns the value of the
kurtosis
record component. - kurtosis() - Method in class io.jenetics.stat.LongMomentStatistics
-
Return the kurtosis of values recorded, or
Double.NaN
if less than four values have been recorded.
L
- lastIndexOf(Object) - Method in interface io.jenetics.util.Seq
-
Returns the index of the last occurrence of the specified element in this sequence, or -1 if this sequence does not contain the element.
- lastIndexOf(Object, int) - Method in interface io.jenetics.util.Seq
-
Returns the index of the last occurrence of the specified element in this sequence, or -1 if this sequence does not contain the element.
- lastIndexOf(Object, int, int) - Method in interface io.jenetics.util.Seq
-
Returns the index of the last occurrence of the specified element in this sequence, or -1 if this sequence does not contain the element.
- lastIndexWhere(Predicate<? super T>) - Method in interface io.jenetics.util.Seq
-
Returns the index of the last element on which the given predicate returns
true
, or -1 if the predicate returns false for every sequence element. - lastIndexWhere(Predicate<? super T>, int) - Method in interface io.jenetics.util.Seq
-
Returns the index of the last element on which the given predicate returns
true
, or -1 if the predicate returns false for every sequence element. - lastIndexWhere(Predicate<? super T>, int, int) - Method in class io.jenetics.internal.collection.ArraySeq
- lastIndexWhere(Predicate<? super T>, int, int) - Method in interface io.jenetics.util.Seq
-
Returns the index of the last element on which the given predicate returns
true
, or -1 if the predicate returns false for every sequence element. - Lazy<T> - Class in io.jenetics.internal.util
-
Class for lazy value initialization.
- length() - Method in class io.jenetics.AbstractChromosome
- length() - Method in class io.jenetics.BitChromosome
- length() - Method in class io.jenetics.Genotype
-
Getting the number of chromosomes of this genotype.
- length() - Method in class io.jenetics.internal.collection.Array
-
Return the array length.
- length() - Method in interface io.jenetics.internal.collection.Array.Store
-
Return the length of the array
Store
. - length() - Method in class io.jenetics.internal.collection.Array.Store.Ref
- length() - Method in class io.jenetics.internal.collection.ArraySeq
- length() - Method in class io.jenetics.internal.collection.BitArray
-
Return the length of the bit-array.
- length() - Method in class io.jenetics.internal.collection.CharStore
- length() - Method in enum class io.jenetics.internal.collection.Empty.EmptyISeq
- length() - Method in enum class io.jenetics.internal.collection.Empty.EmptyMSeq
- length() - Method in class io.jenetics.internal.collection.ObjectStore
- length() - Method in interface io.jenetics.util.BaseSeq
-
Return the length of this sequence.
- length() - Method in class io.jenetics.util.CharSeq
- lengthRange() - Method in class io.jenetics.DoubleChromosome
-
Return the allowed length range of the chromosome.
- Lifecycle - Class in io.jenetics.internal.util
-
Interfaces and classes for handling resource (
AutoCloseable
) objects. - Lifecycle.ExtendedCloseable<E extends Exception> - Interface in io.jenetics.internal.util
-
Extends the
AutoCloseable
with methods for wrapping the thrown exception into unchecked exceptions or ignoring them. - Lifecycle.IOResources - Class in io.jenetics.internal.util
-
This class allows collecting one or more
AutoCloseable
objects into one. - Lifecycle.IOValue<T> - Class in io.jenetics.internal.util
-
This class represents a closeable value.
- Lifecycle.Resources<E extends Exception> - Class in io.jenetics.internal.util
-
This class allows collecting one or more
AutoCloseable
objects into one. - Lifecycle.ThrowingConsumer<A,
E extends Exception> - Interface in io.jenetics.internal.util -
A method which takes an argument and can throw an exception.
- Lifecycle.ThrowingFunction<A,
R, E extends Exception> - Interface in io.jenetics.internal.util -
A function which takes an argument and can throw an exception.
- Lifecycle.ThrowingRunnable<E extends Exception> - Interface in io.jenetics.internal.util
-
Runnable task/method, which might throw an exception
E
. - Lifecycle.Value<T,
E extends Exception> - Class in io.jenetics.internal.util -
This class represents a closeable value.
- limit(long) - Method in interface io.jenetics.engine.EvolutionStreamable
-
Return a new
EvolutionStreamable
instance where all createdEvolutionStream
s are limited to the given number of generations. - limit(long) - Method in class io.jenetics.internal.util.StreamProxy
- limit(Predicate<? super EvolutionResult<G, C>>) - Method in interface io.jenetics.engine.EvolutionStream
-
Returns a stream consisting of the elements of this stream, truncated when the given
proceed
predicate returnsfalse
. - limit(Predicate<? super EvolutionResult<G, C>>) - Method in class io.jenetics.internal.engine.EvolutionStreamImpl
- limit(Supplier<? extends Predicate<? super EvolutionResult<G, C>>>) - Method in interface io.jenetics.engine.EvolutionStreamable
-
Return a new
EvolutionStreamable
instance where all createdEvolutionStream
s are limited by the given predicate. - Limits - Class in io.jenetics.engine
-
This class contains factory methods for creating predicates, which can be used for limiting the evolution stream.
- LimitSpliterator<T> - Class in io.jenetics.internal.util
-
Extends the
Spliterator
interface by an additionalproceed
predicate. - LinearRankSelector<G extends Gene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics -
In linear-ranking selection the individuals are sorted according to their fitness values.
- LinearRankSelector() - Constructor for class io.jenetics.LinearRankSelector
-
Create a new LinearRankSelector with
nminus := 0.5
. - LinearRankSelector(double) - Constructor for class io.jenetics.LinearRankSelector
-
Create a new LinearRankSelector with the given values for
nminus
. - LineCrossover<G extends NumericGene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics -
This alterer takes two chromosomes (treating it as vectors) and creates a linear combination of these vectors as a result.
- LineCrossover() - Constructor for class io.jenetics.LineCrossover
-
Creates a new linear-crossover with default recombination probability (
Alterer.DEFAULT_ALTER_PROBABILITY
) and a p value of zero, which restricts the recombined chromosomes within the hypercube of the selected chromosomes (vectors). - LineCrossover(double) - Constructor for class io.jenetics.LineCrossover
-
Creates a new linear-crossover with the given recombination probability.
- LineCrossover(double, double) - Constructor for class io.jenetics.LineCrossover
-
Creates a new linear-crossover with the given recombination probability and the line-scaling factor p.
- listIterator() - Method in class io.jenetics.internal.collection.ArrayMSeq
- listIterator() - Method in enum class io.jenetics.internal.collection.Empty.EmptyMSeq
- listIterator() - Method in interface io.jenetics.util.BaseSeq
-
Returns a list iterator over the elements in this sequence (in proper order).
- listIterator() - Method in interface io.jenetics.util.MSeq
-
Returns a list iterator over the elements in this sequence (in a proper sequence).
- longArg(String) - Method in class io.jenetics.internal.util.Args
-
Return the long-argument with the given name.
- LongChromosome - Class in io.jenetics
-
Numeric chromosome implementation which holds 64-bit integer numbers.
- LongChromosome(ISeq<LongGene>, IntRange) - Constructor for class io.jenetics.LongChromosome
-
Create a new chromosome from the given
genes
and the allowed length range of the chromosome. - LongGene - Class in io.jenetics
-
NumericGene implementation which holds a 64-bit integer number.
- LongMoments - Record Class in io.jenetics.stat
-
Value objects which contains statistical moments.
- LongMoments(long, long, long, long, double, double, double, double) - Constructor for record class io.jenetics.stat.LongMoments
-
Creates an instance of a
LongMoments
record class. - LongMomentStatistics - Class in io.jenetics.stat
-
A state object for collecting statistics such as count, min, max, sum, mean, variance, skewness and kurtosis.
- LongMomentStatistics() - Constructor for class io.jenetics.stat.LongMomentStatistics
-
Create an empty moments object.
- LongRange - Class in io.jenetics.util
-
Long range class.
- longs() - Method in class io.jenetics.util.RandomAdapter
- longs(long) - Method in class io.jenetics.util.RandomAdapter
- longs(long, long) - Method in class io.jenetics.util.RandomAdapter
- longs(long, long, long) - Method in class io.jenetics.util.RandomAdapter
- longStream() - Method in class io.jenetics.LongChromosome
-
Returns a sequential stream of the alleles with this chromosome as its source.
- LongSummary - Record Class in io.jenetics.stat
-
Value objects which contains statistical summary information.
- LongSummary(long, long, long, long, double) - Constructor for record class io.jenetics.stat.LongSummary
-
Creates an instance of a
LongSummary
record class. - longValue() - Method in class io.jenetics.BitChromosome
-
Return the long value this BitChromosome represents.
- longValue() - Method in class io.jenetics.DoubleGene
- longValue() - Method in class io.jenetics.IntegerGene
- longValue() - Method in class io.jenetics.internal.math.DoubleAdder
- longValue() - Method in class io.jenetics.LongGene
- longValue() - Method in interface io.jenetics.NumericChromosome
-
Return the long value of this
NumericChromosome
at theindex
0. - longValue() - Method in interface io.jenetics.NumericGene
-
Returns the value of the specified gene as a long.
- longValue(int) - Method in interface io.jenetics.NumericChromosome
-
Return the long value of this
NumericChromosome
at the givenindex
.
M
- map(Function<? super char[], char[]>) - Method in class io.jenetics.CharacterChromosome
-
Maps the gene alleles of this chromosome, given as
char[]
array, by applying the given mapper functionf
. - map(Function<? super double[], double[]>) - Method in class io.jenetics.DoubleChromosome
-
Maps the gene alleles of this chromosome, given as
double[]
array, by applying the given mapper functionf
. - map(Function<? super int[], int[]>) - Method in class io.jenetics.IntegerChromosome
-
Maps the gene alleles of this chromosome, given as
int[]
array, by applying the given mapper functionf
. - map(Function<? super Object, ? extends B>) - Method in enum class io.jenetics.internal.collection.Empty.EmptyISeq
- map(Function<? super Object, ? extends B>) - Method in enum class io.jenetics.internal.collection.Empty.EmptyMSeq
- map(Function<? super BitSet, ? extends BitSet>) - Method in class io.jenetics.BitChromosome
-
Maps the gene alleles of this chromosome, given as
BitSet
, by applying the given mapper functionf
. - map(Function<? super long[], long[]>) - Method in class io.jenetics.LongChromosome
-
Maps the gene alleles of this chromosome, given as
long[]
array, by applying the given mapper functionf
. - map(Function<? super T, ? extends B>) - Method in interface io.jenetics.engine.Codec
-
Create a new
Codec
with the mapped result type. - map(Function<? super T, ? extends B>) - Method in class io.jenetics.internal.collection.ArrayISeq
- map(Function<? super T, ? extends B>) - Method in class io.jenetics.internal.collection.ArrayMSeq
- map(Function<? super T, ? extends B>) - Method in interface io.jenetics.util.ISeq
- map(Function<? super T, ? extends B>) - Method in interface io.jenetics.util.MSeq
- map(Function<? super T, ? extends B>) - Method in interface io.jenetics.util.Seq
-
Builds a new sequence by applying a function to all elements of this sequence.
- map(Function<? super T, ? extends B>, Function<? super B, ? extends T>) - Method in interface io.jenetics.engine.InvertibleCodec
-
Create a new
InvertibleCodec
with the mapped result type. - map(Function<? super T, ? extends R>) - Method in class io.jenetics.internal.util.StreamProxy
- mapToDouble(ToDoubleFunction<? super T>) - Method in class io.jenetics.internal.util.StreamProxy
- mapToInt(ToIntFunction<? super T>) - Method in class io.jenetics.internal.util.StreamProxy
- mapToLong(ToLongFunction<? super T>) - Method in class io.jenetics.internal.util.StreamProxy
- max() - Method in class io.jenetics.DoubleChromosome
- max() - Method in interface io.jenetics.BoundedChromosome
-
Return the maximum value of this
BoundedChromosome
. - max() - Method in interface io.jenetics.BoundedGene
-
Return the allowed max value.
- max() - Method in class io.jenetics.DoubleGene
- max() - Method in class io.jenetics.IntegerGene
- max() - Method in class io.jenetics.LongGene
- max() - Method in record class io.jenetics.stat.DoubleMoments
-
Returns the value of the
max
record component. - max() - Method in class io.jenetics.stat.DoubleMomentStatistics
-
Return the maximum value recorded, or
Double.NEGATIVE_INFINITY
if no values have been recorded. - max() - Method in record class io.jenetics.stat.DoubleSummary
-
Returns the value of the
max
record component. - max() - Method in record class io.jenetics.stat.IntMoments
-
Returns the value of the
max
record component. - max() - Method in class io.jenetics.stat.IntMomentStatistics
-
Return the maximum value recorded, or
Integer.MIN_VALUE
if no values have been recorded. - max() - Method in record class io.jenetics.stat.IntSummary
-
Returns the value of the
max
record component. - max() - Method in record class io.jenetics.stat.LongMoments
-
Returns the value of the
max
record component. - max() - Method in class io.jenetics.stat.LongMomentStatistics
-
Return the maximum value recorded, or
Long.MIN_VALUE
if no values have been recorded. - max() - Method in record class io.jenetics.stat.LongSummary
-
Returns the value of the
max
record component. - max() - Method in class io.jenetics.stat.MinMax
-
Return the current maximal object or
null
if no element has been accepted yet. - max() - Method in class io.jenetics.util.DoubleRange
-
Return the maximum value of the double range.
- max() - Method in class io.jenetics.util.IntRange
-
Return the maximum value of the integer range.
- max() - Method in class io.jenetics.util.LongRange
-
Return the maximum value of the long range.
- max(double[]) - Static method in record class io.jenetics.stat.DoubleSummary
-
Return the maximum value of the given double array.
- max(int[]) - Static method in record class io.jenetics.stat.IntSummary
-
Return the maximum value of the given double array.
- max(long[]) - Static method in record class io.jenetics.stat.LongSummary
-
Return the maximum value of the given double array.
- max(G) - Method in interface io.jenetics.BoundedGene
-
Return the maximum value of
this
and the givenother
value. - max(Comparator<? super T>) - Method in class io.jenetics.internal.util.StreamProxy
- max(Comparator<? super T>, T, T) - Static method in class io.jenetics.stat.MinMax
-
Return the maximum of two values, according the given comparator.
- maximalPhenotypeAge() - Method in class io.jenetics.engine.Engine.Builder
-
Return the maximal allowed phenotype age.
- maximalPhenotypeAge() - Method in class io.jenetics.engine.Engine
-
Return the maximal allowed phenotype age.
- maximalPhenotypeAge() - Method in class io.jenetics.engine.EvolutionParams.Builder
-
Return the maximal allowed phenotype age.
- maximalPhenotypeAge() - Method in class io.jenetics.engine.EvolutionParams
-
Return the maximal allowed phenotype age.
- maximalPhenotypeAge(long) - Method in class io.jenetics.engine.Engine.Builder
-
The maximal allowed age of a phenotype.
- maximalPhenotypeAge(long) - Method in class io.jenetics.engine.EvolutionParams.Builder
-
The maximal allowed age of a phenotype.
- maximizing() - Method in class io.jenetics.engine.Engine.Builder
-
Set to a fitness-maximizing strategy.
- MAXIMUM - Enum constant in enum class io.jenetics.Optimize
-
GA maximization
- mean() - Method in record class io.jenetics.stat.DoubleMoments
-
Returns the value of the
mean
record component. - mean() - Method in record class io.jenetics.stat.DoubleSummary
-
Returns the value of the
mean
record component. - mean() - Method in record class io.jenetics.stat.IntMoments
-
Returns the value of the
mean
record component. - mean() - Method in record class io.jenetics.stat.IntSummary
-
Returns the value of the
mean
record component. - mean() - Method in record class io.jenetics.stat.LongMoments
-
Returns the value of the
mean
record component. - mean() - Method in record class io.jenetics.stat.LongSummary
-
Returns the value of the
mean
record component. - mean() - Method in class io.jenetics.stat.LongMomentStatistics
-
Return the arithmetic mean of values recorded, or
Double.NaN
if no values have been recorded. - mean(double[]) - Static method in record class io.jenetics.stat.DoubleSummary
-
Returns a double describing the arithmetic mean of the values, or
Double.NaN
if thevalues
array is empty. - mean(int[]) - Static method in record class io.jenetics.stat.IntSummary
-
Returns a double describing the arithmetic mean of the values, or
Double.NaN
if thevalues
array is empty. - mean(long[]) - Static method in record class io.jenetics.stat.LongSummary
-
Returns a double describing the arithmetic mean of the values, or
Double.NaN
if thevalues
array is empty. - mean(DoubleGene) - Method in class io.jenetics.DoubleGene
- mean(IntegerGene) - Method in class io.jenetics.IntegerGene
- mean(LongGene) - Method in class io.jenetics.LongGene
- mean(T) - Method in interface io.jenetics.util.Mean
-
Return the (usually arithmetic) mean value of
this
andthat
. - Mean<T> - Interface in io.jenetics.util
-
A mixin interface for genes which can have a mean value.
- MeanAlterer<G extends Gene<?,
G> & Mean<G>, C extends Comparable<? super C>> - Class in io.jenetics -
Alters a chromosome by replacing two genes by its mean value.
- MeanAlterer() - Constructor for class io.jenetics.MeanAlterer
-
Create a new alterer with alter probability of
0.05
. - MeanAlterer(double) - Constructor for class io.jenetics.MeanAlterer
-
Constructs an alterer with a given recombination probability.
- millis() - Method in class io.jenetics.util.NanoClock
- min() - Method in class io.jenetics.DoubleChromosome
- min() - Method in interface io.jenetics.BoundedChromosome
-
Return the minimum value of this
BoundedChromosome
. - min() - Method in interface io.jenetics.BoundedGene
-
Return the allowed min value.
- min() - Method in class io.jenetics.DoubleGene
- min() - Method in class io.jenetics.IntegerGene
- min() - Method in class io.jenetics.LongGene
- min() - Method in record class io.jenetics.stat.DoubleMoments
-
Returns the value of the
min
record component. - min() - Method in class io.jenetics.stat.DoubleMomentStatistics
-
Return the minimum value recorded, or
Double.POSITIVE_INFINITY
if no values have been recorded. - min() - Method in record class io.jenetics.stat.DoubleSummary
-
Returns the value of the
min
record component. - min() - Method in record class io.jenetics.stat.IntMoments
-
Returns the value of the
min
record component. - min() - Method in class io.jenetics.stat.IntMomentStatistics
-
Return the minimum value recorded, or
Integer.MAX_VALUE
if no values have been recorded. - min() - Method in record class io.jenetics.stat.IntSummary
-
Returns the value of the
min
record component. - min() - Method in record class io.jenetics.stat.LongMoments
-
Returns the value of the
min
record component. - min() - Method in class io.jenetics.stat.LongMomentStatistics
-
Return the minimum value recorded, or
Long.MAX_VALUE
if no values have been recorded. - min() - Method in record class io.jenetics.stat.LongSummary
-
Returns the value of the
min
record component. - min() - Method in class io.jenetics.stat.MinMax
-
Return the current minimal object or
null
if no element has been accepted yet. - min() - Method in class io.jenetics.util.DoubleRange
-
Return the minimum value of the double range.
- min() - Method in class io.jenetics.util.IntRange
-
Return the minimum value of the integer range.
- min() - Method in class io.jenetics.util.LongRange
-
Return the minimum value of the long range.
- min(double[]) - Static method in record class io.jenetics.stat.DoubleSummary
-
Return the minimum value of the given double array.
- min(int[]) - Static method in record class io.jenetics.stat.IntSummary
-
Return the minimum value of the given double array.
- min(long[]) - Static method in record class io.jenetics.stat.LongSummary
-
Return the minimum value of the given double array.
- min(G) - Method in interface io.jenetics.BoundedGene
-
Return the minimum value of
this
and the givenother
value. - min(Comparator<? super T>) - Method in class io.jenetics.internal.util.StreamProxy
- min(Comparator<? super T>, T, T) - Static method in class io.jenetics.stat.MinMax
-
Return the minimum of two values, according the given comparator.
- minimizing() - Method in class io.jenetics.engine.Engine.Builder
-
Set to a fitness minimizing strategy.
- MINIMUM - Enum constant in enum class io.jenetics.Optimize
-
GA minimization
- MinMax<C> - Class in io.jenetics.stat
-
This consumer class is used for calculating the min and max value according to the given
Comparator
. - MonteCarloSelector<G extends Gene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics -
The Monte Carlo selector selects the individuals from a given population randomly.
- MonteCarloSelector() - Constructor for class io.jenetics.MonteCarloSelector
- mseq() - Static method in class io.jenetics.internal.collection.Empty
- MSeq<T> - Interface in io.jenetics.util
-
Mutable, ordered, fixed sized sequence.
- MultiPointCrossover<G extends Gene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics -
Multiple point crossover
- MultiPointCrossover() - Constructor for class io.jenetics.MultiPointCrossover
-
Create a new crossover instance with two crossover points and crossover probability 0.05.
- MultiPointCrossover(double) - Constructor for class io.jenetics.MultiPointCrossover
-
Create a new crossover instance with two crossover points.
- MultiPointCrossover(double, int) - Constructor for class io.jenetics.MultiPointCrossover
-
Create a new crossover instance.
- MultiPointCrossover(int) - Constructor for class io.jenetics.MultiPointCrossover
-
Create a new crossover instance with default crossover probability of 0.05.
- mutate(G, RandomGenerator) - Method in class io.jenetics.GaussianMutator
- mutate(G, RandomGenerator) - Method in class io.jenetics.Mutator
-
Mutates the given gene.
- mutate(Chromosome<G>, double, RandomGenerator) - Method in class io.jenetics.Mutator
-
Mutates the given chromosome.
- mutate(Chromosome<G>, double, RandomGenerator) - Method in class io.jenetics.SwapMutator
-
Swaps the genes in the given array, with the mutation probability of this mutation.
- mutate(Genotype<G>, double, RandomGenerator) - Method in class io.jenetics.Mutator
-
Mutates the given genotype.
- mutate(Phenotype<G, C>, long, double, RandomGenerator) - Method in class io.jenetics.Mutator
-
Mutates the given phenotype.
- mutations() - Method in record class io.jenetics.MutatorResult
-
Returns the value of the
mutations
record component. - Mutator<G extends Gene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics -
This class is for mutating the chromosomes of a given population.
- Mutator() - Constructor for class io.jenetics.Mutator
-
Default constructor, with probability = 0.01.
- Mutator(double) - Constructor for class io.jenetics.Mutator
-
Construct a Mutation object which a given mutation probability.
- MutatorResult<T> - Record Class in io.jenetics
-
Represents the result pair of one of the four
Mutator.mutate
calls. - MutatorResult(T, int) - Constructor for record class io.jenetics.MutatorResult
-
Create a new mutation result with the given values.
N
- NanoClock - Class in io.jenetics.util
-
Clock implementation with nano second precision.
- nanos() - Method in class io.jenetics.util.NanoClock
-
This returns the nanosecond-based instant, measured from 1970-01-01T00:00Z (UTC).
- NANOS_PER_SECOND - Static variable in class io.jenetics.util.NanoClock
-
These constants hold the number of nanoseconds of one second.
- newArray(int) - Static method in class io.jenetics.internal.util.Bits
-
Create a new
byte[]
array which can store at least the number of bits as defined by the givenlength
parameter. - newArray(int, double) - Static method in class io.jenetics.internal.util.Bits
-
Create a new
byte[]
array which can store at least the number of bits as defined by the givenlength
parameter. - newInstance() - Method in class io.jenetics.AnyChromosome
- newInstance() - Method in class io.jenetics.AnyGene
- newInstance() - Method in class io.jenetics.BitChromosome
- newInstance() - Method in enum class io.jenetics.BitGene
-
Create a new, random gene.
- newInstance() - Method in class io.jenetics.CharacterChromosome
-
Create a new, random chromosome.
- newInstance() - Method in class io.jenetics.CharacterGene
- newInstance() - Method in class io.jenetics.DoubleChromosome
- newInstance() - Method in class io.jenetics.DoubleGene
- newInstance() - Method in class io.jenetics.EnumGene
- newInstance() - Method in interface io.jenetics.Gene
-
Return a new, random gene with the same type and with the same constraints as this gene.
- newInstance() - Method in class io.jenetics.Genotype
-
Return a new, random genotype by creating new, random chromosomes (calling the
Factory.newInstance()
method) from the chromosomes of this genotype. - newInstance() - Method in class io.jenetics.IntegerChromosome
- newInstance() - Method in class io.jenetics.IntegerGene
- newInstance() - Method in class io.jenetics.LongChromosome
- newInstance() - Method in class io.jenetics.LongGene
- newInstance() - Method in class io.jenetics.PermutationChromosome
-
Create a new, random chromosome.
- newInstance() - Method in interface io.jenetics.util.Factory
-
Create a new instance of type T.
- newInstance(double) - Method in class io.jenetics.DoubleGene
-
Create a new gene from the given
value
and the gene context. - newInstance(int) - Method in class io.jenetics.IntegerGene
-
Create a new gene from the given
value
and the gene context. - newInstance(int) - Method in interface io.jenetics.internal.collection.Array.Store
-
Return a new
Store
of the same type and the given length. - newInstance(int) - Method in class io.jenetics.internal.collection.Array.Store.Ref
- newInstance(int) - Method in class io.jenetics.internal.collection.CharStore
- newInstance(int) - Method in class io.jenetics.internal.collection.ObjectStore
- newInstance(long) - Method in class io.jenetics.LongGene
-
Create a new gene from the given
value
and the gene context. - newInstance(A) - Method in class io.jenetics.AnyGene
- newInstance(A) - Method in interface io.jenetics.BoundedGene
-
Create a new gene from the given
value
and the current bounds. - newInstance(A) - Method in class io.jenetics.EnumGene
-
Create a new gene from the given
value
and the gene context. - newInstance(A) - Method in interface io.jenetics.Gene
-
Create a new gene from the given
value
and the gene context. - newInstance(ISeq<G>) - Method in interface io.jenetics.Chromosome
-
A factory method which creates a new
Chromosome
of specific type and the givengenes
. - newInstance(ISeq<AnyGene<A>>) - Method in class io.jenetics.AnyChromosome
- newInstance(ISeq<BitGene>) - Method in class io.jenetics.BitChromosome
- newInstance(ISeq<CharacterGene>) - Method in class io.jenetics.CharacterChromosome
- newInstance(ISeq<DoubleGene>) - Method in class io.jenetics.DoubleChromosome
- newInstance(ISeq<EnumGene<T>>) - Method in class io.jenetics.PermutationChromosome
- newInstance(ISeq<IntegerGene>) - Method in class io.jenetics.IntegerChromosome
- newInstance(ISeq<LongGene>) - Method in class io.jenetics.LongChromosome
- newInstance(Boolean) - Method in enum class io.jenetics.BitGene
-
Create a new gene from the given
value
. - newInstance(Character) - Method in class io.jenetics.CharacterGene
-
Create a new character gene from the given character.
- newInstance(Double) - Method in class io.jenetics.DoubleGene
- newInstance(Integer) - Method in class io.jenetics.IntegerGene
- newInstance(Long) - Method in class io.jenetics.LongGene
- newInstance(Number) - Method in class io.jenetics.DoubleGene
- newInstance(Number) - Method in class io.jenetics.IntegerGene
- newInstance(Number) - Method in class io.jenetics.LongGene
- newInstance(Number) - Method in interface io.jenetics.NumericGene
- next() - Method in class io.jenetics.engine.EvolutionResult
-
Return the next evolution start object with the current population and the incremented generation.
- next() - Method in class io.jenetics.internal.collection.BaseSeqIterator
- next(RandomGenerator, int, int) - Static method in class io.jenetics.internal.math.Subset
-
Selects a random subset of size
k
from a set of sizen
. - nextASCIIString(int, RandomGenerator) - Static method in class io.jenetics.internal.math.Randoms
- nextASCIIString(RandomGenerator) - Static method in class io.jenetics.internal.math.Randoms
- nextBoolean() - Method in class io.jenetics.util.RandomAdapter
- nextByte(RandomGenerator) - Static method in class io.jenetics.internal.math.Randoms
- nextBytes(byte[]) - Method in class io.jenetics.util.RandomAdapter
- nextChar(RandomGenerator) - Static method in class io.jenetics.internal.math.Randoms
- nextDouble() - Method in class io.jenetics.util.RandomAdapter
- nextDouble(double) - Method in class io.jenetics.util.RandomAdapter
- nextDouble(double, double) - Method in class io.jenetics.util.RandomAdapter
- nextExponential() - Method in class io.jenetics.util.RandomAdapter
- nextFloat() - Method in class io.jenetics.util.RandomAdapter
- nextFloat(float) - Method in class io.jenetics.util.RandomAdapter
- nextFloat(float, float) - Method in class io.jenetics.util.RandomAdapter
- nextGaussian() - Method in class io.jenetics.util.RandomAdapter
- nextGaussian(double, double) - Method in class io.jenetics.util.RandomAdapter
- nextIndex() - Method in class io.jenetics.internal.collection.BaseSeqIterator
- nextInt() - Method in class io.jenetics.util.RandomAdapter
- nextInt(int) - Method in class io.jenetics.util.RandomAdapter
- nextInt(int, int) - Method in class io.jenetics.util.RandomAdapter
- nextLong() - Method in class io.jenetics.util.RandomAdapter
- nextLong(long) - Method in class io.jenetics.util.RandomAdapter
- nextLong(long, long) - Method in class io.jenetics.util.RandomAdapter
- nextShort(RandomGenerator) - Static method in class io.jenetics.internal.math.Randoms
- noneMatch(Predicate<? super T>) - Method in class io.jenetics.internal.util.StreamProxy
- nonEmpty() - Method in interface io.jenetics.util.BaseSeq
-
Returns
true
if this sequence contains at least one element. - nonEvaluated() - Method in class io.jenetics.Phenotype
-
A phenotype instance can be created with or without fitness value.
- nonNegative(double) - Static method in class io.jenetics.internal.util.Requires
-
Check if the specified value is not negative.
- nonNegative(double, String) - Static method in class io.jenetics.internal.util.Requires
-
Check if the specified value is not negative.
- nonNegative(int) - Static method in class io.jenetics.internal.util.Requires
-
Check if the given integer is negative.
- normalize(double[]) - Static method in class io.jenetics.internal.math.Basics
-
Normalize the given double array, so that it sums to one.
- normalize(long[]) - Static method in class io.jenetics.internal.math.Basics
- nullifyFitness() - Method in class io.jenetics.engine.FitnessNullifier
-
Triggers the nullification of the fitness values of the population for the next generation.
- nullifyFitness() - Method in class io.jenetics.Phenotype
-
Return a phenotype, where the fitness is set to
null
. - NumericChromosome<N extends Number & Comparable<? super N>,
G extends NumericGene<N, G>> - Interface in io.jenetics -
Numeric chromosome interface.
- NumericGene<N extends Number & Comparable<? super N>,
G extends NumericGene<N, G>> - Interface in io.jenetics -
Base interface for numeric genes.
O
- object - Static variable in class io.jenetics.util.IO
-
IO implementation for "native" Java serialization.
- ObjectStore<T> - Class in io.jenetics.internal.collection
- of() - Static method in class io.jenetics.CharacterGene
-
Create a new random character gene, chosen from the
CharacterGene.DEFAULT_CHARACTERS
. - of() - Static method in class io.jenetics.stat.MinMax
-
Create a new
MinMax
consumer. - of(boolean) - Static method in enum class io.jenetics.BitGene
-
Return the corresponding
BitGene
for the givenboolean
value. - of(byte[]) - Static method in class io.jenetics.internal.collection.BitArray
-
Create a new bit-array with the given
data
values andlength
. - of(byte[], int) - Static method in class io.jenetics.internal.collection.BitArray
-
Create a new bit-array with the given
data
values andlength
. - of(byte[], int, int) - Static method in class io.jenetics.internal.collection.BitArray
-
Create a new bit-array with the given
data
values andbegin
andend
bit indexes. - of(char) - Static method in class io.jenetics.CharacterGene
-
Create a new character gene from the given character.
- of(char[]) - Static method in class io.jenetics.internal.collection.CharStore
- of(char, char) - Static method in class io.jenetics.util.CharSeq
-
Expands the characters between
a
andb
. - of(char, CharSeq) - Static method in class io.jenetics.CharacterGene
-
Create a new CharacterGene from the give character.
- of(double, double) - Static method in class io.jenetics.DoubleChromosome
-
Create a new random
DoubleChromosome
of length one. - of(double, double) - Static method in class io.jenetics.DoubleGene
-
Create a new random
DoubleGene
. - of(double, double) - Static method in class io.jenetics.util.DoubleRange
-
Create a new
DoubleRange
object with the givenmin
andmax
values. - of(double, double, double) - Static method in class io.jenetics.DoubleGene
-
Create a new random
DoubleGene
with the given value and the given range. - of(double, double, int) - Static method in class io.jenetics.DoubleChromosome
-
Create a new random
DoubleChromosome
. - of(double, double, IntRange) - Static method in class io.jenetics.DoubleChromosome
-
Create a new random chromosome.
- of(double, DoubleRange) - Static method in class io.jenetics.DoubleGene
-
Create a new random
DoubleGene
with the given value and the given range. - of(int) - Static method in class io.jenetics.BitChromosome
-
Constructing a new BitChromosome with the given
length
and randomly set bits. - of(int) - Static method in class io.jenetics.CharacterChromosome
-
Create a new chromosome with the
CharacterGene.DEFAULT_CHARACTERS
char set as valid characters. - of(int) - Static method in class io.jenetics.util.IntRange
-
Return a new (half-open) range, which contains only the given value:
[value, value + 1)
. - of(int, double) - Static method in class io.jenetics.BitChromosome
-
Constructing a new BitChromosome with the given
length
and randomly set bits. - of(int, int) - Static method in class io.jenetics.IntegerChromosome
-
Create a new random
IntegerChromosome
of length one. - of(int, int) - Static method in class io.jenetics.IntegerGene
-
Create a new random
IntegerGene
. - of(int, int) - Static method in class io.jenetics.util.IntRange
-
Create a new
IntRange
object with the givenmin
andmax
values. - of(int, int, int) - Static method in class io.jenetics.IntegerChromosome
-
Create a new random
IntegerChromosome
. - of(int, int, int) - Static method in class io.jenetics.IntegerGene
-
Create a new random
IntegerGene
with the given value and the given range. - of(int, int, IntRange) - Static method in class io.jenetics.IntegerChromosome
-
Create a new random chromosome.
- of(int, A...) - Static method in class io.jenetics.EnumGene
-
Create a new enum gene from the given valid genes and the chosen allele index.
- of(int, IntRange) - Static method in class io.jenetics.IntegerGene
-
Create a new random
IntegerGene
with the given value and the given range. - of(int, ISeq<? extends A>) - Static method in class io.jenetics.EnumGene
-
Create a new enum gene from the given valid genes and the chosen allele index.
- of(long) - Static method in class io.jenetics.util.LongRange
-
Return a new (half-open) range, which contains only the given value:
[value, value + 1)
. - of(long, long) - Static method in class io.jenetics.LongChromosome
-
Create a new random
LongChromosome
of length one. - of(long, long) - Static method in class io.jenetics.LongGene
-
Create a new random
LongGene
. - of(long, long) - Static method in class io.jenetics.util.LongRange
-
Create a new
LongRange
object with the givenmin
andmax
values. - of(long, long, int) - Static method in class io.jenetics.LongChromosome
-
Create a new random
LongChromosome
. - of(long, long, long) - Static method in class io.jenetics.LongGene
-
Create a new random
LongGene
with the given value and the given range. - of(long, long, IntRange) - Static method in class io.jenetics.LongChromosome
-
Create a new random chromosome.
- of(long, LongRange) - Static method in class io.jenetics.LongGene
-
Create a new random
LongGene
with the given value and the given range. - of(A...) - Static method in class io.jenetics.EnumGene
-
Return a new enum gene with an allele randomly chosen from the given valid alleles.
- of(A, Supplier<? extends A>) - Static method in class io.jenetics.AnyGene
-
Create a new
AnyGene
instance with the given parameters. - of(A, Supplier<? extends A>, Predicate<? super A>) - Static method in class io.jenetics.AnyGene
-
Create a new
AnyGene
instance with the given parameters. - of(Alterer<G, C>...) - Static method in interface io.jenetics.Alterer
-
Combine the given alterers.
- of(Alterer<G, C>, int...) - Static method in class io.jenetics.PartialAlterer
-
Wraps the given
alterer
, so that it will only work on chromosomes with the given chromosome indices. - of(Alterer<G, C>, IntRange) - Static method in class io.jenetics.PartialAlterer
-
Wraps the given
alterer
, so that it will only work on chromosomes with the given chromosome indices. - of(Chromosome<G>, Chromosome<G>...) - Static method in class io.jenetics.Genotype
-
Create a new
Genotype
from a given array ofChromosomes
. - of(DoubleGene...) - Static method in class io.jenetics.DoubleChromosome
-
Create a new
DoubleChromosome
with the given genes. - of(Codec<A, G>, Codec<B, G>, BiFunction<A, B, T>) - Static method in interface io.jenetics.engine.Codec
-
Converts two given
Codec
instances into one. - of(InvertibleCodec<T, G>, Predicate<? super T>) - Static method in class io.jenetics.engine.RetryConstraint
-
Return a new constraint with the given
validator
and theRetryConstraint.DEFAULT_RETRY_COUNT
. - of(InvertibleCodec<T, G>, Predicate<? super T>, int) - Static method in class io.jenetics.engine.RetryConstraint
-
Return a new constraint with the given
validator
andretryLimit
. - of(InvertibleCodec<T, G>, Predicate<? super T>, Function<? super T, ? extends T>) - Static method in interface io.jenetics.engine.Constraint
-
Return a new constraint object with the given
validator
andrepairer
. - of(Genotype<G>, long) - Static method in class io.jenetics.Phenotype
-
Create a new phenotype from the given arguments.
- of(Genotype<G>, long, C) - Static method in class io.jenetics.Phenotype
-
Create a new phenotype from the given arguments.
- of(IntegerGene...) - Static method in class io.jenetics.IntegerChromosome
-
Create a new
IntegerChromosome
with the given genes. - of(Array.Store<T>) - Static method in class io.jenetics.internal.collection.Array
-
Create a new
Array
from the given object store. - of(Array.Store<T>) - Static method in class io.jenetics.internal.collection.Array.Store.Ref
- of(Lifecycle.ThrowingRunnable<? extends E>) - Static method in interface io.jenetics.internal.util.Lifecycle.ExtendedCloseable
-
Wraps a given
release
method and returns anLifecycle.ExtendedCloseable
. - of(Lifecycle.ThrowingRunnable<? extends E>...) - Static method in interface io.jenetics.internal.util.Lifecycle.ExtendedCloseable
-
Create a new
ExtendedCloseable
object with the given initial release methods>. - of(LongGene...) - Static method in class io.jenetics.LongChromosome
-
Create a new
LongChromosome
with the given genes. - of(Optimize, ISeq<Phenotype<G, C>>, long, long, EvolutionDurations, int, int, int) - Static method in class io.jenetics.engine.EvolutionResult
-
Return a new
EvolutionResult
object with the given values. - of(Optimize, ISeq<Phenotype<G, C>>, long, EvolutionDurations, int, int, int) - Static method in class io.jenetics.engine.EvolutionResult
-
Return a new
EvolutionResult
object with the given values. - of(DoubleMomentStatistics) - Static method in record class io.jenetics.stat.DoubleMoments
-
Return a new value object of the statistical moments, currently represented by the
statistics
object. - of(IntMomentStatistics) - Static method in record class io.jenetics.stat.IntMoments
-
Return a new value object of the statistical moments, currently represented by the
statistics
object. - of(LongMomentStatistics) - Static method in record class io.jenetics.stat.LongMoments
-
Return a new value object of the statistical moments, currently represented by the
statistics
object. - of(CharSeq) - Static method in class io.jenetics.CharacterGene
-
Create a new CharacterGene with a randomly chosen character from the set of valid characters.
- of(CharSeq, int) - Static method in class io.jenetics.CharacterChromosome
-
Create a new chromosome with the
validCharacters
char set as valid characters. - of(CharSeq, IntRange) - Static method in class io.jenetics.CharacterChromosome
-
Create a new chromosome with the
validCharacters
char set as valid characters. - of(DoubleRange) - Static method in class io.jenetics.DoubleChromosome
-
Create a new random
DoubleChromosome
of length one. - of(DoubleRange) - Static method in class io.jenetics.DoubleGene
-
Create a new random
DoubleGene
. - of(DoubleRange, int) - Static method in class io.jenetics.DoubleChromosome
-
Create a new random
DoubleChromosome
. - of(DoubleRange, IntRange) - Static method in class io.jenetics.DoubleChromosome
-
Create a new random chromosome.
- of(Factory<? extends Chromosome<G>>, int) - Static method in class io.jenetics.Genotype
-
Create a new
Genotype
which consists ofn
chromosomes, which are created by the givenfactory
. - of(Factory<Genotype<G>>) - Static method in class io.jenetics.engine.RetryConstraint
-
Return a new constraint with the given genotype factory.
- of(Factory<Genotype<G>>, Function<? super Genotype<G>, ? extends T>) - Static method in interface io.jenetics.engine.Codec
-
Create a new
Codec
object with the givenencoding
anddecoder
function. - of(Factory<Genotype<G>>, Function<? super Genotype<G>, ? extends T>, Function<? super T, Genotype<G>>) - Static method in interface io.jenetics.engine.InvertibleCodec
-
Create a new invertible codec from the given parameters.
- of(IntRange) - Static method in class io.jenetics.CharacterChromosome
-
Create a new chromosome with the
CharacterGene.DEFAULT_CHARACTERS
char set as valid characters. - of(IntRange) - Static method in class io.jenetics.IntegerChromosome
-
Create a new random
IntegerChromosome
of length one. - of(IntRange) - Static method in class io.jenetics.IntegerGene
-
Create a new random
IntegerGene
. - of(IntRange, int) - Static method in class io.jenetics.IntegerChromosome
-
Create a new random
IntegerChromosome
. - of(IntRange, IntRange) - Static method in class io.jenetics.IntegerChromosome
-
Create a new random chromosome.
- of(ISeq<? extends A>) - Static method in class io.jenetics.EnumGene
-
Return a new enum gene with an allele randomly chosen from the given valid alleles.
- of(ISeq<? extends Codec<?, G>>, Function<? super Object[], ? extends T>) - Static method in interface io.jenetics.engine.Codec
-
Combines the given
codecs
into one codec. - of(ISeq<? extends T>) - Static method in class io.jenetics.PermutationChromosome
-
Create a new, random chromosome with the given valid alleles.
- of(ISeq<? extends T>, int) - Static method in class io.jenetics.PermutationChromosome
-
Create a new, random chromosome with the given valid alleles and the desired length.
- of(ISeq<Genotype<G>>, long) - Static method in class io.jenetics.engine.EvolutionInit
-
Create a new evolution start object with the given population and for the given generation.
- of(ISeq<Phenotype<G, C>>, long) - Static method in class io.jenetics.engine.EvolutionStart
-
Create a new evolution start object with the given population and for the given generation.
- of(LongRange) - Static method in class io.jenetics.LongChromosome
-
Create a new random
LongChromosome
of length one. - of(LongRange) - Static method in class io.jenetics.LongGene
-
Create a new random
LongGene
. - of(LongRange, int) - Static method in class io.jenetics.LongChromosome
-
Create a new random
LongChromosome
. - of(LongRange, IntRange) - Static method in class io.jenetics.LongChromosome
-
Create a new random chromosome.
- of(Seq<? extends T>) - Static method in interface io.jenetics.util.MSeq
-
Create a new
MSeq
from the values of the givenSeq
. - of(CharSequence) - Static method in class io.jenetics.BitChromosome
-
Create a new
BitChromosome
from the given character sequence containing '0' and '1'; as created with theBitChromosome.toCanonicalString()
method. - of(CharSequence) - Static method in class io.jenetics.internal.collection.BitArray
-
Creates a new bit-array from the given string
value
. - of(CharSequence) - Static method in class io.jenetics.util.CharSeq
-
Expands the character range for the given
pattern
. - of(CharSequence, double) - Static method in class io.jenetics.BitChromosome
-
Create a new
BitChromosome
from the given character sequence containing '0' and '1'; as created with theBitChromosome.toCanonicalString()
method. - of(CharSequence, int) - Static method in class io.jenetics.internal.collection.BitArray
-
Creates a new bit-array from the given string
value
. - of(CharSequence, int, double) - Static method in class io.jenetics.BitChromosome
-
Create a new
BitChromosome
from the given character sequence containing '0' and '1'; as created with theBitChromosome.toCanonicalString()
method. - of(Iterable<? extends Chromosome<G>>) - Static method in class io.jenetics.Genotype
-
Create a new
Genotype
from a given array ofchromosomes
. - of(Iterable<? extends T>) - Static method in interface io.jenetics.util.ISeq
-
Create a new
ISeq
from the given values. - of(Iterable<? extends T>) - Static method in interface io.jenetics.util.MSeq
-
Create a new
MSeq
from the given values. - of(Iterable<? extends T>) - Static method in interface io.jenetics.util.Seq
-
Create a new
Seq
from the given values. - of(Iterable<DoubleGene>) - Static method in class io.jenetics.DoubleChromosome
-
Create a new
DoubleChromosome
with the given genes. - of(Iterable<IntegerGene>) - Static method in class io.jenetics.IntegerChromosome
-
Create a new
IntegerChromosome
with the given genes. - of(Iterable<LongGene>) - Static method in class io.jenetics.LongChromosome
-
Create a new
LongChromosome
with the given genes. - of(Object[]) - Static method in class io.jenetics.internal.collection.ObjectStore
- of(String) - Static method in class io.jenetics.CharacterChromosome
-
Create a new chromosome from the given genes (given as string).
- of(String[]) - Static method in class io.jenetics.internal.util.Args
-
Wraps the given argument array into an
Args
object. - of(String, CharSeq) - Static method in class io.jenetics.CharacterChromosome
-
Create a new chromosome from the given genes (given as string).
- of(BigInteger) - Static method in class io.jenetics.BitChromosome
-
Create a new
BitChromosome
from the given big integer value. - of(BigInteger) - Static method in class io.jenetics.internal.collection.BitArray
-
Create a new bit-array from the given
BigInteger
value. - of(BigInteger, int) - Static method in class io.jenetics.BitChromosome
-
Create a new
BitChromosome
from the given big integer value and ones' probability. - of(BigInteger, int) - Static method in class io.jenetics.internal.collection.BitArray
-
Creates a new bit-array from the given
value
and the givenlength
. - of(BigInteger, int, double) - Static method in class io.jenetics.BitChromosome
-
Create a new
BitChromosome
from the given big integer value and ones' probability. - of(BitSet) - Static method in class io.jenetics.BitChromosome
-
Constructing a new BitChromosome from a given BitSet.
- of(BitSet, int) - Static method in class io.jenetics.BitChromosome
-
Create a new
BitChromosome
with the given parameters. - of(BitSet, int, double) - Static method in class io.jenetics.BitChromosome
-
Create a new
BitChromosome
with the given parameters. - of(Collection<? extends Lifecycle.ThrowingRunnable<? extends E>>) - Static method in interface io.jenetics.internal.util.Lifecycle.ExtendedCloseable
-
Create a new
ExtendedCloseable
object with the given initial release methods>. - of(Comparator<? super T>) - Static method in class io.jenetics.stat.MinMax
-
Create a new
MinMax
consumer with the givenComparator
. - of(DoubleSummaryStatistics) - Static method in record class io.jenetics.stat.DoubleSummary
-
Return a new value object of the statistical summary, currently represented by the
statistics
object. - of(Function<? super EvolutionStart<G, C>, EvolutionStart<G, C>>, Function<? super EvolutionResult<G, C>, EvolutionResult<G, C>>) - Static method in interface io.jenetics.engine.EvolutionInterceptor
-
Create a new interceptor instance with the given
before
andafter
functions. - of(Function<T, C>, Codec<T, G>) - Static method in interface io.jenetics.engine.Problem
-
Return a new optimization problem with the given parameters.
- of(Function<T, C>, Codec<T, G>, Constraint<G, C>) - Static method in interface io.jenetics.engine.Problem
-
Return a new optimization problem with the given parameters.
- of(Predicate<? super Phenotype<G, C>>) - Static method in interface io.jenetics.engine.Constraint
-
Return a new constraint object with the given
validator
. - of(Predicate<? super Phenotype<G, C>>) - Static method in class io.jenetics.engine.RetryConstraint
-
Return a new constraint with the given
validator
and theRetryConstraint.DEFAULT_RETRY_COUNT
. - of(Predicate<? super Phenotype<G, C>>, int) - Static method in class io.jenetics.engine.RetryConstraint
-
Return a new constraint with the given
validator
andretryLimit
. - of(Predicate<? super Phenotype<G, C>>, BiFunction<? super Phenotype<G, C>, Long, Phenotype<G, C>>) - Static method in interface io.jenetics.engine.Constraint
-
Return a new constraint object with the given
validator
andrepairer
. - of(Supplier<? extends A>) - Static method in class io.jenetics.AnyChromosome
-
Create a new chromosome of type
A
with the given parameters and length one. - of(Supplier<? extends A>) - Static method in class io.jenetics.AnyGene
-
Create a new
AnyGene
instance with the given allelesupplier
. - of(Supplier<? extends A>, int) - Static method in class io.jenetics.AnyChromosome
-
Create a new chromosome of type
A
with the given parameters. - of(Supplier<? extends A>, IntRange) - Static method in class io.jenetics.AnyChromosome
-
Create a new chromosome of type
A
with the given parameters. - of(Supplier<? extends A>, Predicate<? super A>) - Static method in class io.jenetics.AnyChromosome
-
Create a new chromosome of type
A
with the given parameters and length one. - of(Supplier<? extends A>, Predicate<? super A>) - Static method in class io.jenetics.AnyGene
-
Create a new
AnyGene
instance with the given parameters. - of(Supplier<? extends A>, Predicate<? super A>, int) - Static method in class io.jenetics.AnyChromosome
-
Create a new chromosome of type
A
with the given parameters. - of(Supplier<? extends A>, Predicate<? super A>, IntRange) - Static method in class io.jenetics.AnyChromosome
-
Create a new chromosome of type
A
with the given parameters. - of(Supplier<? extends A>, Predicate<? super A>, Predicate<? super ISeq<A>>, int) - Static method in class io.jenetics.AnyChromosome
-
Create a new chromosome of type
A
with the given parameters. - of(Supplier<? extends A>, Predicate<? super A>, Predicate<? super ISeq<A>>, IntRange) - Static method in class io.jenetics.AnyChromosome
-
Create a new chromosome of type
A
with the given parameters. - of(Supplier<? extends T>, int) - Static method in interface io.jenetics.util.ISeq
-
Creates a new sequence, which is filled with objects created be the given
supplier
. - of(Supplier<? extends T>, int) - Static method in interface io.jenetics.util.MSeq
-
Creates a new sequence, which is filled with objects created be the given
supplier
. - of(Supplier<? extends T>, int) - Static method in interface io.jenetics.util.Seq
-
Creates a new sequence, which is filled with objects created be the given
supplier
. - of(Supplier<EvolutionStart<G, C>>, Function<? super EvolutionStart<G, C>, ? extends Evolution<G, C>>) - Static method in class io.jenetics.internal.engine.EvolutionSpliterator
-
Create a new spliterator with the given
start
element and theevolution
function-function. - of(Supplier<EvolutionStart<G, C>>, Function<? super EvolutionStart<G, C>, ? extends Evolution<G, C>>) - Static method in class io.jenetics.internal.engine.EvolutionStreamImpl
- of(Supplier<T>) - Static method in class io.jenetics.internal.util.Lazy
-
Create a new lazy value initialization.
- of(IntSummaryStatistics) - Static method in record class io.jenetics.stat.IntSummary
-
Return a new value object of the statistical summary, currently represented by the
statistics
object. - of(LongSummaryStatistics) - Static method in record class io.jenetics.stat.LongSummary
-
Return a new value object of the statistical summary, currently represented by the
statistics
object. - of(RandomGenerator) - Static method in class io.jenetics.util.RandomAdapter
-
Create a new
Random
object from the givenrandom
generator. - of(Spliterator<T>, Predicate<? super T>) - Static method in class io.jenetics.internal.util.LimitSpliterator
- of(Collector<T, ?, R>) - Static method in interface io.jenetics.util.Accumulator
-
Create a new accumulator from the given
collector
. - of(T...) - Static method in class io.jenetics.PermutationChromosome
-
Create a new, random chromosome with the given valid alleles.
- of(T...) - Static method in interface io.jenetics.util.ISeq
-
Create a new
ISeq
from the given values. - of(T...) - Static method in interface io.jenetics.util.MSeq
-
Create a new
MSeq
from the given values. - of(T...) - Static method in interface io.jenetics.util.Seq
-
Create a new
Seq
from the given values. - of(T, Comparator<? super T>) - Static method in class io.jenetics.util.Ordered
-
Make the given
value
comparable, by using the givencomparator
. - ofAdjustableEvolution(Supplier<EvolutionStart<G, C>>, Function<? super EvolutionStart<G, C>, ? extends Evolution<G, C>>) - Static method in interface io.jenetics.engine.EvolutionStream
-
Create a new evolution stream with an adjustable evolution function.
- ofAfter(Function<? super EvolutionResult<G, C>, EvolutionResult<G, C>>) - Static method in interface io.jenetics.engine.EvolutionInterceptor
-
Create a new interceptor instance with the given
after
function. - ofBefore(Function<? super EvolutionStart<G, C>, EvolutionStart<G, C>>) - Static method in interface io.jenetics.engine.EvolutionInterceptor
-
Create a new interceptor instance with the given
before
function. - ofComparable() - Static method in class io.jenetics.engine.EvolutionStatistics
- ofEvolution(Supplier<EvolutionStart<G, C>>, Evolution<G, C>) - Static method in interface io.jenetics.engine.EvolutionStream
-
Create a new
EvolutionStream
from the givenstart
population andevolution
function. - offspringAlterDuration() - Method in record class io.jenetics.engine.EvolutionDurations
-
Returns the value of the
offspringAlterDuration
record component. - offspringFilterDuration() - Method in record class io.jenetics.engine.EvolutionDurations
-
Returns the value of the
offspringFilterDuration
record component. - offspringFraction() - Method in class io.jenetics.engine.Engine.Builder
-
Return the offspring fraction.
- offspringFraction() - Method in class io.jenetics.engine.EvolutionParams.Builder
-
Return the offspring fraction.
- offspringFraction() - Method in class io.jenetics.engine.EvolutionParams
-
Return the offspring fraction.
- offspringFraction(double) - Method in class io.jenetics.engine.Engine.Builder
-
The offspring fraction.
- offspringFraction(double) - Method in class io.jenetics.engine.EvolutionParams.Builder
-
The offspring fraction.
- offspringSelectionDuration() - Method in record class io.jenetics.engine.EvolutionDurations
-
Returns the value of the
offspringSelectionDuration
record component. - offspringSelector() - Method in class io.jenetics.engine.Engine.Builder
-
Return the used offspring
Selector
of the GA. - offspringSelector() - Method in class io.jenetics.engine.Engine
-
Return the used offspring
Selector
of the GA. - offspringSelector() - Method in class io.jenetics.engine.EvolutionParams.Builder
-
Return the used offspring
Selector
of the GA. - offspringSelector() - Method in class io.jenetics.engine.EvolutionParams
-
Return the used offspring
Selector
of the GA. - offspringSelector(Selector<G, C>) - Method in class io.jenetics.engine.Engine.Builder
-
The selector used for selecting the offspring population.
- offspringSelector(Selector<G, C>) - Method in class io.jenetics.engine.EvolutionParams.Builder
-
The selector used for selecting the offspring population.
- offspringSize() - Method in class io.jenetics.engine.Engine
-
Return the number of selected offspring.
- offspringSize() - Method in class io.jenetics.engine.EvolutionParams.Builder
-
Return the number of offspring.
- offspringSize() - Method in class io.jenetics.engine.EvolutionParams
-
Return the number of offspring.
- offspringSize(int) - Method in class io.jenetics.engine.Engine.Builder
-
The number of offspring individuals.
- ofInteger(int) - Static method in class io.jenetics.PermutationChromosome
-
Create a integer permutation chromosome with the given length.
- ofInteger(int, int) - Static method in class io.jenetics.PermutationChromosome
-
Create an integer permutation chromosome with the given range.
- ofInteger(IntRange, int) - Static method in class io.jenetics.PermutationChromosome
-
Create an integer permutation chromosome with the given range and length
- ofLength(int) - Static method in class io.jenetics.internal.collection.Array
-
Create a new
Array
with the given length. - ofLength(int) - Static method in class io.jenetics.internal.collection.BitArray
-
Crate a new bit-array with the given length.
- ofLength(int) - Static method in class io.jenetics.internal.collection.ObjectStore
- ofLength(int) - Static method in interface io.jenetics.util.MSeq
-
Create a new
MSeq
with the givenlength
. - ofLength(int, double) - Static method in class io.jenetics.internal.collection.BitArray
-
Create a new bit-array which can store at least the number of bits as defined by the given
length
parameter. - ofMapping(ISeq<? extends A>, ISeq<? extends B>) - Static method in class io.jenetics.engine.Codecs
-
Create a codec, which creates a mapping from the elements given in the
source
sequence to the elements given in thetarget
sequence. - ofMapping(ISeq<? extends A>, ISeq<? extends B>, Supplier<M>) - Static method in class io.jenetics.engine.Codecs
-
Create a codec, which creates a mapping from the elements given in the
source
sequence to the elements given in thetarget
sequence. - ofMatrix(DoubleRange, int, int) - Static method in class io.jenetics.engine.Codecs
-
Return a 2-dimensional matrix
InvertibleCodec
for the given range. - ofMatrix(IntRange, int, int) - Static method in class io.jenetics.engine.Codecs
-
Return a 2-dimensional matrix
InvertibleCodec
for the given range. - ofMatrix(LongRange, int, int) - Static method in class io.jenetics.engine.Codecs
-
Return a 2-dimensional matrix
InvertibleCodec
for the given range. - ofNumber() - Static method in class io.jenetics.engine.EvolutionStatistics
- ofPermutation(int) - Static method in class io.jenetics.engine.Codecs
-
Create a permutation
InvertibleCodec
of integer in the range[0, length)
. - ofPermutation(ISeq<? extends T>) - Static method in class io.jenetics.engine.Codecs
-
Create a permutation
InvertibleCodec
with the given alleles. - ofScalar(DoubleRange) - Static method in class io.jenetics.engine.Codecs
-
Return a scalar
InvertibleCodec
for the given range. - ofScalar(IntRange) - Static method in class io.jenetics.engine.Codecs
-
Return a scalar
InvertibleCodec
for the given range. - ofScalar(LongRange) - Static method in class io.jenetics.engine.Codecs
-
Return a scalar
InvertibleCodec
for the given range. - ofScalar(Supplier<? extends A>) - Static method in class io.jenetics.engine.Codecs
- ofScalar(Supplier<? extends A>, Predicate<? super A>) - Static method in class io.jenetics.engine.Codecs
- ofSubSet(ISeq<? extends T>) - Static method in class io.jenetics.engine.Codecs
-
The subset
InvertibleCodec
can be used for problems where it is required to find the best variable-sized subset from a given basic set. - ofSubSet(ISeq<? extends T>, int) - Static method in class io.jenetics.engine.Codecs
-
The subset
InvertibleCodec
can be used for problems where it is required to find the best fixed-size subset from a given basic set. - ofValue(T) - Static method in class io.jenetics.internal.util.Lazy
-
Create a new
Lazy
object with the givenvalue
. - ofVector(DoubleRange...) - Static method in class io.jenetics.engine.Codecs
-
Create a vector
InvertibleCodec
for the given ranges. - ofVector(DoubleRange, int) - Static method in class io.jenetics.engine.Codecs
-
Return a vector
InvertibleCodec
for the given range. - ofVector(DoubleRange, IntRange) - Static method in class io.jenetics.engine.Codecs
-
Return a vector
InvertibleCodec
for the given range. - ofVector(IntRange...) - Static method in class io.jenetics.engine.Codecs
-
Create a vector
InvertibleCodec
for the given ranges. - ofVector(IntRange, int) - Static method in class io.jenetics.engine.Codecs
-
Return a vector
InvertibleCodec
for the given range. - ofVector(IntRange, IntRange) - Static method in class io.jenetics.engine.Codecs
-
Return a vector
InvertibleCodec
for the given range. - ofVector(LongRange...) - Static method in class io.jenetics.engine.Codecs
-
Create a vector
InvertibleCodec
for the given ranges. - ofVector(LongRange, int) - Static method in class io.jenetics.engine.Codecs
-
Return a vector
InvertibleCodec
for the given range. - ofVector(LongRange, IntRange) - Static method in class io.jenetics.engine.Codecs
-
Return a vector
InvertibleCodec
for the given range. - ofVector(Supplier<? extends A>, int) - Static method in class io.jenetics.engine.Codecs
- ofVector(Supplier<? extends A>, Predicate<? super A>, int) - Static method in class io.jenetics.engine.Codecs
- ofVector(Supplier<? extends A>, Predicate<? super A>, Predicate<? super ISeq<A>>, int) - Static method in class io.jenetics.engine.Codecs
- onClose(Runnable) - Method in class io.jenetics.internal.util.StreamProxy
- ONE - Static variable in enum class io.jenetics.BitGene
- oneProbability() - Method in class io.jenetics.BitChromosome
-
Return the one nominal probability of this chromosome.
- ones() - Method in class io.jenetics.BitChromosome
-
Return the indexes of the ones of this bit-chromosome as stream.
- optimize() - Method in class io.jenetics.engine.Engine.Builder
-
Return the optimization strategy.
- optimize() - Method in class io.jenetics.engine.Engine
-
Return the optimization strategy.
- optimize() - Method in class io.jenetics.engine.EvolutionResult
-
Return the optimization strategy used.
- optimize(Optimize) - Method in class io.jenetics.engine.Engine.Builder
-
The optimization strategy used by the engine.
- Optimize - Enum Class in io.jenetics
-
This
enum
determines whether the GA should maximize or minimize the fitness function. - or(BitChromosome) - Method in class io.jenetics.BitChromosome
-
Returns a
BitChromosome
whose value is (this | other
). - order() - Method in class io.jenetics.Recombinator
-
Return the number of individuals involved in the
Recombinator.recombine(MSeq, int[], long)
step. - Ordered<T> - Class in io.jenetics.util
-
Object wrapper, which makes the wrapped value
Comparable
, by defining a separateComparator
.
P
- parallel() - Method in class io.jenetics.internal.util.StreamProxy
- parallelStream() - Method in enum class io.jenetics.internal.collection.Empty.EmptyISeq
- parallelStream() - Method in enum class io.jenetics.internal.collection.Empty.EmptyMSeq
- parallelStream() - Method in interface io.jenetics.util.Seq
-
Returns a possibly parallel
Stream
with this sequence as its source. - PartialAlterer<G extends Gene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics -
This alterer wraps a given alterer which works on a given section of the genotype's chromosomes.
- PartiallyMatchedCrossover<T,
C extends Comparable<? super C>> - Class in io.jenetics -
The
PartiallyMatchedCrossover
(PMX) guarantees that allGene
s are found exactly once in each chromosome. - PartiallyMatchedCrossover(double) - Constructor for class io.jenetics.PartiallyMatchedCrossover
- peek(Consumer<? super T>) - Method in class io.jenetics.internal.util.StreamProxy
- PermutationChromosome<T> - Class in io.jenetics
-
This chromosome can be used to model permutations of a given (sub) set of alleles.
- PermutationChromosome(ISeq<EnumGene<T>>) - Constructor for class io.jenetics.PermutationChromosome
-
Create a new
PermutationChromosome
from the givengenes
. - Phenotype<G extends Gene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics -
The
Phenotype
consists of aGenotype
, the current generation and an optional fitness value. - phenotypeAge() - Method in class io.jenetics.engine.EvolutionStatistics
-
Return the statistics about the individual's age.
- plus(EvolutionDurations) - Method in record class io.jenetics.engine.EvolutionDurations
-
Returns a copy of this duration with the specified duration added.
- population() - Method in record class io.jenetics.AltererResult
-
Returns the value of the
population
record component. - population() - Method in class io.jenetics.engine.EvolutionInit
-
Return the initial population.
- population() - Method in class io.jenetics.engine.EvolutionResult
-
Return the population after the evolution step.
- population() - Method in class io.jenetics.engine.EvolutionStart
-
Return the population before the evolution step.
- POPULATION_COMPARATOR - Variable in class io.jenetics.ProbabilitySelector
- populationSize() - Method in class io.jenetics.engine.Engine.Builder
-
Return the number of individuals of a population.
- populationSize() - Method in class io.jenetics.engine.Engine
-
Return the number of individuals of a population.
- populationSize() - Method in class io.jenetics.engine.EvolutionParams.Builder
-
Return the number of individuals of a population.
- populationSize() - Method in class io.jenetics.engine.EvolutionParams
-
Return the population size.
- populationSize(int) - Method in class io.jenetics.engine.Engine.Builder
-
The number of individuals which form the population.
- populationSize(int) - Method in class io.jenetics.engine.EvolutionParams.Builder
-
The number of individuals which form the population.
- positive(double) - Static method in class io.jenetics.internal.util.Requires
- positive(int) - Static method in class io.jenetics.internal.util.Requires
-
Require the given
value
to be positive (> 0). - positive(long) - Static method in class io.jenetics.internal.util.Requires
- pow(long, long) - Static method in class io.jenetics.internal.math.Basics
-
Binary exponentiation algorithm.
- Predicates - Class in io.jenetics.internal.util
-
This class contains some common predicates
- prepend(Iterable<?>) - Method in enum class io.jenetics.internal.collection.Empty.EmptyISeq
- prepend(Iterable<?>) - Method in enum class io.jenetics.internal.collection.Empty.EmptyMSeq
- prepend(Iterable<? extends T>) - Method in class io.jenetics.internal.collection.Array
-
Return a new
Array
with the givenvalues
prepended. - prepend(Iterable<? extends T>) - Method in class io.jenetics.internal.collection.ArrayISeq
- prepend(Iterable<? extends T>) - Method in class io.jenetics.internal.collection.ArrayMSeq
- prepend(Iterable<? extends T>) - Method in interface io.jenetics.util.ISeq
- prepend(Iterable<? extends T>) - Method in interface io.jenetics.util.MSeq
- prepend(Iterable<? extends T>) - Method in interface io.jenetics.util.Seq
-
Return a new
Seq
with the givenvalues
prepended. - prepend(Object...) - Method in enum class io.jenetics.internal.collection.Empty.EmptyISeq
- prepend(Object...) - Method in enum class io.jenetics.internal.collection.Empty.EmptyMSeq
- prepend(T...) - Method in interface io.jenetics.util.ISeq
- prepend(T...) - Method in interface io.jenetics.util.MSeq
- prepend(T...) - Method in interface io.jenetics.util.Seq
-
Return a new
Seq
with the givenvalues
prepended. - previous() - Method in class io.jenetics.internal.collection.BaseSeqIterator
- previousIndex() - Method in class io.jenetics.internal.collection.BaseSeqIterator
- probabilities(Seq<Phenotype<G, C>>, int) - Method in class io.jenetics.ExponentialRankSelector
-
This method sorts the population in descending order while calculating the selection probabilities.
- probabilities(Seq<Phenotype<G, C>>, int) - Method in class io.jenetics.LinearRankSelector
-
This method sorts the population in descending order while calculating the selection probabilities.
- probabilities(Seq<Phenotype<G, C>>, int) - Method in class io.jenetics.ProbabilitySelector
-
Return an Probability array, which corresponds to the given Population.
- probabilities(Seq<Phenotype<G, C>>, int, Optimize) - Method in class io.jenetics.ProbabilitySelector
-
This method takes the probabilities from the
ProbabilitySelector.probabilities(Seq, int)
method and inverts it if needed. - probabilities(Seq<Phenotype<G, N>>, int) - Method in class io.jenetics.BoltzmannSelector
- probabilities(Seq<Phenotype<G, N>>, int) - Method in class io.jenetics.RouletteWheelSelector
- Probabilities - Class in io.jenetics.internal.math
-
Mathematical functions regarding probabilities.
- probability() - Method in class io.jenetics.AbstractAlterer
-
Return the recombination/alter probability for this alterer.
- probability(double) - Static method in class io.jenetics.internal.util.Requires
-
Check if the given double value is within the closed range
[0, 1]
. - ProbabilitySelector<G extends Gene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics -
Probability selectors are a variation of fitness proportional selectors and selects individuals from a given population based on its selection probability P(i).
- ProbabilitySelector() - Constructor for class io.jenetics.ProbabilitySelector
-
Create a new selector with
sorted = false
. - ProbabilitySelector(boolean) - Constructor for class io.jenetics.ProbabilitySelector
-
Create a new
ProbabilitySelector
with the givensorting
flag. - Problem<T,
G extends Gene<?, G>, C extends Comparable<? super C>> - Interface in io.jenetics.engine -
This interface describes a problem which can be solved by the GA evolution
Engine
. - ProxySorter - Class in io.jenetics.util
-
This sorting methods doesn't sort a given array directly, instead an index lookup array is returned which allows to access the array in a sorted order.
- ProxySorter.Comparator<T> - Interface in io.jenetics.util
-
The comparator used for comparing two array elements at the specified indexes.
Q
- quantile() - Method in class io.jenetics.stat.Quantile
-
Return the quantile
this
object has been parametrized with. - Quantile - Class in io.jenetics.stat
-
Implementation of the quantile estimation algorithm published by
- Quantile(double) - Constructor for class io.jenetics.stat.Quantile
-
Create a new quantile accumulator with the given value.
R
- random() - Static method in class io.jenetics.util.RandomRegistry
-
Return the
RandomGenerator
of the current scope. - random(Supplier<? extends R>) - Static method in class io.jenetics.util.RandomRegistry
-
Set a new
Supplier
ofRandomGenerator
for the global scope. - random(RandomGenerator) - Static method in class io.jenetics.util.RandomRegistry
-
Set a new
RandomGenerator
for the global scope. - random(RandomGeneratorFactory<? extends R>) - Static method in class io.jenetics.util.RandomRegistry
-
Set a new
RandomGeneratorFactory
for the global scope. - RandomAdapter - Class in io.jenetics.util
-
Some places in the Java API still require a
Random
object instead of the newRandomGenerator
. - RandomRegistry - Class in io.jenetics.util
-
This class holds the
RandomGenerator
engine used for the GA. - Randoms - Class in io.jenetics.internal.math
-
Some random helper functions.
- range() - Method in class io.jenetics.DoubleGene
-
Return the range of
this
gene. - range() - Method in class io.jenetics.IntegerGene
-
Return the range of
this
gene. - range() - Method in class io.jenetics.LongGene
-
Return the range of
this
gene. - rangeCheck(int, int) - Static method in class io.jenetics.internal.util.Arrays
- read(DataInput) - Method in interface io.jenetics.internal.util.SerialIO.Reader
- read(File) - Method in class io.jenetics.util.IO
-
Reads an object from the given file.
- read(InputStream) - Method in class io.jenetics.util.IO
-
Reads an object from the given input stream.
- read(Class<T>, File) - Method in class io.jenetics.util.IO
-
Reads an object from the given file.
- read(Class<T>, InputStream) - Method in class io.jenetics.util.IO
-
Reads an object from the given input stream.
- read(Class<T>, String) - Method in class io.jenetics.util.IO
-
Reads an object from the given file.
- read(Class<T>, Path) - Method in class io.jenetics.util.IO
-
Reads an object from the given file.
- read(String) - Method in class io.jenetics.util.IO
-
Reads an object from the given file.
- read(Path) - Method in class io.jenetics.util.IO
-
Reads an object from the given file.
- readBytes(DataInput) - Static method in class io.jenetics.internal.util.SerialIO
- readCharArray(DataInput) - Static method in class io.jenetics.internal.util.SerialIO
-
Read an
char[]
array from the data input. - readDoubleArray(DataInput) - Static method in class io.jenetics.internal.util.SerialIO
-
Read a
double[]
array from the data input. - readInt(DataInput) - Static method in class io.jenetics.internal.util.SerialIO
-
Reads an int value from the given data input.
- readIntArray(DataInput) - Static method in class io.jenetics.internal.util.SerialIO
-
Read an
int[]
array from the data input. - readLong(DataInput) - Static method in class io.jenetics.internal.util.SerialIO
-
Reads a long value from the given data input.
- readLongArray(DataInput) - Static method in class io.jenetics.internal.util.SerialIO
-
Read a
long[]
array from the data input. - readNullable(SerialIO.Reader<? extends T>, DataInput) - Static method in class io.jenetics.internal.util.SerialIO
-
Reads a possible
null
value from the given data input. - readNullableString(DataInput) - Static method in class io.jenetics.internal.util.SerialIO
-
Reads a, possible
null
, string value from the given data input. - readObjectArray(ObjectInput) - Static method in class io.jenetics.internal.util.SerialIO
-
Read an
Object[]
array from the data input. - reads(SerialIO.Reader<? extends T>, DataInput) - Static method in class io.jenetics.internal.util.SerialIO
-
Reads a list of elements from the given data input.
- readString(DataInput) - Static method in class io.jenetics.internal.util.SerialIO
-
Reads a string value from the given data input.
- Recombinator<G extends Gene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics -
An enhanced genetic algorithm (EGA) combine elements of existing solutions in order to create a new solution, with some of the properties of each parent.
- Recombinator(double, int) - Constructor for class io.jenetics.Recombinator
-
Constructs an alterer with a given recombination probability.
- recombine(MSeq<Phenotype<G, C>>, int[], long) - Method in class io.jenetics.CombineAlterer
- recombine(MSeq<Phenotype<G, C>>, int[], long) - Method in class io.jenetics.Crossover
- recombine(MSeq<Phenotype<G, C>>, int[], long) - Method in class io.jenetics.Recombinator
-
Recombination template method.
- reduce(BinaryOperator<T>) - Method in class io.jenetics.internal.util.StreamProxy
- reduce(T, BinaryOperator<T>) - Method in class io.jenetics.internal.util.StreamProxy
- reduce(U, BiFunction<U, ? super T, U>, BinaryOperator<U>) - Method in class io.jenetics.internal.util.StreamProxy
- remove() - Method in class io.jenetics.internal.collection.BaseSeqIterator
- repair(Phenotype<G, C>, long) - Method in interface io.jenetics.engine.Constraint
-
Tries to repair the given phenotype.
- repair(Phenotype<G, C>, long) - Method in class io.jenetics.engine.RetryConstraint
- Requires - Class in io.jenetics.internal.util
-
Some helper methods for creating hash codes and comparing values.
- reset() - Method in class io.jenetics.stat.Quantile
-
Reset this object to its initial state.
- reset() - Static method in class io.jenetics.util.RandomRegistry
-
Set the random object to its default value.
- Resources() - Constructor for class io.jenetics.internal.util.Lifecycle.Resources
-
Create a new, empty
Resources
object. - Resources(Lifecycle.ThrowingRunnable<? extends E>...) - Constructor for class io.jenetics.internal.util.Lifecycle.Resources
-
Create a new
Resources
object, initialized with the given resource release methods. - Resources(Collection<? extends Lifecycle.ThrowingRunnable<? extends E>>) - Constructor for class io.jenetics.internal.util.Lifecycle.Resources
-
Create a new
Resources
object, initialized with the given resource release methods. - result() - Method in record class io.jenetics.MutatorResult
-
Returns the value of the
result
record component. - result() - Method in class io.jenetics.stat.DoubleMomentStatistics
- result() - Method in interface io.jenetics.util.Accumulator
-
Return a copy of the current result of the accumulated elements.
- RetryConstraint<G extends Gene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics.engine -
This simple
Constraint
implementation repairs an invalid phenotype by creating new individuals until a valid one has been created. - RetryConstraint(Predicate<? super Phenotype<G, C>>, Factory<Genotype<G>>, int) - Constructor for class io.jenetics.engine.RetryConstraint
-
Create a new retry-constraint with the given parameters.
- reverse() - Method in interface io.jenetics.util.MSeq
-
Reverses the order of the elements this sequence (in place).
- reverse(byte[]) - Static method in class io.jenetics.internal.util.Bits
- reversed() - Method in interface io.jenetics.util.ProxySorter.Comparator
-
Returns a comparator that imposes the reverse ordering of this comparator.
- revert(double[]) - Static method in class io.jenetics.internal.util.Arrays
- revert(int[]) - Static method in class io.jenetics.internal.util.Arrays
- revert(long[]) - Static method in class io.jenetics.internal.util.Arrays
- revert(T[]) - Static method in class io.jenetics.internal.util.Arrays
- RouletteWheelSelector<G extends Gene<?,
G>, N extends Number & Comparable<? super N>> - Class in io.jenetics -
The roulette-wheel selector is also known as fitness proportional selector, but in the Jenetics library it is implemented as probability selector.
- RouletteWheelSelector() - Constructor for class io.jenetics.RouletteWheelSelector
- RouletteWheelSelector(boolean) - Constructor for class io.jenetics.RouletteWheelSelector
- run() - Method in interface io.jenetics.internal.util.Lifecycle.ThrowingRunnable
-
Running the task.
S
- sameState(DoubleAdder) - Method in class io.jenetics.internal.math.DoubleAdder
-
Check if
this
and theother
DoubleAdder
maintain the same internal state. - sameState(DoubleMomentStatistics) - Method in class io.jenetics.stat.DoubleMomentStatistics
-
Compares the state of two
DoubleMomentStatistics
objects. - sameState(IntMomentStatistics) - Method in class io.jenetics.stat.IntMomentStatistics
-
Compares the state of two
IntMomentStatistics
objects. - sameState(LongMomentStatistics) - Method in class io.jenetics.stat.LongMomentStatistics
-
Compares the state of two
LongMomentStatistics
objects. - sameState(MinMax<C>) - Method in class io.jenetics.stat.MinMax
-
Compares the state of two
LongMomentStatistics
objects. - sameState(Quantile) - Method in class io.jenetics.stat.Quantile
-
Compares the state of two
Quantile
objects. - sampleSize() - Method in class io.jenetics.TournamentSelector
-
Return the sample size of the tournament selector.
- seal() - Method in class io.jenetics.internal.collection.Array
-
Return a new sealed array instance.
- seal() - Method in class io.jenetics.internal.collection.Array.Store.Ref
- seed() - Static method in class io.jenetics.internal.math.Randoms
-
Calculating a 64-bit seed value which can be used for initializing PRNGs.
- seed(byte[]) - Static method in class io.jenetics.internal.math.Randoms
-
Fills the given byte array with random bytes, created by successive calls of the
Randoms.seed()
method. - seed(long) - Static method in class io.jenetics.internal.math.Randoms
-
Uses the given
base
value to create a reasonable safe seed value. - seedBytes(int) - Static method in class io.jenetics.internal.math.Randoms
-
Create a new seed byte array of the given length.
- select(Seq<Phenotype<G, C>>, int, Optimize) - Method in class io.jenetics.EliteSelector
- select(Seq<Phenotype<G, C>>, int, Optimize) - Method in class io.jenetics.MonteCarloSelector
- select(Seq<Phenotype<G, C>>, int, Optimize) - Method in class io.jenetics.ProbabilitySelector
- select(Seq<Phenotype<G, C>>, int, Optimize) - Method in interface io.jenetics.Selector
-
Select phenotypes from the Population.
- select(Seq<Phenotype<G, C>>, int, Optimize) - Method in class io.jenetics.TournamentSelector
- select(Seq<Phenotype<G, C>>, int, Optimize) - Method in class io.jenetics.TruncationSelector
-
This method sorts the population in descending order while calculating the selection probabilities.
- select(Seq<Phenotype<G, N>>, int, Optimize) - Method in class io.jenetics.StochasticUniversalSelector
-
This method sorts the population in descending order while calculating the selection probabilities.
- selectionDuration() - Method in class io.jenetics.engine.EvolutionStatistics
-
Return the duration statistics needed for selecting the population, in seconds.
- selector(Selector<G, C>) - Method in class io.jenetics.engine.Engine.Builder
-
The selector used for selecting the survivors and offspring population.
- selector(Selector<G, C>) - Method in class io.jenetics.engine.EvolutionParams.Builder
-
The selector used for selecting the survivors and offspring population.
- Selector<G extends Gene<?,
G>, C extends Comparable<? super C>> - Interface in io.jenetics -
Selectors are responsible for selecting a given number of individuals from the population.
- self() - Method in interface io.jenetics.util.Self
-
Return a reference of
this
object as the declared generic typeS
. - Self<S extends Self<S>> - Interface in io.jenetics.util
-
This interface defines a recursive generic type
S
, which represents the type of the implementing class. - Seq<T> - Interface in io.jenetics.util
-
General interface for a ordered, fixed sized, object sequence.
- sequential() - Method in class io.jenetics.internal.util.StreamProxy
- serial(Function<? super Genotype<G>, ? extends C>) - Static method in class io.jenetics.engine.Evaluators
-
Return a new fitness evaluator, which evaluates the fitness function of the population serially in the main thread.
- serial(Function<? super T, ? extends C>, Codec<T, G>) - Static method in class io.jenetics.engine.Evaluators
-
Return a new fitness evaluator, which evaluates the fitness function of the population serially in the main thread.
- serial(Function<? super T, ? extends C>, Function<? super Genotype<G>, ? extends T>) - Static method in class io.jenetics.engine.Evaluators
-
Return a new fitness evaluator, which evaluates the fitness function of the population serially in the main thread.
- SERIAL_EXECUTOR - Static variable in class io.jenetics.internal.util.Concurrency
- SerialIO - Class in io.jenetics.internal.util
-
Helper methods needed for implementing the Java serializations.
- SerialIO.Reader<T> - Interface in io.jenetics.internal.util
-
Object reader interface
- SerialIO.Writer<T> - Interface in io.jenetics.internal.util
-
Object writer interface.
- set(byte[], int) - Static method in class io.jenetics.internal.util.Bits
-
Set the bit in the given byte array at the bit position (not the index within the byte array) to
true
. - set(byte[], int, boolean) - Static method in class io.jenetics.internal.util.Bits
-
Set the bit in the given byte array at the bit position (not the index within the byte array) to the specified value.
- set(double) - Method in class io.jenetics.internal.math.DoubleAdder
-
Set the adder to the given
value
. - set(int) - Method in class io.jenetics.internal.collection.BitArray
-
Set the bit in the given byte array at the bit position (not the index within the byte array) to
true
. - set(int, boolean) - Method in class io.jenetics.internal.collection.BitArray
-
Sets the specified bit
value
at the given bitindex
. - set(int, Character) - Method in class io.jenetics.internal.collection.CharStore
- set(int, Object) - Method in enum class io.jenetics.internal.collection.Empty.EmptyMSeq
- set(int, T) - Method in class io.jenetics.internal.collection.Array
-
Set the
value
at the givenindex
. - set(int, T) - Method in class io.jenetics.internal.collection.Array.Store.Ref
- set(int, T) - Method in interface io.jenetics.internal.collection.Array.Store
-
Write the given
value
at the givenindex
to the underlying array structure. - set(int, T) - Method in class io.jenetics.internal.collection.ArrayMSeq
- set(int, T) - Method in interface io.jenetics.internal.collection.BaseMSeq
-
Set the
value
at the givenindex
. - set(int, T) - Method in class io.jenetics.internal.collection.ObjectStore
- set(int, T) - Method in interface io.jenetics.util.MSeq
-
Set the
value
at the givenindex
. - set(DoubleAdder) - Method in class io.jenetics.internal.math.DoubleAdder
-
Set the adder to the given
value
. - set(T) - Method in class io.jenetics.internal.collection.BaseMSeqIterator
- set(T) - Method in class io.jenetics.internal.collection.BaseSeqIterator
- setAll(Iterable<? extends T>) - Method in class io.jenetics.internal.collection.ArrayMSeq
- setAll(Iterable<? extends T>) - Method in interface io.jenetics.util.MSeq
-
Fills the sequence with values of the given iterable.
- setAll(Iterator<? extends T>) - Method in class io.jenetics.internal.collection.ArrayMSeq
- setAll(Iterator<? extends T>) - Method in interface io.jenetics.util.MSeq
-
Fills the sequence with values of the given iterator.
- setAll(T[]) - Method in class io.jenetics.internal.collection.ArrayMSeq
- setAll(T[]) - Method in interface io.jenetics.util.MSeq
-
Fill the sequence with the given values.
- setup(Engine.Setup<G, C>) - Method in class io.jenetics.engine.Engine.Builder
-
Applies the given
setup
recipe tothis
engine builder. - shiftLeft(byte[], int) - Static method in class io.jenetics.internal.util.Bits
-
Shifting all bits in the given
data
array the givenshift
to the left. - shiftLeft(int) - Method in class io.jenetics.BitChromosome
-
Returns a new
BitChromosome
whose value is (this << n
). - shiftLeft(int) - Method in class io.jenetics.internal.collection.BitArray
-
Shifting all bits in
this
bit array the givenn
bits to the left. - shiftRight(byte[], int) - Static method in class io.jenetics.internal.util.Bits
-
Shifting all bits in the given
data
array the givenshift
to the right. - shiftRight(int) - Method in class io.jenetics.BitChromosome
-
Returns a new
BitChromosome
whose value is (this >> n
). - shiftRight(int) - Method in class io.jenetics.internal.collection.BitArray
-
Shifting all bits in
this
bit array the givenn
bits to the right. - shortValue() - Method in class io.jenetics.DoubleGene
- shortValue() - Method in class io.jenetics.IntegerGene
- shortValue() - Method in class io.jenetics.LongGene
- shortValue() - Method in interface io.jenetics.NumericChromosome
-
Return the short value of this
NumericChromosome
at theindex
0. - shortValue() - Method in interface io.jenetics.NumericGene
-
Returns the value of the specified gene as a short.
- shortValue(int) - Method in interface io.jenetics.NumericChromosome
-
Return the short value of this
NumericChromosome
at the givenindex
. - shuffle() - Method in interface io.jenetics.util.MSeq
-
Randomize the
array
using theRandomGenerator
object currently registered in theRandomRegistry
class. - shuffle(double[], RandomGenerator) - Static method in class io.jenetics.internal.util.Arrays
-
Randomize the
array
using the givenRandomGenerator
object. - shuffle(int[], RandomGenerator) - Static method in class io.jenetics.internal.util.Arrays
- shuffle(RandomGenerator) - Method in class io.jenetics.internal.collection.ArrayMSeq
- shuffle(RandomGenerator) - Method in interface io.jenetics.util.MSeq
-
Randomize the
array
using the givenRandomGenerator
object. - signum() - Method in class io.jenetics.internal.collection.BitArray
-
Return the signum of the number, represented by this bit-array (-1 for negative, 0 for zero, 1 for positive).
- silentClose() - Method in interface io.jenetics.internal.util.Lifecycle.ExtendedCloseable
-
Calls the
Lifecycle.ExtendedCloseable.close()
method and ignores every thrown exception. - silentClose(Throwable) - Method in interface io.jenetics.internal.util.Lifecycle.ExtendedCloseable
-
Calls the
Lifecycle.ExtendedCloseable.close()
method and ignores every thrown exception. - SinglePointCrossover<G extends Gene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics -
Single point crossover
- SinglePointCrossover() - Constructor for class io.jenetics.SinglePointCrossover
-
Create a new single-point crossover object with crossover probability of
0.05
. - SinglePointCrossover(double) - Constructor for class io.jenetics.SinglePointCrossover
-
Constructs an alterer with a given recombination probability.
- size() - Method in class io.jenetics.util.IntRange
-
Return the size of the
IntRange
:max - min
. - size() - Method in interface io.jenetics.util.Seq
- skewness() - Method in record class io.jenetics.stat.DoubleMoments
-
Returns the value of the
skewness
record component. - skewness() - Method in record class io.jenetics.stat.IntMoments
-
Returns the value of the
skewness
record component. - skewness() - Method in record class io.jenetics.stat.LongMoments
-
Returns the value of the
skewness
record component. - skewness() - Method in class io.jenetics.stat.LongMomentStatistics
-
Return the skewness of values recorded, or
Double.NaN
if less than two values have been recorded. - skip(long) - Method in class io.jenetics.internal.util.StreamProxy
- slice(int) - Method in class io.jenetics.internal.collection.Array
-
Return a new array slice starting with the
from
index. - slice(int, int) - Method in class io.jenetics.Genotype
-
Create a new Genotype which consists of the chromosomes from the given
fromIndex
(inclusively) to the giventoIndex
(exclusively). - slice(int, int) - Method in class io.jenetics.internal.collection.Array
-
Return a new array slice starting with the
from
index anduntil
index. - sort() - Method in interface io.jenetics.util.MSeq
-
Sorts this sequence according to the natural order of the elements.
- sort(double[]) - Static method in class io.jenetics.util.ProxySorter
-
Sorting the given array by creating an index lookup array.
- sort(double[], int, int) - Static method in class io.jenetics.util.ProxySorter
-
Sorting the given array by creating an index lookup array.
- sort(int) - Method in interface io.jenetics.util.MSeq
-
Sorts this sequence according to the natural order of the elements.
- sort(int[]) - Static method in class io.jenetics.util.ProxySorter
-
Sorting the given array by creating an index lookup array.
- sort(int[], int, int) - Static method in class io.jenetics.util.ProxySorter
-
Sorting the given array by creating an index lookup array.
- sort(int, int) - Method in interface io.jenetics.util.MSeq
-
Sorts this sequence according to the natural order of the elements.
- sort(int, int, Comparator<? super Character>) - Method in class io.jenetics.internal.collection.CharStore
- sort(int, int, Comparator<? super Object>) - Method in enum class io.jenetics.internal.collection.Empty.EmptyMSeq
- sort(int, int, Comparator<? super T>) - Method in class io.jenetics.internal.collection.Array
-
Sort the store.
- sort(int, int, Comparator<? super T>) - Method in class io.jenetics.internal.collection.Array.Store.Ref
- sort(int, int, Comparator<? super T>) - Method in interface io.jenetics.internal.collection.Array.Store
-
Sort the store.
- sort(int, int, Comparator<? super T>) - Method in class io.jenetics.internal.collection.ArrayMSeq
- sort(int, int, Comparator<? super T>) - Method in class io.jenetics.internal.collection.ObjectStore
- sort(int, int, Comparator<? super T>) - Method in interface io.jenetics.util.MSeq
-
Sorts this sequence according to the order induced by the specified
Comparator
. - sort(int, Comparator<? super T>) - Method in interface io.jenetics.util.MSeq
-
Sorts this sequence according to the order induced by the specified
Comparator
. - sort(long[]) - Static method in class io.jenetics.util.ProxySorter
-
Sorting the given array by creating an index lookup array.
- sort(long[], int, int) - Static method in class io.jenetics.util.ProxySorter
-
Sorting the given array by creating an index lookup array.
- sort(BaseSeq<? extends T>) - Static method in class io.jenetics.util.ProxySorter
-
Sorting the given array by creating an index lookup array.
- sort(BaseSeq<? extends T>, int, int) - Static method in class io.jenetics.util.ProxySorter
-
Sorting the given array by creating an index lookup array.
- sort(BaseSeq<? extends T>, int, int, Comparator<? super T>) - Static method in class io.jenetics.util.ProxySorter
-
Sorting the given array by creating an index lookup array.
- sort(BaseSeq<? extends T>, Comparator<? super T>) - Static method in class io.jenetics.util.ProxySorter
-
Sorting the given array by creating an index lookup array.
- sort(Comparator<? super T>) - Method in interface io.jenetics.util.MSeq
-
Sorts this sequence according to the order induced by the specified
Comparator
. - sort(List<? extends T>) - Static method in class io.jenetics.util.ProxySorter
-
Sorting the given array by creating an index lookup array.
- sort(List<? extends T>, int, int) - Static method in class io.jenetics.util.ProxySorter
-
Sorting the given array by creating an index lookup array.
- sort(List<? extends T>, int, int, Comparator<? super T>) - Static method in class io.jenetics.util.ProxySorter
-
Sorting the given array by creating an index lookup array.
- sort(List<? extends T>, Comparator<? super T>) - Static method in class io.jenetics.util.ProxySorter
-
Sorting the given array by creating an index lookup array.
- sort(T[]) - Static method in class io.jenetics.util.ProxySorter
-
Sorting the given array by creating an index lookup array.
- sort(T[], int, int) - Static method in class io.jenetics.util.ProxySorter
-
Sorting the given array by creating an index lookup array.
- sort(T[], int, int, Comparator<? super T>) - Static method in class io.jenetics.util.ProxySorter
-
Sorting the given array by creating an index lookup array.
- sort(T[], Comparator<? super T>) - Static method in class io.jenetics.util.ProxySorter
-
Sorting the given array by creating an index lookup array.
- sort(T, int, int, ProxySorter.Comparator<? super T>) - Static method in class io.jenetics.util.ProxySorter
-
Sorting the given array by creating an index lookup array.
- sort(T, int, ProxySorter.Comparator<? super T>) - Static method in class io.jenetics.util.ProxySorter
-
Sorting the given array by creating an index lookup array.
- sorted() - Method in class io.jenetics.internal.util.StreamProxy
- sorted(Comparator<? super T>) - Method in class io.jenetics.internal.util.StreamProxy
- spliterator() - Method in enum class io.jenetics.internal.collection.Empty.EmptyISeq
- spliterator() - Method in enum class io.jenetics.internal.collection.Empty.EmptyMSeq
- spliterator() - Method in class io.jenetics.internal.util.StreamProxy
- spliterator() - Method in interface io.jenetics.util.BaseSeq
- StochasticUniversalSelector<G extends Gene<?,
G>, N extends Number & Comparable<? super N>> - Class in io.jenetics -
StochasticUniversalSelector
is a method for selecting a population according to some given probability in a way that minimizes chance fluctuations. - StochasticUniversalSelector() - Constructor for class io.jenetics.StochasticUniversalSelector
- store() - Method in class io.jenetics.internal.collection.Array
-
Return the underlying array store.
- stream() - Method in interface io.jenetics.engine.EvolutionStreamable
-
Create a new, possibly infinite, evolution stream with a newly created population.
- stream() - Method in enum class io.jenetics.internal.collection.Empty.EmptyISeq
- stream() - Method in enum class io.jenetics.internal.collection.Empty.EmptyMSeq
- stream() - Method in interface io.jenetics.util.BaseSeq
-
Returns a sequential Stream with this sequence as its source.
- stream() - Method in class io.jenetics.util.IntRange
-
Returns a sequential ordered
IntStream
fromIntRange.min()
(inclusive) toIntRange.max()
(exclusive) by an incremental step of1
. - stream() - Method in class io.jenetics.util.LongRange
-
Returns a sequential ordered
LongStream
fromLongRange.min()
(inclusive) toLongRange.max()
(exclusive) by an incremental step of1
. - stream(EvolutionInit<G>) - Method in class io.jenetics.engine.Engine
- stream(EvolutionInit<G>) - Method in interface io.jenetics.engine.EvolutionStreamable
-
Create a new, possibly infinite, evolution stream with the given initial value.
- stream(EvolutionResult<G, C>) - Method in interface io.jenetics.engine.EvolutionStreamable
-
Create a new
EvolutionStream
starting with a previously evolvedEvolutionResult
. - stream(EvolutionStart<G, C>) - Method in interface io.jenetics.engine.EvolutionStreamable
-
Create a new, possibly infinite, evolution stream with the given evolution start.
- stream(ISeq<Phenotype<G, C>>) - Method in interface io.jenetics.engine.EvolutionStreamable
-
Create a new, possibly infinite, evolution stream with the given initial population.
- stream(ISeq<Phenotype<G, C>>, long) - Method in interface io.jenetics.engine.EvolutionStreamable
-
Create a new, possibly infinite, evolution stream with the given initial population.
- stream(Iterable<Genotype<G>>) - Method in interface io.jenetics.engine.EvolutionStreamable
-
Create a new, possibly infinite, evolution stream with the given initial individuals.
- stream(Iterable<Genotype<G>>, long) - Method in interface io.jenetics.engine.EvolutionStreamable
-
Create a new, possibly infinite, evolution stream with the given initial individuals.
- stream(Supplier<EvolutionStart<G, C>>) - Method in class io.jenetics.engine.Engine
- stream(Supplier<EvolutionStart<G, C>>) - Method in interface io.jenetics.engine.EvolutionStreamable
-
Create a new, possibly infinite, evolution stream with the given evolution start.
- StreamProxy<T> - Class in io.jenetics.internal.util
- StreamProxy(Stream<T>) - Constructor for class io.jenetics.internal.util.StreamProxy
- StreamPublisher<T> - Class in io.jenetics.util
-
This class allows creating a reactive
Flow.Publisher
from a given JavaStream
. - StreamPublisher() - Constructor for class io.jenetics.util.StreamPublisher
-
Creates a new publisher using the
ForkJoinPool.commonPool()
for async delivery to subscribers (unless it does not support a parallelism level of at least two, in which case, a new Thread is created to run each task), with maximum buffer capacity ofFlow.defaultBufferSize()
, and no handler for Subscriber exceptions in method onNext. - StreamPublisher(Executor, int) - Constructor for class io.jenetics.util.StreamPublisher
-
Creates a new
StreamPublisher
using the givenExecutor
for async delivery to subscribers, with the given maximum buffer size for each subscriber, and no handler for Subscriber exceptions in methodFlow.Subscriber.onNext(Object)
. - StreamPublisher(Executor, int, BiConsumer<? super Flow.Subscriber<? super T>, ? super Throwable>) - Constructor for class io.jenetics.util.StreamPublisher
-
Creates a new
StreamPublisher
using the givenExecutor
for async delivery to subscribers, with the given maximum buffer size for each subscriber. - Streams - Class in io.jenetics.util
-
This class contains factory methods for (flat) mapping stream elements.
- subSeq(int) - Method in class io.jenetics.internal.collection.ArrayISeq
- subSeq(int) - Method in class io.jenetics.internal.collection.ArrayMSeq
- subSeq(int) - Method in enum class io.jenetics.internal.collection.Empty.EmptyISeq
- subSeq(int) - Method in enum class io.jenetics.internal.collection.Empty.EmptyMSeq
- subSeq(int) - Method in interface io.jenetics.util.ISeq
- subSeq(int) - Method in interface io.jenetics.util.MSeq
- subSeq(int) - Method in interface io.jenetics.util.Seq
-
Returns a view of the portion of this sequence between the specified
start
, inclusive, andend
, exclusive. - subSeq(int, int) - Method in class io.jenetics.internal.collection.ArrayISeq
- subSeq(int, int) - Method in class io.jenetics.internal.collection.ArrayMSeq
- subSeq(int, int) - Method in enum class io.jenetics.internal.collection.Empty.EmptyISeq
- subSeq(int, int) - Method in enum class io.jenetics.internal.collection.Empty.EmptyMSeq
- subSeq(int, int) - Method in interface io.jenetics.util.ISeq
- subSeq(int, int) - Method in interface io.jenetics.util.MSeq
- subSeq(int, int) - Method in interface io.jenetics.util.Seq
-
Returns a view of the portion of this sequence between the specified
start
, inclusive, andend
, exclusive. - subSequence(int, int) - Method in class io.jenetics.CharacterChromosome
- subSequence(int, int) - Method in class io.jenetics.util.CharSeq
- Subset - Class in io.jenetics.internal.math
-
This class creates random subsets of size
k
from a set ofn
elements. - sum() - Method in record class io.jenetics.stat.DoubleMoments
-
Returns the value of the
sum
record component. - sum() - Method in class io.jenetics.stat.DoubleMomentStatistics
-
Return the sum of values recorded, or zero if no values have been recorded.
- sum() - Method in record class io.jenetics.stat.DoubleSummary
-
Returns the value of the
sum
record component. - sum() - Method in record class io.jenetics.stat.IntMoments
-
Returns the value of the
sum
record component. - sum() - Method in class io.jenetics.stat.IntMomentStatistics
-
Return the sum of values recorded, or zero if no values have been recorded.
- sum() - Method in record class io.jenetics.stat.IntSummary
-
Returns the value of the
sum
record component. - sum() - Method in record class io.jenetics.stat.LongMoments
-
Returns the value of the
sum
record component. - sum() - Method in class io.jenetics.stat.LongMomentStatistics
-
Return the sum of values recorded, or zero if no values have been recorded.
- sum() - Method in record class io.jenetics.stat.LongSummary
-
Returns the value of the
sum
record component. - sum(double[]) - Static method in class io.jenetics.internal.math.DoubleAdder
-
Return the sum of the given double array.
- sum(double[]) - Static method in record class io.jenetics.stat.DoubleSummary
-
Return the sum of the given double array.
- sum(int[]) - Static method in record class io.jenetics.stat.IntSummary
-
Return the sum of the given double array.
- sum(long[]) - Static method in record class io.jenetics.stat.LongSummary
-
Return the sum of the given double array.
- survivorFilterDuration() - Method in record class io.jenetics.engine.EvolutionDurations
-
Returns the value of the
survivorFilterDuration
record component. - survivorsFraction(double) - Method in class io.jenetics.engine.Engine.Builder
-
The survivor fraction.
- survivorsSelectionDuration() - Method in record class io.jenetics.engine.EvolutionDurations
-
Returns the value of the
survivorsSelectionDuration
record component. - survivorsSelector() - Method in class io.jenetics.engine.Engine.Builder
-
Return the used survivor
Selector
of the GA. - survivorsSelector() - Method in class io.jenetics.engine.Engine
-
Return the used survivor
Selector
of the GA. - survivorsSelector() - Method in class io.jenetics.engine.EvolutionParams.Builder
-
Return the used survivor
Selector
of the GA. - survivorsSelector() - Method in class io.jenetics.engine.EvolutionParams
-
Return the used survivor
Selector
of the GA. - survivorsSelector(Selector<G, C>) - Method in class io.jenetics.engine.Engine.Builder
-
The selector used for selecting the survivor population.
- survivorsSelector(Selector<G, C>) - Method in class io.jenetics.engine.EvolutionParams.Builder
-
The selector used for selecting the survivor population.
- survivorsSize() - Method in class io.jenetics.engine.Engine
-
The number of selected survivors.
- survivorsSize() - Method in class io.jenetics.engine.EvolutionParams.Builder
-
Return the number of survivors.
- survivorsSize() - Method in class io.jenetics.engine.EvolutionParams
-
Return the number of survivors.
- survivorsSize(int) - Method in class io.jenetics.engine.Engine.Builder
-
The number of survivors.
- swap(byte[], int, int, byte[], int) - Static method in class io.jenetics.internal.util.Bits
-
Swap a given range with a range of the same size with another array.
- swap(double[], int, int) - Static method in class io.jenetics.internal.util.Arrays
- swap(int[], int, int) - Static method in class io.jenetics.internal.util.Arrays
- swap(int, int) - Method in class io.jenetics.internal.collection.ArrayMSeq
- swap(int, int) - Method in interface io.jenetics.util.MSeq
-
Swap the elements at the two positions.
- swap(int, int, MSeq<T>, int) - Method in class io.jenetics.internal.collection.ArrayMSeq
- swap(int, int, MSeq<T>, int) - Method in interface io.jenetics.util.MSeq
-
Swap a given range with a range of the same size with another array.
- swap(int, MSeq<T>) - Method in interface io.jenetics.util.MSeq
-
Swap the elements at the same position.
- swap(long[], int, int) - Static method in class io.jenetics.internal.util.Arrays
- swap(T[], int, int) - Static method in class io.jenetics.internal.util.Arrays
- SwapMutator<G extends Gene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics -
The
SwapMutation
changes the order of genes in a chromosome, with the hope of bringing related genes closer together, thereby facilitating the production of building blocks. - SwapMutator() - Constructor for class io.jenetics.SwapMutator
-
Default constructor, with default mutation probability (
Alterer.DEFAULT_ALTER_PROBABILITY
). - SwapMutator(double) - Constructor for class io.jenetics.SwapMutator
-
Constructs an alterer with a given recombination probability.
- swapProbability() - Method in class io.jenetics.UniformCrossover
-
Return the probability for swapping genes of a chromosome.
- synced() - Method in interface io.jenetics.util.Accumulator
-
Returns a synchronized (thread-safe) accumulator backed by
this
accumulator. - synced(Object) - Method in interface io.jenetics.util.Accumulator
-
Returns a synchronized (thread-safe) accumulator backed by
this
accumulator. - system(ZoneId) - Static method in class io.jenetics.util.NanoClock
-
This clock is based on the nano system clock.
- systemDefaultZone() - Static method in class io.jenetics.util.NanoClock
-
This clock is based on the nano system clock.
- systemUTC() - Static method in class io.jenetics.util.NanoClock
-
This clock is based on the nano system clock.
T
- takeWhile(Predicate<? super T>) - Method in class io.jenetics.internal.util.StreamProxy
- test(Phenotype<G, C>) - Method in interface io.jenetics.engine.Constraint
-
Checks the validity of the given
individual
. - test(Phenotype<G, C>) - Method in class io.jenetics.engine.RetryConstraint
- toArray() - Method in class io.jenetics.CharacterChromosome
-
Returns a char array containing all the elements in this chromosome in a proper sequence.
- toArray() - Method in class io.jenetics.DoubleChromosome
-
Returns a double array containing all the elements in this chromosome in a proper sequence.
- toArray() - Method in class io.jenetics.IntegerChromosome
-
Returns an int array containing all the elements in this chromosome in a proper sequence.
- toArray() - Method in class io.jenetics.internal.util.StreamProxy
- toArray() - Method in class io.jenetics.LongChromosome
-
Returns a long array containing all the elements in this chromosome in a proper sequence.
- toArray() - Method in interface io.jenetics.util.Seq
-
Return an array containing all of the elements in this sequence in right order.
- toArray(char[]) - Method in class io.jenetics.CharacterChromosome
-
Returns a char array containing all the elements in this chromosome in a proper sequence.
- toArray(double[]) - Method in class io.jenetics.DoubleChromosome
-
Returns a double array containing all the elements in this chromosome in a proper sequence.
- toArray(int[]) - Method in class io.jenetics.IntegerChromosome
-
Returns an int array containing all the elements in this chromosome in a proper sequence.
- toArray(long[]) - Method in class io.jenetics.LongChromosome
-
Returns a long array containing all the elements in this chromosome in a proper sequence.
- toArray(B[]) - Method in interface io.jenetics.util.Seq
-
Return an array containing all of the elements in this sequence in right order; the runtime type of the returned array is that of the specified array.
- toArray(IntFunction<A[]>) - Method in class io.jenetics.internal.util.StreamProxy
- toArray(IntFunction<B[]>) - Method in interface io.jenetics.util.Seq
-
Returns an array containing the elements of this sequence, using the provided generator function to allocate the returned array.
- toBestEvolutionResult() - Static method in class io.jenetics.engine.EvolutionResult
-
Return a collector which collects the best result of an evolution stream.
- toBestGenotype() - Static method in class io.jenetics.engine.EvolutionResult
-
Return a collector which collects the best genotype of an evolution stream.
- toBestPhenotype() - Static method in class io.jenetics.engine.EvolutionResult
-
Return a collector which collects the best phenotype of an evolution stream.
- toBestResult(Codec<T, G>) - Static method in class io.jenetics.engine.EvolutionResult
-
Return a collector which collects the best result (in the native problem space).
- toBestResult(Function<Genotype<G>, T>) - Static method in class io.jenetics.engine.EvolutionResult
-
Return a collector which collects the best result (in the native problem space).
- toBigInteger() - Method in class io.jenetics.BitChromosome
-
Return the
BigInteger
value thisBitChromosome
represents. - toBigInteger() - Method in class io.jenetics.internal.collection.BitArray
-
Return the value of this bit-array as
BigInteger
value. - toBitSet() - Method in class io.jenetics.BitChromosome
-
Return the corresponding BitSet of this BitChromosome.
- toBuilder() - Method in class io.jenetics.engine.Engine
-
Create a new evolution
Engine.Builder
initialized with the values of the current evolutionEngine
. - toBuilder() - Method in class io.jenetics.engine.EvolutionParams
-
Return a new builder object, initialized with
this
parameters. - toByteArray() - Method in class io.jenetics.BitChromosome
-
Returns the byte array, which represents the bit values of
this
chromosome. - toByteArray() - Method in class io.jenetics.internal.collection.BitArray
-
Return the
byte[]
array, which represents the state of the state ofthis
bit-array. - toByteArray(Object) - Method in class io.jenetics.util.IO
-
Serializes the given
object
to abyte[]
array. - toByteLength(int) - Static method in class io.jenetics.internal.util.Bits
-
Return the minimum number of bytes to store the given number of bits.
- toBytes(int) - Static method in class io.jenetics.internal.util.Bits
- toBytes(long) - Static method in class io.jenetics.internal.util.Bits
- toByteString() - Method in class io.jenetics.internal.collection.BitArray
-
Convert a binary representation of
this
bit-array to a string. - toByteString(byte...) - Static method in class io.jenetics.internal.util.Bits
-
Convert a binary representation of the given byte array to a string.
- toCanonicalString() - Method in class io.jenetics.BitChromosome
-
Return the BitChromosome as String.
- toCharSeq() - Static method in class io.jenetics.util.CharSeq
- toDouble(int, int) - Static method in class io.jenetics.internal.math.Randoms
- toDouble(long) - Static method in class io.jenetics.internal.math.Randoms
- toDouble2(int, int) - Static method in class io.jenetics.internal.math.Randoms
- toDouble2(long) - Static method in class io.jenetics.internal.math.Randoms
- toDoubleMoments() - Static method in record class io.jenetics.stat.DoubleMoments
-
Return a
Collector
which returns moments-statistics for the resulting values. - toDoubleMoments() - Method in class io.jenetics.stat.DoubleMomentStatistics
-
Return a
DoubleMoments
object from the current statistics, - toDoubleMoments(ToDoubleFunction<? super T>) - Static method in record class io.jenetics.stat.DoubleMoments
-
Return a
Collector
which applies a double-producing mapping function to each input element, and returns moments-statistics for the resulting values. - toDoubleMomentStatistics(ToDoubleFunction<? super T>) - Static method in class io.jenetics.stat.DoubleMomentStatistics
-
Return a
Collector
which applies a double-producing mapping function to each input element, and returns moments-statistics for the resulting values. - toDoubleSummary(ToDoubleFunction<? super T>) - Static method in record class io.jenetics.stat.DoubleSummary
-
Return a
Collector
which applies a double-producing mapping function to each input element, and return summary-statistics for the resulting values. - toEvolutionStart() - Method in class io.jenetics.engine.EvolutionResult
-
Return the current evolution result object as an
EvolutionStart
object with the current population and current total generation. - toFloat(int) - Static method in class io.jenetics.internal.math.Probabilities
-
Maps the integer probability, within the range
[Integer.MIN_VALUE, Integer.MAX_VALUE]
back to a float probability within the range[0, 1]
. - toFloat(int) - Static method in class io.jenetics.internal.math.Randoms
- toFloat(long) - Static method in class io.jenetics.internal.math.Randoms
- toFloat2(int) - Static method in class io.jenetics.internal.math.Randoms
- toFloat2(long) - Static method in class io.jenetics.internal.math.Randoms
- toInt(byte[]) - Static method in class io.jenetics.internal.util.Bits
- toInt(double) - Static method in class io.jenetics.internal.math.Probabilities
-
Maps the probability, given in the range
[0, 1]
, to an integer in the range[Integer.MIN_VALUE, Integer.MAX_VALUE]
. - toIntervalBest(Comparator<? super C>, int) - Static method in class io.jenetics.util.Streams
-
Return a new flat-mapper function which returns (emits) the minimal value of the last n elements.
- toIntervalBest(Comparator<? super C>, Duration) - Static method in class io.jenetics.util.Streams
-
Return a new flat-mapper function which returns (emits) the minimal value of the elements emitted within the given
timespan
. - toIntervalBest(Comparator<? super C>, Duration, Clock) - Static method in class io.jenetics.util.Streams
-
Return a new flat-mapper function which returns (emits) the minimal value of the elements emitted within the given
timespan
. - toIntervalMax(int) - Static method in class io.jenetics.util.Streams
-
Return a new flat-mapper function which returns (emits) the maximal value of the last n elements.
- toIntervalMax(Duration) - Static method in class io.jenetics.util.Streams
-
Return a new flat-mapper function which returns (emits) the maximal value of the elements emitted within the given
timespan
. - toIntervalMax(Duration, Clock) - Static method in class io.jenetics.util.Streams
-
Return a new flat-mapper function which returns (emits) the maximal value of the elements emitted within the given
timespan
. - toIntervalMin(int) - Static method in class io.jenetics.util.Streams
-
Return a new flat-mapper function which returns (emits) the minimal value of the last n elements.
- toIntervalMin(Duration) - Static method in class io.jenetics.util.Streams
-
Return a new flat-mapper function which returns (emits) the minimal value of the elements emitted within the given
timespan
. - toIntervalMin(Duration, Clock) - Static method in class io.jenetics.util.Streams
-
Return a new flat-mapper function which returns (emits) the minimal value of the elements emitted within the given
timespan
. - toIntMoments() - Static method in record class io.jenetics.stat.IntMoments
-
Return a
Collector
which returns moments-statistics for the resulting values. - toIntMoments() - Method in class io.jenetics.stat.IntMomentStatistics
-
Return an
IntMoments
object from the current statistics, - toIntMoments(ToIntFunction<? super T>) - Static method in record class io.jenetics.stat.IntMoments
-
Return a
Collector
which applies an int-producing mapping function to each input element, and returns moments-statistics for the resulting values. - toIntMomentStatistics(ToIntFunction<? super T>) - Static method in class io.jenetics.stat.IntMomentStatistics
-
Return a
Collector
which applies an int-producing mapping function to each input element, and returns moments-statistics for the resulting values. - toIntSummary(ToIntFunction<? super T>) - Static method in record class io.jenetics.stat.IntSummary
-
Return a
Collector
which applies an int-producing mapping function to each input element, and return summary-statistics for the resulting values. - toInvertibleCodec(Function<? super T, Genotype<G>>) - Method in interface io.jenetics.engine.Codec
-
Converts this codec into an invertible codec, by using the given
encoder
(inversion) function. - toISeq() - Method in class io.jenetics.internal.collection.ArrayMSeq
- toISeq() - Method in enum class io.jenetics.internal.collection.Empty.EmptyMSeq
- toISeq() - Static method in interface io.jenetics.util.ISeq
-
Returns a
Collector
that accumulates the input elements into a newISeq
. - toISeq() - Method in interface io.jenetics.util.MSeq
-
Return a read-only projection of this sequence.
- toISeq(int) - Static method in interface io.jenetics.util.ISeq
-
Returns a
Collector
that accumulates the lastn
input elements into a newISeq
. - toISeq(CharSequence) - Static method in class io.jenetics.util.CharSeq
-
Helper method for creating a sequence of characters from the given
CharSequence
. - toLong(byte[]) - Static method in class io.jenetics.internal.util.Bits
- toLongMoments() - Static method in record class io.jenetics.stat.LongMoments
-
Return a
Collector
which returns moments-statistics for the resulting values. - toLongMoments() - Method in class io.jenetics.stat.LongMomentStatistics
-
Return a
LongMoments
object from the current statistics, - toLongMoments(ToLongFunction<? super T>) - Static method in record class io.jenetics.stat.LongMoments
-
Return a
Collector
which applies a long-producing mapping function to each input element, and returns moments-statistics for the resulting values. - toLongMomentStatistics(ToLongFunction<? super T>) - Static method in class io.jenetics.stat.LongMomentStatistics
-
Return a
Collector
which applies a long-producing mapping function to each input element, and returns moments-statistics for the resulting values. - toLongSummary(ToLongFunction<? super T>) - Static method in record class io.jenetics.stat.LongSummary
-
Return a
Collector
which applies a long-producing mapping function to each input element, and return summary-statistics for the resulting values. - toMedian(ToDoubleFunction<? super T>) - Static method in class io.jenetics.stat.Quantile
-
Return a
Collector
which applies a double-producing mapping function to each input element, and returns the median for the resulting values. - toMinMax() - Static method in class io.jenetics.stat.MinMax
-
Return a
Collector
which calculates the minimum and maximum value. - toMinMax(Comparator<? super T>) - Static method in class io.jenetics.stat.MinMax
-
Return a
Collector
which calculates the minimum and maximum value. - toMSeq() - Static method in interface io.jenetics.util.MSeq
-
Returns a
Collector
that accumulates the input elements into a newMSeq
. - toQuantile(double, ToDoubleFunction<? super T>) - Static method in class io.jenetics.stat.Quantile
-
Return a
Collector
which applies a double-producing mapping function to each input element, and returns quantiles for the resulting values. - toSeq() - Static method in interface io.jenetics.util.Seq
-
Returns a
Collector
that accumulates the input elements into a newSeq
. - toSeq(int) - Static method in interface io.jenetics.util.Seq
-
Returns a
Collector
that accumulates the lastn
input elements into a newSeq
. - toStrictlyDecreasing() - Static method in class io.jenetics.stat.MinMax
-
Return a new flat-mapper function, which guarantees a strictly decreasing stream, from an arbitrarily ordered source stream.
- toStrictlyDecreasing() - Static method in class io.jenetics.util.Streams
-
Return a new flat-mapper function, which guarantees a strictly decreasing stream, from an arbitrarily ordered source stream.
- toStrictlyImproving(Comparator<? super T>) - Static method in class io.jenetics.stat.MinMax
-
Return a new flat-mapper function, which guarantees a strictly improving stream, from an arbitrarily ordered source stream.
- toStrictlyImproving(Comparator<? super T>) - Static method in class io.jenetics.util.Streams
-
Return a new flat-mapper function, which guarantees a strictly improving stream, from an arbitrarily ordered source stream.
- toStrictlyIncreasing() - Static method in class io.jenetics.stat.MinMax
-
Return a new flat-mapper function, which guarantees a strictly increasing stream, from an arbitrarily ordered source stream.
- toStrictlyIncreasing() - Static method in class io.jenetics.util.Streams
-
Return a new flat-mapper function, which guarantees a strictly increasing stream, from an arbitrarily ordered source stream.
- toString() - Method in class io.jenetics.AbstractChromosome
- toString() - Method in record class io.jenetics.AltererResult
-
Returns a string representation of this record class.
- toString() - Method in class io.jenetics.AnyGene
- toString() - Method in class io.jenetics.BitChromosome
- toString() - Method in enum class io.jenetics.BitGene
- toString() - Method in class io.jenetics.BoltzmannSelector
- toString() - Method in class io.jenetics.CharacterChromosome
- toString() - Method in class io.jenetics.CharacterGene
- toString() - Method in class io.jenetics.CombineAlterer
- toString() - Method in class io.jenetics.DoubleGene
- toString() - Method in class io.jenetics.EliteSelector
- toString() - Method in record class io.jenetics.engine.EvolutionDurations
-
Returns a string representation of this record class.
- toString() - Method in class io.jenetics.engine.EvolutionInit
- toString() - Method in class io.jenetics.engine.EvolutionStart
- toString() - Method in class io.jenetics.engine.EvolutionStatistics
- toString() - Method in class io.jenetics.EnumGene
- toString() - Method in class io.jenetics.ExponentialRankSelector
- toString() - Method in class io.jenetics.Genotype
- toString() - Method in class io.jenetics.IntegerGene
- toString() - Method in class io.jenetics.IntermediateCrossover
- toString() - Method in class io.jenetics.internal.collection.ArraySeq
- toString() - Method in class io.jenetics.internal.collection.BitArray
- toString() - Method in enum class io.jenetics.internal.collection.Empty.EmptyISeq
- toString() - Method in enum class io.jenetics.internal.collection.Empty.EmptyMSeq
- toString() - Method in class io.jenetics.internal.math.DoubleAdder
- toString() - Method in class io.jenetics.internal.util.Args
- toString() - Method in class io.jenetics.internal.util.IntRef
- toString() - Method in class io.jenetics.internal.util.Lazy
- toString() - Method in class io.jenetics.internal.util.Lifecycle.Value
- toString() - Method in class io.jenetics.LinearRankSelector
- toString() - Method in class io.jenetics.LineCrossover
- toString() - Method in class io.jenetics.LongGene
- toString() - Method in class io.jenetics.MonteCarloSelector
- toString() - Method in class io.jenetics.MultiPointCrossover
- toString() - Method in class io.jenetics.Mutator
- toString() - Method in record class io.jenetics.MutatorResult
-
Returns a string representation of this record class.
- toString() - Method in class io.jenetics.PartiallyMatchedCrossover
- toString() - Method in class io.jenetics.PermutationChromosome
- toString() - Method in class io.jenetics.Phenotype
- toString() - Method in class io.jenetics.RouletteWheelSelector
- toString() - Method in class io.jenetics.SinglePointCrossover
- toString() - Method in record class io.jenetics.stat.DoubleMoments
-
Returns a string representation of this record class.
- toString() - Method in class io.jenetics.stat.DoubleMomentStatistics
- toString() - Method in record class io.jenetics.stat.DoubleSummary
-
Returns a string representation of this record class.
- toString() - Method in record class io.jenetics.stat.IntMoments
-
Returns a string representation of this record class.
- toString() - Method in class io.jenetics.stat.IntMomentStatistics
- toString() - Method in record class io.jenetics.stat.IntSummary
-
Returns a string representation of this record class.
- toString() - Method in record class io.jenetics.stat.LongMoments
-
Returns a string representation of this record class.
- toString() - Method in class io.jenetics.stat.LongMomentStatistics
- toString() - Method in record class io.jenetics.stat.LongSummary
-
Returns a string representation of this record class.
- toString() - Method in class io.jenetics.stat.MinMax
- toString() - Method in class io.jenetics.stat.Quantile
- toString() - Method in class io.jenetics.StochasticUniversalSelector
- toString() - Method in class io.jenetics.TournamentSelector
- toString() - Method in class io.jenetics.TruncationSelector
- toString() - Method in class io.jenetics.util.CharSeq
- toString() - Method in class io.jenetics.util.DoubleRange
- toString() - Method in class io.jenetics.util.IntRange
- toString() - Method in class io.jenetics.util.LongRange
- toString() - Method in class io.jenetics.util.NanoClock
- toString(String) - Method in interface io.jenetics.util.Seq
-
Create a string representation of the given sequence.
- toString(String, String, String) - Method in interface io.jenetics.util.Seq
-
Create a string representation of the given sequence.
- totalGenerations() - Method in class io.jenetics.engine.EvolutionResult
-
Return the generation count evaluated so far.
- toUniquePopulation() - Static method in class io.jenetics.engine.EvolutionResult
-
Return a mapping function, which removes duplicate individuals from the population and replaces it with newly created one by the existing genotype factory.
- toUniquePopulation(int) - Static method in class io.jenetics.engine.EvolutionResult
-
Return a mapping function, which removes duplicate individuals from the population and replaces it with newly created one by the existing genotype factory.
- toUniquePopulation(Factory<Genotype<G>>) - Static method in class io.jenetics.engine.EvolutionResult
-
Return a mapping function, which removes duplicate individuals from the population and replaces it with newly created one by the given genotype
factory
. - toUniquePopulation(Factory<Genotype<G>>, int) - Static method in class io.jenetics.engine.EvolutionResult
-
Return a mapping function, which removes duplicate individuals from the population and replaces it with newly created one by the given genotype
factory
. - TournamentSelector<G extends Gene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics -
In tournament selection the best individual from a random sample of s individuals is chosen from the population Pg.
- TournamentSelector() - Constructor for class io.jenetics.TournamentSelector
-
Create a tournament selector with sample size two.
- TournamentSelector(int) - Constructor for class io.jenetics.TournamentSelector
-
Create a tournament selector with the give sample size.
- TournamentSelector(Comparator<? super Phenotype<G, C>>, int) - Constructor for class io.jenetics.TournamentSelector
-
Create a tournament selector with the give
comparator
and sample size. - True() - Static method in class io.jenetics.internal.util.Predicates
-
Return a predicate, which always return
true
. - TRUE - Enum constant in enum class io.jenetics.BitGene
- TRUE - Static variable in class io.jenetics.internal.util.Predicates
- TruncationSelector<G extends Gene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics -
In truncation selection, individuals are sorted according to their fitness.
- TruncationSelector() - Constructor for class io.jenetics.TruncationSelector
-
Create a new TruncationSelector object.
- TruncationSelector(int) - Constructor for class io.jenetics.TruncationSelector
-
Create a new
TruncationSelector
object, where the worst selected individual has rankn
. - tryAdvance(Consumer<? super EvolutionResult<G, C>>) - Method in class io.jenetics.internal.engine.EvolutionSpliterator
- tryAdvance(Consumer<? super T>) - Method in class io.jenetics.internal.collection.BaseSeqSpliterator
- tryAdvance(Consumer<? super T>) - Method in class io.jenetics.internal.util.LimitSpliterator
- trying(Lifecycle.ThrowingConsumer<? super T, ? extends E>, Lifecycle.ThrowingRunnable<? extends E>...) - Method in class io.jenetics.internal.util.Lifecycle.Value
-
Applies the give
block
to the already created closeable value. - trySplit() - Method in class io.jenetics.internal.collection.BaseSeqSpliterator
- trySplit() - Method in class io.jenetics.internal.engine.EvolutionSpliterator
- trySplit() - Method in class io.jenetics.internal.util.LimitSpliterator
U
- ulpDistance(double, double) - Static method in class io.jenetics.internal.math.Basics
-
Return the ULP distance of the given two double values.
- ulpPosition(double) - Static method in class io.jenetics.internal.math.Basics
-
Calculating the ULP position of a double number.
- uncheckedClose(Function<? super E, ? extends RuntimeException>) - Method in interface io.jenetics.internal.util.Lifecycle.ExtendedCloseable
-
Calls the
Lifecycle.ExtendedCloseable.close()
method and wraps thrownException
into anRuntimeException
, mapped by the givenmapper
. - UniformCrossover<G extends Gene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics -
The uniform crossover uses swaps single genes between two chromosomes, instead of whole ranges as in single- and multipoint crossover.
- UniformCrossover() - Constructor for class io.jenetics.UniformCrossover
-
Create a new universal crossover instance.
- UniformCrossover(double) - Constructor for class io.jenetics.UniformCrossover
-
Create a new universal crossover instance.
- UniformCrossover(double, double) - Constructor for class io.jenetics.UniformCrossover
-
Create a new universal crossover instance.
- unordered() - Method in class io.jenetics.internal.util.StreamProxy
- unset(byte[], int) - Static method in class io.jenetics.internal.util.Bits
-
Set the bit in the given byte array at the bit position (not the index within the byte array) to
false
. - unset(int) - Method in class io.jenetics.internal.collection.BitArray
-
Set the bit in the given byte array at the bit position (not the index within the byte array) to
false
. - upcast(ISeq<B>) - Static method in interface io.jenetics.util.ISeq
-
Allows a safe (without compiler warning) upcast from
B
toA
. - using(Supplier<? extends R>, Consumer<? super R>) - Static method in class io.jenetics.util.RandomRegistry
-
Executes the consumer code using the given
random
generator supplier. - using(RandomGeneratorFactory<? extends R>, Consumer<? super R>) - Static method in class io.jenetics.util.RandomRegistry
-
Executes the consumer code using the given
random
generator. - using(R, Consumer<? super R>) - Static method in class io.jenetics.util.RandomRegistry
-
Executes the consumer code using the given
random
generator.
V
- validAlleles() - Method in class io.jenetics.EnumGene
-
Return sequence of the valid alleles where this gene is a part of.
- validAlleles() - Method in class io.jenetics.PermutationChromosome
-
Return the sequence of the valid alleles of this chromosome.
- validChars() - Method in class io.jenetics.CharacterGene
-
Return a (unmodifiable) set of valid characters.
- value - Variable in class io.jenetics.internal.util.IntRef
-
The actual int value.
- value() - Method in class io.jenetics.internal.math.DoubleAdder
- value() - Method in class io.jenetics.stat.Quantile
-
Return the computed quantile value.
- Value(Lifecycle.ThrowingFunction<? super Lifecycle.Resources<E>, ? extends T, ? extends BE>) - Constructor for class io.jenetics.internal.util.Lifecycle.Value
-
Opens a kind of
try-catch
with resources block. - Value(T, Lifecycle.ThrowingConsumer<? super T, ? extends E>) - Constructor for class io.jenetics.internal.util.Lifecycle.Value
-
Create a new closeable value with the given resource
value
and itsrelease
method. - valueOf(String) - Static method in enum class io.jenetics.BitGene
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.jenetics.internal.collection.Empty.EmptyISeq
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.jenetics.internal.collection.Empty.EmptyMSeq
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.jenetics.Optimize
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.jenetics.BitGene
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.jenetics.internal.collection.Empty.EmptyISeq
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.jenetics.internal.collection.Empty.EmptyMSeq
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.jenetics.Optimize
-
Returns an array containing the constants of this enum class, in the order they are declared.
- variance() - Method in record class io.jenetics.stat.DoubleMoments
-
Returns the value of the
variance
record component. - variance() - Method in record class io.jenetics.stat.IntMoments
-
Returns the value of the
variance
record component. - variance() - Method in record class io.jenetics.stat.LongMoments
-
Returns the value of the
variance
record component. - variance() - Method in class io.jenetics.stat.LongMomentStatistics
-
Return the variance of values recorded, or
Double.NaN
if no values have been recorded. - Verifiable - Interface in io.jenetics.util
-
This interface lets you check an object for validity.
- viewOf(BaseSeq<? extends T>) - Static method in interface io.jenetics.util.Seq
-
Returns a sequence backed by the specified
seq
. - viewOf(List<? extends T>) - Static method in interface io.jenetics.util.Seq
-
Returns a sequence backed by the specified list.
- viewOf(T[]) - Static method in interface io.jenetics.util.Seq
-
Returns a fixed-size sequence backed by the specified array.
W
- with(Executor) - Static method in class io.jenetics.internal.util.Concurrency
-
Return a new Concurrency object from the given executor.
- with(Supplier<? extends R>, Function<? super R, ? extends T>) - Static method in class io.jenetics.util.RandomRegistry
-
Opens a new scope with the given random generator supplier and executes the given function within it.
- with(RandomGeneratorFactory<? extends R>, Function<? super R, ? extends T>) - Static method in class io.jenetics.util.RandomRegistry
-
Opens a new scope with the given random generator factory and executes the given function within it.
- with(R, Function<? super R, ? extends T>) - Static method in class io.jenetics.util.RandomRegistry
-
Opens a new scope with the given random generator and executes the given function within it.
- withCommonPool() - Static method in class io.jenetics.internal.util.Concurrency
-
Return a new Concurrency object using the common ForkJoinPool.
- withFitness(C) - Method in class io.jenetics.Phenotype
-
Return a new
Phenotype
object with the given raw fitness value. - withGeneration(long) - Method in class io.jenetics.Phenotype
-
Return a new
Phenotype
object with the given generation. - withZone(ZoneId) - Method in class io.jenetics.util.NanoClock
- worst() - Method in enum class io.jenetics.Optimize
-
Return a
null
-friendly function which returns the worst element of two values. - worst(C, C) - Method in enum class io.jenetics.Optimize
-
Return the worst value, according to this optimization direction.
- worstFitness() - Method in class io.jenetics.engine.EvolutionResult
-
Return the worst population fitness.
- worstPhenotype() - Method in class io.jenetics.engine.EvolutionResult
-
Return the worst
Phenotype
of the result population. - write(Object, File) - Method in class io.jenetics.util.IO
-
Write the (serializable) object to the given file.
- write(Object, OutputStream) - Method in class io.jenetics.util.IO
-
Write the (serializable) object to the given output stream.
- write(Object, String) - Method in class io.jenetics.util.IO
-
Write the (serializable) object to the given path.
- write(Object, Path) - Method in class io.jenetics.util.IO
-
Write the (serializable) object to the given path.
- write(T, DataOutput) - Method in interface io.jenetics.internal.util.SerialIO.Writer
- writeBytes(byte[], DataOutput) - Static method in class io.jenetics.internal.util.SerialIO
- writeCharArray(char[], DataOutput) - Static method in class io.jenetics.internal.util.SerialIO
-
Write the given
char[]
array to the given data output. - writeDoubleArray(double[], DataOutput) - Static method in class io.jenetics.internal.util.SerialIO
-
Write the given
double[]
array to the given data output. - writeInt(int, DataOutput) - Static method in class io.jenetics.internal.util.SerialIO
-
Writes an int value to a series of bytes.
- writeIntArray(int[], DataOutput) - Static method in class io.jenetics.internal.util.SerialIO
-
Write the given
int[]
array to the given data output. - writeLong(long, DataOutput) - Static method in class io.jenetics.internal.util.SerialIO
-
Writes a long value to a series of bytes.
- writeLongArray(long[], DataOutput) - Static method in class io.jenetics.internal.util.SerialIO
-
Write the given
long[]
array to the given data output. - writeNullable(T, SerialIO.Writer<? super T>, DataOutput) - Static method in class io.jenetics.internal.util.SerialIO
-
Write the given, possible
null
,value
to the data output using the givenwriter
. - writeNullableString(String, DataOutput) - Static method in class io.jenetics.internal.util.SerialIO
-
Write the given string, possible
null
,value
to the given data output. - writeObjectArray(Object[], ObjectOutput) - Static method in class io.jenetics.internal.util.SerialIO
-
Write the given
Object[]
array to the given data output. - writes(Collection<? extends T>, SerialIO.Writer<? super T>, DataOutput) - Static method in class io.jenetics.internal.util.SerialIO
-
Write the given elements to the data output.
- writeString(String, DataOutput) - Static method in class io.jenetics.internal.util.SerialIO
-
Write the given string
value
to the given data output.
X
- xor(BitChromosome) - Method in class io.jenetics.BitChromosome
-
Returns a
BitChromosome
whose value is (this ^ other
).
Z
- ZERO - Static variable in enum class io.jenetics.BitGene
- ZERO - Static variable in record class io.jenetics.engine.EvolutionDurations
-
Constant for zero evolution durations.
- zeros() - Method in class io.jenetics.BitChromosome
-
Return the indexes of the zeros of this bit-chromosome as stream.
_
- _genes - Variable in class io.jenetics.AbstractChromosome
-
Array of genes which forms the chromosome.
- _probability - Variable in class io.jenetics.AbstractAlterer
-
The altering probability.
- _reverter - Variable in class io.jenetics.ProbabilitySelector
- _sorted - Variable in class io.jenetics.ProbabilitySelector
- _valid - Variable in class io.jenetics.AbstractChromosome
-
Indicates whether this chromosome is valid or not.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form