Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- a() - Method in record class io.jenetics.ShiftMutator.Range
-
Returns the value of the
a
record component. - a() - Method in record class io.jenetics.ShuffleMutator.Range
-
Returns the value of the
a
record component. - AbstractAlterer<G,
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> - 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(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, - Interface in io.jenetics.utilR> -
This interface lets you accumulate elements of type
T
to a result of typeR
. - 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.
- 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,
C> - Interface in io.jenetics -
The Alterer is responsible for the changing/recombining the Population.
- AltererResult<G,
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 creating 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 creating genes without explicit implementing theGene
interface. - 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(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(Engine.Builder<G, C>) - Method in interface io.jenetics.engine.Engine.Setup
-
Applies
this
setup to the given enginebuilder
. - 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 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
- b() - Method in record class io.jenetics.ShiftMutator.Range
-
Returns the value of the
b
record component. - b() - Method in record class io.jenetics.ShuffleMutator.Range
-
Returns the value of the
b
record component. - BaseSeq<T> - Interface in io.jenetics.util
-
General base interface for an ordered, fixed sized, object sequence.
- BatchExecutor - Interface in io.jenetics.util
-
Batch executor interface, which is used for evaluating a batch of runnables.
- 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.
- 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
. - BitGene - Enum Class in io.jenetics
-
Implementation of a BitGene.
- BoltzmannSelector<G,
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,
G> - Interface in io.jenetics -
Chromosome interface for
BoundedGene
s. - 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
- c() - Method in record class io.jenetics.ShiftMutator.Range
-
Returns the value of the
c
record component. - 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 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
. - charValue() - Method in class io.jenetics.CharacterGene
-
Return the
char
value of this character gene. - chromosome() - Method in class io.jenetics.Genotype
-
Return the first chromosome.
- Chromosome<G> - Interface in io.jenetics
-
A chromosome consists of one or more genes.
- 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.util.StreamPublisher
-
Unless already closed, issues
onComplete
signals to current subscribers, and disallows later 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> - 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.
- combine(A) - Method in interface io.jenetics.util.Accumulator
-
Combines
this
accumulator with theother
one. - combine(Codec<? extends A, G>, Codec<? extends B, G>, BiFunction<? super A, ? super B, ? extends T>) - Static method in interface io.jenetics.engine.Codec
-
Converts two given
Codec
instances into one. - 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. - combine(ISeq<? extends Codec<?, G>>, Function<? super Object[], ? extends T>) - Static method in interface io.jenetics.engine.Codec
-
Combines the given
codecs
into one codec. - CombineAlterer<G,
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(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(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
- 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 - Search tag in class io.jenetics.engine.Engine
- Section
- 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,
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(double) - Method in class io.jenetics.util.DoubleRange
-
Checks whether the given
value
is within the range[min, max)
. - contains(int) - Method in class io.jenetics.util.IntRange
-
Checks whether the given
value
is within the range[min, max)
. - contains(long) - Method in class io.jenetics.util.LongRange
-
Checks whether the given
value
is within the range[min, max)
. - 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. - Conversions - Class in io.jenetics.util
-
This class contains methods for converting from and to the primitive arrays
int[]
,long[]
anddouble[]
. - copy() - Method in class io.jenetics.engine.Engine.Builder
-
Create a new builder, with the current configuration.
- 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.
- Copyable<T> - Interface in io.jenetics.util
-
This interface indicates that a class can create a copy of type
T
. - 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.DoubleMomentStatistics
-
Returns the count of values recorded.
- count() - Method in class io.jenetics.stat.IntMomentStatistics
-
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.
- 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(MSeq<EnumGene<T>>, MSeq<EnumGene<T>>) - Method in class io.jenetics.UniformOderBasedCrossover
-
Applies uniform order-based crossover to two sequences.
- Crossover<G,
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.
- 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. - doubleToIntArray(double[]) - Static method in class io.jenetics.util.Conversions
-
Converts the given
long[]
array
to adouble[]
array. - doubleToIntArray(double[], DoubleToIntFunction) - Static method in class io.jenetics.util.Conversions
-
Converts the given
double[]
array
to aint[]
array. - doubleToIntArray(DoubleToIntFunction) - Static method in class io.jenetics.util.Conversions
-
Return an array mapper function which applies the given
mapper
to every array element. - doubleToLongArray(double[]) - Static method in class io.jenetics.util.Conversions
-
Converts the given
long[]
array
to adouble[]
array. - doubleToLongArray(double[], DoubleToLongFunction) - Static method in class io.jenetics.util.Conversions
-
Converts the given
double[]
array
to along[]
array. - doubleToLongArray(DoubleToLongFunction) - Static method in class io.jenetics.util.Conversions
-
Return an array mapper function which applies the given
mapper
to every array element. - 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.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
. - durations() - Method in class io.jenetics.engine.EvolutionResult
-
Return the timing (meta) information of the evolution step.
E
- EliteSelector<G,
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 - 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
. - 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,
C> - Class in io.jenetics.engine -
Genetic algorithm engine which is the main class.
- Engine.Builder<G,
C> - Class in io.jenetics.engine -
Builder class for building GA
Engine
instances. - Engine.Setup<G,
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.
- 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.IntegerChromosome
- equals(Object) - Method in class io.jenetics.LongChromosome
- 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.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.ShiftMutator.Range
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.jenetics.ShuffleMutator.Range
-
Indicates whether some other object is "equal to" this one.
- 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
- 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,
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,
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> - Class in io.jenetics.engine
-
Represents the initialization value of an evolution stream/iterator.
- EvolutionInterceptor<G,
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,
C> - Class in io.jenetics.engine -
This class collects the parameters which control the behavior of the evolution process.
- EvolutionParams.Builder<G,
C> - Class in io.jenetics.engine -
Builder class for the evolution parameter.
- EvolutionResult<G,
C> - Class in io.jenetics.engine -
Represents a state of the GA after an evolution step.
- EvolutionStart<G,
C> - Class in io.jenetics.engine -
Represents a state of the GA at the start of an evolution step.
- EvolutionStatistics<C,
FitnessStatistics> - Class in io.jenetics.engine -
This class can be used to gather additional statistic information of an evolution process.
- EvolutionStream<G,
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,
C> - Interface in io.jenetics.engine -
This interface defines the capability of creating
EvolutionStream
s from a givenEvolutionStart
object. - 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(BaseSeq<? extends Runnable>) - Method in interface io.jenetics.util.BatchExecutor
-
Executes the runnables of the
batch
concurrently and returns, when all tasks have been executed. - 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,
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 interface io.jenetics.util.MSeq
-
Fill the sequence with values generated by the given factory.
- 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.
- fitnessExecutor() - Method in class io.jenetics.engine.Engine.Builder
-
Return the batch executor, used for evaluating the fitness functions.
- fitnessExecutor(BatchExecutor) - Method in class io.jenetics.engine.Engine.Builder
-
This executor is used for evaluating the fitness functions.
- FitnessNullifier<G,
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. - 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.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 interface io.jenetics.util.Seq
-
Tests whether a predicate holds for all elements of this sequence.
- forEach(Consumer<? super T>) - Method in interface io.jenetics.util.BaseSeq
- fromByteArray(byte[]) - Method in class io.jenetics.util.IO
-
Creates a, previously serialized, object from the given
byte[]
array.
G
- GaussianMutator<G,
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> - 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> - 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.util.Ordered
-
Return the wrapped value.
- 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 interface io.jenetics.util.BaseSeq
-
Return the value at the given
index
. - getZone() - Method in class io.jenetics.util.NanoClock
H
- hashCode() - Method in class io.jenetics.DoubleChromosome
- hashCode() - Method in class io.jenetics.IntegerChromosome
- hashCode() - Method in class io.jenetics.LongChromosome
- 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.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.ShiftMutator.Range
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.jenetics.ShuffleMutator.Range
-
Returns a hash code value for this object.
- 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.
I
- identity() - Static method in interface io.jenetics.engine.EvolutionInterceptor
-
Return an interceptor object which does nothing.
- 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 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
. - 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
- 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 changing the evolution start and result.
- IntermediateCrossover<G,
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.
- intersect(DoubleRange) - Method in class io.jenetics.util.DoubleRange
-
Return the intersection of
this
range with theother
. - intersect(IntRange) - Method in class io.jenetics.util.IntRange
-
Return the intersection of
this
range with theother
. - intersect(LongRange) - Method in class io.jenetics.util.LongRange
-
Return the intersection of
this
range with theother
. - 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.
- 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. - intToDoubleArray(int[]) - Static method in class io.jenetics.util.Conversions
-
Converts the given
int[]
array
to adouble[]
array. - intToDoubleArray(int[], IntToDoubleFunction) - Static method in class io.jenetics.util.Conversions
-
Converts the given
int[]
array
to adouble[]
array. - intToDoubleArray(IntToDoubleFunction) - Static method in class io.jenetics.util.Conversions
-
Return an array mapper function which applies the given
mapper
to every array element. - intToLongArray(int[]) - Static method in class io.jenetics.util.Conversions
-
Converts the given
int[]
array
to along[]
array. - intToLongArray(int[], IntToLongFunction) - Static method in class io.jenetics.util.Conversions
-
Converts the given
int[]
array
to along[]
array. - intToLongFunction(IntToLongFunction) - Static method in class io.jenetics.util.Conversions
-
Return an array mapper function which applies the given
mapper
to every array element. - 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.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.
- InvertibleCodec<T,
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.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
. - 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<T> - Interface in io.jenetics.util
-
Immutable, ordered, fixed sized sequence.
- isEvaluated() - Method in class io.jenetics.Phenotype
-
A phenotype instance can be created with or without fitness value.
- 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.
- 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.DoubleMomentStatistics
-
Return the kurtosis of values recorded, or
Double.NaN
if less than four values have been recorded. - kurtosis() - Method in class io.jenetics.stat.IntMomentStatistics
-
Return the kurtosis of values recorded, or
Double.NaN
if less than four values have been recorded. - 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 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. - 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 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.AnyChromosome
-
Return the allowed length range of the chromosome.
- lengthRange() - Method in class io.jenetics.CharacterChromosome
-
Return the allowed length range of the chromosome.
- lengthRange() - Method in class io.jenetics.DoubleChromosome
-
Return the allowed length range of the chromosome.
- lengthRange() - Method in class io.jenetics.IntegerChromosome
-
Return the allowed length range of the chromosome.
- lengthRange() - Method in class io.jenetics.LongChromosome
-
Return the allowed length range of the chromosome.
- 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(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(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.
- linear(double) - Static method in class io.jenetics.stat.Samplers
-
Return a new sampler for a linear distribution with the given
mean
value, when creating sample points for the range[0, 1)
. - LinearRankSelector<G,
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,
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 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).
- 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. - longToDoubleArray(long[]) - Static method in class io.jenetics.util.Conversions
-
Converts the given
long[]
array
to adouble[]
array. - longToDoubleArray(long[], LongToDoubleFunction) - Static method in class io.jenetics.util.Conversions
-
Converts the given
long[]
array
to adouble[]
array. - longToDoubleArray(LongToDoubleFunction) - Static method in class io.jenetics.util.Conversions
-
Return an array mapper function which applies the given
mapper
to every array element. - longToIntArray(long[]) - Static method in class io.jenetics.util.Conversions
-
Converts the given
long[]
array
to aint[]
array. - longToIntArray(long[], LongToIntFunction) - Static method in class io.jenetics.util.Conversions
-
Converts the given
long[]
array
to aint[]
array. - longToIntArray(LongToIntFunction) - Static method in class io.jenetics.util.Conversions
-
Return an array mapper function which applies the given
mapper
to every array element. - 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.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 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 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. - max() - Method in class io.jenetics.DoubleChromosome
- max() - Method in class io.jenetics.IntegerChromosome
- max() - Method in class io.jenetics.LongChromosome
- 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>, 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.DoubleMomentStatistics
-
Return the arithmetic mean of values recorded, or
Double.NaN
if no values have been recorded. - mean() - Method in class io.jenetics.stat.IntMomentStatistics
-
Return the arithmetic mean of values recorded, or
Double.NaN
if no values have been recorded. - 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,
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 class io.jenetics.IntegerChromosome
- min() - Method in class io.jenetics.LongChromosome
- 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>, 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,
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<T> - Interface in io.jenetics.util
-
Mutable, ordered, fixed sized sequence.
- MultiPointCrossover<G,
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.ShiftMutator
-
Splits the values between two points into two sequences and shifts the second one in front of the first one.
- mutate(Chromosome<G>, double, RandomGenerator) - Method in class io.jenetics.ShuffleMutator
-
Changes the order of the genes between two points randomly.
- 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,
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.
- 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(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
- newRange(RandomGenerator, int) - Method in interface io.jenetics.ShiftMutator.RangeRandom
-
Create a new random shift range for shifting sequences with a given
length
. - newRange(RandomGenerator, int) - Method in interface io.jenetics.ShuffleMutator.RangeRandom
-
Create a new random range for shuffling sequences with a given
length
. - next() - Method in class io.jenetics.engine.EvolutionResult
-
Return the next evolution start object with the current population and the incremented generation.
- nextBoolean() - Method in class io.jenetics.util.RandomAdapter
- nextBytes(byte[]) - Method in class io.jenetics.util.RandomAdapter
- 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
- 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
- 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.
- 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,
G> - Interface in io.jenetics -
Numeric chromosome interface.
- 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.
- 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(char) - Static method in class io.jenetics.CharacterGene
-
Create a new character gene from the given character.
- 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
-
Deprecated, for removal: This API element is subject to removal in a future version.
- 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(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(Sampler) - Static method in interface io.jenetics.ShiftMutator.RangeRandom
-
Create a new random shift range generator, which uses the given distributions for creating the shift points.
- of(Sampler) - Static method in interface io.jenetics.ShuffleMutator.RangeRandom
-
Create a new random range generator, which uses the given distributions for creating the shift points.
- of(Sampler, Sampler) - Static method in interface io.jenetics.ShiftMutator.RangeRandom
-
Create a new random shift range generator, which uses the given distributions for creating the shift points.
- of(Sampler, Sampler) - Static method in interface io.jenetics.ShuffleMutator.RangeRandom
-
Create a new random range generator, which uses the given distributions for creating the range points.
- 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
-
Deprecated, for removal: This API element is subject to removal in a future version.Will be removed in the next major version, use
Codec.combine(ISeq, Function)
instead - 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.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, 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(String) - Static method in class io.jenetics.CharacterChromosome
-
Create a new chromosome from the given genes (given as string).
- 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, int) - Static method in class io.jenetics.BitChromosome
-
Create a new
BitChromosome
from the given big integer value and ones' probability. - 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(Comparator<? super T>) - Static method in class io.jenetics.stat.MinMax
-
Create a new
MinMax
consumer with the givenComparator
. - of(Executor) - Static method in interface io.jenetics.util.BatchExecutor
-
Create a batch executor, where the execution is forwarded to the given
executor
. - 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(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(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 interface io.jenetics.util.MSeq
-
Create a new
MSeq
with the givenlength
. - 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. - ofVector(Codec<? extends S, G>, int) - Static method in class io.jenetics.engine.Codecs
-
Create a vector (
ISeq
) of domain objects, which are created with the givencodec
. - 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
- ofVirtualThreads() - Static method in interface io.jenetics.util.BatchExecutor
-
Return a batch executor, where each task of a given batch is executed in its own virtual thread.
- 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
- parallelStream() - Method in interface io.jenetics.util.Seq
-
Returns a possibly parallel
Stream
with this sequence as its source. - PartialAlterer<G,
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> - 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
- 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,
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.
- 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(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. - 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
- probability() - Method in class io.jenetics.AbstractAlterer
-
Return the recombination/alter probability for this alterer.
- ProbabilitySelector<G,
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, - Interface in io.jenetics.engineC> -
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 accessing 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. - 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. - Range(int, int) - Constructor for record class io.jenetics.ShuffleMutator.Range
-
Creates an instance of a
Range
record class. - Range(int, int, int) - Constructor for record class io.jenetics.ShiftMutator.Range
-
Create a new shift range with the given parameters
- 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.
- Recombinator<G,
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.
- 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
- 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.
- 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,
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).
- reversed() - Method in interface io.jenetics.util.ProxySorter.Comparator
-
Returns a comparator that imposes the reverse ordering of this comparator.
- RouletteWheelSelector<G,
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
S
- 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. - sample(RandomGenerator, DoubleRange) - Method in interface io.jenetics.stat.Sampler
-
Create a new
double
sample point within the given range[min, max)
. - sample(RandomGenerator, IntRange) - Method in interface io.jenetics.stat.Sampler
-
Create a new
int
sample point within the given range[min, max)
. - Sampler - Interface in io.jenetics.stat
-
Interface for creating continuous random samples, with a given distribution.
- Samplers - Class in io.jenetics.stat
-
This class defines some default samplers.
- sampleSize() - Method in class io.jenetics.TournamentSelector
-
Return the sample size of the tournament selector.
- 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,
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> - 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.
- set(int, T) - Method in interface io.jenetics.util.MSeq
-
Set the
value
at the givenindex
. - 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 interface io.jenetics.util.MSeq
-
Fills the sequence with values of the given iterator.
- 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. - Setup of a local PRNG - Search tag in class io.jenetics.util.RandomRegistry
- Section
- Setup the PRNG used for the evolution process - Search tag in class io.jenetics.util.RandomRegistry
- Section
- shiftLeft(int) - Method in class io.jenetics.BitChromosome
-
Returns a new
BitChromosome
whose value is (this << n
). - ShiftMutator<G,
C> - Class in io.jenetics -
The shift mutation applies mutation between two randomly chosen points.
- ShiftMutator() - Constructor for class io.jenetics.ShiftMutator
-
Default constructor, with default mutation probability (
Alterer.DEFAULT_ALTER_PROBABILITY
). - ShiftMutator(double) - Constructor for class io.jenetics.ShiftMutator
-
Constructs an alterer with a given recombination probability.
- ShiftMutator(ShiftMutator.RangeRandom) - Constructor for class io.jenetics.ShiftMutator
-
Constructs an alterer with a given shifter-random.
- ShiftMutator(ShiftMutator.RangeRandom, double) - Constructor for class io.jenetics.ShiftMutator
-
Constructs an alterer with a given shifter-random and recombination probability.
- ShiftMutator.Range - Record Class in io.jenetics
-
This class defines the
Chromosome
shift indexes. - ShiftMutator.RangeRandom - Interface in io.jenetics
-
Functional interface for creating random shift ranges objects for shifting sequences of a given length.
- shiftRight(int) - Method in class io.jenetics.BitChromosome
-
Returns a new
BitChromosome
whose value is (this >> n
). - 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(RandomGenerator) - Method in interface io.jenetics.util.MSeq
-
Randomize the
array
using the givenRandomGenerator
object. - ShuffleMutator<G,
C> - Class in io.jenetics -
The shuffle mutation, changes the order of the genes between two randomly chosen positions.
- ShuffleMutator() - Constructor for class io.jenetics.ShuffleMutator
-
Default constructor, with default mutation probability (
Alterer.DEFAULT_ALTER_PROBABILITY
). - ShuffleMutator(double) - Constructor for class io.jenetics.ShuffleMutator
-
Constructs an alterer with a given recombination probability.
- ShuffleMutator(ShuffleMutator.RangeRandom, double) - Constructor for class io.jenetics.ShuffleMutator
-
Constructs an alterer with a given recombination probability and random range generator.
- ShuffleMutator.Range - Record Class in io.jenetics
-
Represents the chromosome range which will be shuffled
- ShuffleMutator.RangeRandom - Interface in io.jenetics
-
Functional interface for creating random range objects for shuffling sequences of a given length.
- SinglePointCrossover<G,
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.DoubleMomentStatistics
-
Return the skewness of values recorded, or
Double.NaN
if less than two values have been recorded. - skewness() - Method in class io.jenetics.stat.IntMomentStatistics
-
Return the skewness of values recorded, or
Double.NaN
if less than two values have been recorded. - 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. - 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). - 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 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.
- spliterator() - Method in interface io.jenetics.util.BaseSeq
- StochasticUniversalSelector<G,
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
- stream() - Method in interface io.jenetics.engine.EvolutionStreamable
-
Create a new, possibly infinite, evolution stream with a newly created population.
- 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.
- 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 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 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
- 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 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(int, int) - Method in interface io.jenetics.util.MSeq
-
Swap the elements at the two positions.
- 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.
- SwapMutator<G,
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
- 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.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<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. - 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(Object) - Method in class io.jenetics.util.IO
-
Serializes the given
object
to abyte[]
array. - toCanonicalString() - Method in class io.jenetics.BitChromosome
-
Return the BitChromosome as String.
- toCharSeq() - Static method in class io.jenetics.util.CharSeq
- 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. - 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() - 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
. - 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.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 record class io.jenetics.ShiftMutator.Range
-
Returns a string representation of this record class.
- toString() - Method in record class io.jenetics.ShuffleMutator.Range
-
Returns a string representation of this record class.
- 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.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,
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. - triangular(double) - Static method in class io.jenetics.stat.Samplers
-
Return a new sampler for a normalized triangle distribution with the points
[0, c, 1]
. - triangular(double, double, double) - Static method in class io.jenetics.stat.Samplers
-
Create a new sampler for a triangle distribution with the given parameters.
- TRUE - Enum constant in enum class io.jenetics.BitGene
- TruncationSelector<G,
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
.
U
- UNIFORM - Static variable in interface io.jenetics.ShiftMutator.RangeRandom
-
Random shift range generator, which creates shifter with uniformly distributed shifting points.
- UNIFORM - Static variable in interface io.jenetics.ShuffleMutator.RangeRandom
-
Random range generator, which creates ranges with uniformly distributed range indexes.
- UNIFORM - Static variable in interface io.jenetics.stat.Sampler
-
Default uniform distribution by calling
RandomGenerator.nextDouble(double, double)
. - UniformCrossover<G,
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.
- UniformOderBasedCrossover<T,
C> - Class in io.jenetics -
The
UniformOderBasedCrossover
guarantees that allGene
s are found exactly once in each chromosome. - UniformOderBasedCrossover(double) - Constructor for class io.jenetics.UniformOderBasedCrossover
-
Create a new UniformOrderBasedCrossover instance
- 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() - Method in class io.jenetics.stat.Quantile
-
Return the computed quantile value.
- 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.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.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.DoubleMomentStatistics
-
Return the variance of values recorded, or
Double.NaN
if no values have been recorded. - variance() - Method in class io.jenetics.stat.IntMomentStatistics
-
Return the variance of values recorded, or
Double.NaN
if no values have been recorded. - 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(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.
- 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.
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
Codec.combine(Codec, Codec, BiFunction)
instead