A B C D E F G H I K L M N O P Q R S T U V W Z _
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractAlterer<G extends Gene<?,G>,C extends Comparable<? super C>> - Class in io.jenetics
-
Abstract implementation of the alterer interface.
- AbstractAlterer(double) - Constructor for class io.jenetics.AbstractAlterer
-
Constructs an alterer with a given recombination probability.
- AbstractChromosome<G extends Gene<?,G>> - Class in io.jenetics
-
The abstract base implementation of the Chromosome interface.
- AbstractChromosome(ISeq<? extends G>) - Constructor for class io.jenetics.AbstractChromosome
-
Create a new
AbstractChromosome
from the givengenes
array. - accept(double) - Method in class io.jenetics.stat.DoubleMomentStatistics
-
Records a new value into the moments 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 moments information
- accept(int) - Method in class io.jenetics.stat.LongMomentStatistics
-
Records a new value into the moments information
- accept(long) - Method in class io.jenetics.stat.LongMomentStatistics
-
Records a new value into the moments 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 extends Accumulator<T,A,R>,R> - Interface in io.jenetics.util
-
This interface lets you accumulate elements of type
T
to a result of typeR
. - 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 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 class io.jenetics.AltererResult
-
Return the number of altered individuals.
- alterCount() - Method in class io.jenetics.engine.EvolutionResult
-
The number of altered individuals.
- alterDuration() - Method in class io.jenetics.engine.EvolutionStatistics
-
Return the duration statistics needed for altering the population, in seconds.
- altered() - Method in class io.jenetics.engine.EvolutionStatistics
-
Return the statistics about the altered individuals during the evolution process.
- alterer() - Method in class io.jenetics.engine.Engine
-
Return the used
Alterer
of the GA. - alterer() - Method in class io.jenetics.engine.Engine.Builder
-
Return the used
Alterer
of the GA. - alterer() - Method in class io.jenetics.engine.EvolutionParams
-
Return the used
Alterer
of the GA. - alterer() - Method in class io.jenetics.engine.EvolutionParams.Builder
-
Return the used
Alterer
of the GA. - Alterer<G extends Gene<?,G>,C extends Comparable<? super C>> - Interface in io.jenetics
-
The Alterer is responsible for the changing/recombining the Population.
- AltererResult<G extends Gene<?,G>,C extends Comparable<? super C>> - 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. - 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.
- andThen(Alterer<G, C>) - Method in interface io.jenetics.Alterer
-
Returns a composed alterer that applies the
this
alterer to its input, and then applies theafter
alterer to the result. - AnyChromosome<A> - Class in io.jenetics
-
Chromosome
implementation, which allows to create genes without explicit implementing theChromosome
interface. - AnyChromosome(ISeq<AnyGene<A>>, Supplier<? extends A>, Predicate<? super A>, Predicate<? super ISeq<A>>, IntRange) - Constructor for class io.jenetics.AnyChromosome
-
Create a new
AnyChromosome
from the givengenes
array. - AnyGene<A> - Class in io.jenetics
-
Gene
implementation, which allows to create genes without explicit implementing theGene
interface. - 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 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
- BaseSeq<T> - Interface in io.jenetics.util
-
General base interface for a ordered, fixed sized, object sequence.
- 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 io.jenetics.Optimize
-
Return a
null
-friendly function which returns the best element of two values. - best(C, C) - Method in enum 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 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.
- bitCount() - Method in class io.jenetics.BitChromosome
-
Returns the number of bits set to true in this
BitChromosome
. - BitGene - Enum in io.jenetics
-
Implementation of a BitGene.
- BoltzmannSelector<G extends Gene<?,G>,N extends Number & Comparable<? super N>> - Class in io.jenetics
-
In this
Selector
, the probability for selection is defined as. - BoltzmannSelector() - Constructor for class io.jenetics.BoltzmannSelector
-
Create a new BoltzmannSelector with a default beta of 4.0.
- BoltzmannSelector(double) - Constructor for class io.jenetics.BoltzmannSelector
-
Create a new BoltzmannSelector with the given b value.
- booleanValue() - Method in class io.jenetics.BitChromosome
-
Return the value of the first gene of this chromosome.
- booleanValue() - Method in enum io.jenetics.BitGene
-
Return the
boolean
value of this gene. - booleanValue(int) - Method in class io.jenetics.BitChromosome
-
Return the value on the specified index.
- BoundedChromosome<A extends Comparable<? super A>,G extends BoundedGene<A,G>> - Interface in io.jenetics
-
Chromosome interface for
BoundedGene
s. - BoundedGene<A extends Comparable<? super A>,G extends BoundedGene<A,G>> - Interface in io.jenetics
-
Base interface for genes where the alleles are bound by a minimum and a maximum value.
- build() - Method in class io.jenetics.engine.Engine.Builder
-
Builds an new
Engine
instance from the set properties. - build() - Method in class io.jenetics.engine.EvolutionParams.Builder
-
Builds an 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, Clock) - 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 an byte.
- byteValue(int) - Method in interface io.jenetics.NumericChromosome
-
Return the byte value of this
NumericChromosome
at the givenindex
.
C
- CharacterChromosome - Class in io.jenetics
-
CharacterChromosome 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 extends Gene<?,G>> - Interface in io.jenetics
-
A chromosome consists of one or more genes.
- clock() - Method in class io.jenetics.engine.Engine.Builder
-
Return the
Clock
the engine is using for measuring the execution time. - clock() - Method in class io.jenetics.engine.Engine
-
Return the
Clock
the engine is using for measuring the execution time. - clock(Clock) - 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 subsequent attempts to publish. - codec() - Method in interface io.jenetics.engine.Problem
-
Return the codec, which translates the types of the problem domain into types, which can be understand by the evolution
Engine
. - Codec<T,G extends Gene<?,G>> - Interface in io.jenetics.engine
-
A problem
Codec
contains the information about how to encode a given argument type into aGenotype
. - Codecs - Class in io.jenetics.engine
-
This class contains factory methods for creating common problem encodings.
- combine(A) - Method in interface io.jenetics.util.Accumulator
-
Combines
this
accumulator with theother
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. - CombineAlterer<G extends Gene<?,G>,C extends Comparable<? super C>> - Class in io.jenetics
-
Alters a chromosome by replacing two genes by the result of a given combiner function.
- CombineAlterer(BinaryOperator<G>) - Constructor for class io.jenetics.CombineAlterer
-
Create a new combiner alterer with the given arguments.
- CombineAlterer(BinaryOperator<G>, double) - Constructor for class io.jenetics.CombineAlterer
-
Create a new combiner alterer with the given arguments.
- combiner() - Method in class io.jenetics.CombineAlterer
-
Return the combiner function, used by
this
alterer. - combiner() - Method in interface io.jenetics.util.Accumulator
- compare(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 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 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 populations 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.
- concurrent(Function<? super Genotype<G>, ? extends C>, Executor) - Static method in class io.jenetics.engine.Evaluators
-
Return a new fitness evaluator, which evaluates the fitness function of the population (concurrently) with the given
executor
. - concurrent(Function<? super T, ? extends C>, Codec<T, G>, Executor) - Static method in class io.jenetics.engine.Evaluators
-
Return a new fitness evaluator, which evaluates the fitness function of the population (concurrently) with the given
executor
. - concurrent(Function<? super T, ? extends C>, Function<? super Genotype<G>, ? extends T>, Executor) - Static method in class io.jenetics.engine.Evaluators
-
Return a new fitness evaluator, which evaluates the fitness function of the population (concurrently) with the given
executor
. - constrain(Codec<T, G>) - Method in interface io.jenetics.engine.Constraint
-
Wraps the given codec into a codec, which obeys
this
constraint. - constrain(InvertibleCodec<T, G>) - Method in interface io.jenetics.engine.Constraint
-
Wraps the given codec into a codec, which obeys
this
constraint. - constrain(Factory<Genotype<G>>) - Method in interface io.jenetics.engine.Constraint
-
Wraps the given genotype factory into a factory, which only creates individuals obeying
this
constraint. - constraint() - Method in class io.jenetics.engine.Engine.Builder
-
Return the constraint of the evolution problem.
- constraint() - Method in class io.jenetics.engine.Engine
-
Return the constraint of the evolution problem.
- constraint() - Method in interface io.jenetics.engine.Problem
-
Return the constraint, associated with
this
problem, if available. - constraint(Constraint<G, C>) - Method in class io.jenetics.engine.Engine.Builder
-
The phenotype constraint is used for detecting invalid individuals and repairing them.
- Constraint<G extends Gene<?,G>,C extends Comparable<? super C>> - Interface in io.jenetics.engine
-
This interface allows you to define constraints on single phenotypes.
- contains(char) - Method in class io.jenetics.util.CharSeq
-
Test whether this character set contains the given character
c
. - contains(Character) - Method in class io.jenetics.util.CharSeq
-
Test whether this character set contains the given character
c
. - contains(Object) - Method in class io.jenetics.util.CharSeq
- contains(Object) - Method in interface io.jenetics.util.Seq
-
Returns
true
if this sequence contains the specified element. - copy() - Method in class io.jenetics.engine.Engine.Builder
-
Create a new builder, with the current configuration.
- copy() - Method in 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 class io.jenetics.stat.DoubleMoments
-
Returns the count of values recorded.
- count() - Method in class io.jenetics.stat.DoubleSummary
-
Returns the count of values recorded.
- count() - Method in class io.jenetics.stat.IntMoments
-
Returns the count of values recorded.
- count() - Method in class io.jenetics.stat.IntSummary
-
Returns the count of values recorded.
- count() - Method in class io.jenetics.stat.LongMoments
-
Returns the count of values recorded.
- count() - Method in class io.jenetics.stat.LongSummary
-
Returns the count of values recorded.
- count() - Method in class io.jenetics.stat.MinMax
-
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<G extends Gene<?,G>,C extends Comparable<? super C>> - Class in io.jenetics
-
Performs a Crossover of two
Chromosome
. - Crossover(double) - Constructor for class io.jenetics.Crossover
-
Constructs an alterer with a given recombination probability.
- crossoverPointCount() - Method in class io.jenetics.MultiPointCrossover
-
Return the number of crossover points.
D
- decode(Genotype<G>) - Method in interface io.jenetics.engine.Codec
- decode(Genotype<G>) - Method in interface io.jenetics.engine.Problem
- decoder() - Method in interface io.jenetics.engine.Codec
-
Return the decoder function which transforms the genotype back to the original problem domain representation.
- DEFAULT_ALTER_PROBABILITY - Static variable in interface io.jenetics.Alterer
-
The default alter probability: 0.2
- DEFAULT_CHARACTERS - Static variable in class io.jenetics.CharacterGene
-
The default character set used by this gene.
- DEFAULT_RETRY_COUNT - Static variable in class io.jenetics.engine.RetryConstraint
-
The default retry-count for creating new, valid phenotypes.
- descending() - Method in enum 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 - Class in io.jenetics.stat
-
Value objects which contains statistical moments.
- 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.
- doubleStream() - Method in class io.jenetics.DoubleChromosome
-
Returns a sequential stream of the alleles with this chromosome as its source.
- DoubleSummary - Class in io.jenetics.stat
-
Value objects which contains statistical summary information.
- 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 an 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 extends Gene<?,G>,C extends Comparable<? super C>> - Class in io.jenetics
-
The
EliteSelector
copies a small proportion of the fittest candidates, without changes, into the next generation. - EliteSelector() - Constructor for class io.jenetics.EliteSelector
-
Create a new elite selector with elite count 1 and the selector for selecting the rest of the population is initialized with
TournamentSelector<>(3)
- EliteSelector(int) - Constructor for class io.jenetics.EliteSelector
-
Create a new elite selector with the desired number of elites to be selected.
- EliteSelector(int, Selector<G, C>) - Constructor for class io.jenetics.EliteSelector
-
Create a new elite selector with the desired number of elites to be selected and the selector used for selecting the rest of the population.
- EliteSelector(Selector<G, C>) - Constructor for class io.jenetics.EliteSelector
-
Create a new elite selector with selector used for selecting the rest of the population.
- empty() - Static method in class io.jenetics.engine.EvolutionStart
-
An empty evolution start object, which can be used as initial evolution value.
- empty() - Static method in interface io.jenetics.util.ISeq
-
Return an empty
ISeq
. - empty() - Static method in interface io.jenetics.util.MSeq
-
Return an empty
MSeq
. - empty() - Static method in interface io.jenetics.util.Seq
-
Return an empty
Seq
. - EMPTY - 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 extends Gene<?,G>,C extends Comparable<? super C>> - Class in io.jenetics.engine
-
Genetic algorithm engine which is the main class.
- Engine.Builder<G extends Gene<?,G>,C extends Comparable<? super C>> - Class in io.jenetics.engine
-
Builder class for building GA
Engine
instances. - Engine.Setup<G extends Gene<?,G>,C extends Comparable<? super C>> - Interface in io.jenetics.engine
-
This interface represents a recipe for configuring (setup) a given
Engine.Builder
. - EnumGene<A> - Class in io.jenetics
-
Gene which holds enumerable (countable) genes.
- 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.AbstractChromosome
- equals(Object) - Method in class io.jenetics.AltererResult
- 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 class io.jenetics.engine.EvolutionDurations
- 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 class io.jenetics.MutatorResult
- equals(Object) - Method in class io.jenetics.Phenotype
- equals(Object) - Method in class io.jenetics.stat.DoubleMoments
- equals(Object) - Method in class io.jenetics.stat.DoubleSummary
- equals(Object) - Method in class io.jenetics.stat.IntMoments
- equals(Object) - Method in class io.jenetics.stat.IntSummary
- equals(Object) - Method in class io.jenetics.stat.LongMoments
- equals(Object) - Method in class io.jenetics.stat.LongSummary
- 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.
- 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 class io.jenetics.engine.EvolutionDurations
-
Return the duration needed for evaluating the fitness function of the new individuals.
- evaluationDuration() - Method in class io.jenetics.engine.EvolutionStatistics
-
Return the duration statistics needed for evaluating the fitness function of the new individuals, in seconds.
- Evaluator<G extends Gene<?,G>,C extends Comparable<? super C>> - Interface in io.jenetics.engine
-
This interface allows to define different strategies for evaluating the fitness functions of a given population.
- Evaluators - Class in io.jenetics.engine
-
This class contains factory methods for creating commonly usable
Evaluator
implementations. - Evolution<G extends Gene<?,G>,C extends Comparable<? super C>> - Interface in io.jenetics.engine
-
This functional interface defines the evolution function, which takes an
EvolutionStart
object, evolves the population, and returns anEvolutionResult
object. - EvolutionDurations - Class in io.jenetics.engine
-
This class contains timing information about one evolution step.
- EvolutionInit<G extends Gene<?,G>> - Class in io.jenetics.engine
-
Represents the initialization value of an evolution stream/iterator.
- EvolutionInterceptor<G extends Gene<?,G>,C extends Comparable<? super C>> - Interface in io.jenetics.engine
-
The evolution interceptor allows to update the
EvolutionStart
object, before the evolution start, and update theEvolutionResult
object after the evolution. - evolutionParams() - Method in class io.jenetics.engine.Engine.Builder
-
Return the currently set evolution parameters.
- evolutionParams(EvolutionParams<G, C>) - Method in class io.jenetics.engine.Engine.Builder
-
Set the evolution parameters used by the engine.
- evolutionParams(EvolutionParams<G, C>) - Method in class io.jenetics.engine.EvolutionParams.Builder
- EvolutionParams<G extends Gene<?,G>,C extends Comparable<? super C>> - Class in io.jenetics.engine
-
This class collects the parameters which control the behaviour of the evolution process.
- EvolutionParams.Builder<G extends Gene<?,G>,C extends Comparable<? super C>> - Class in io.jenetics.engine
-
Builder class for the evolution parameter.
- EvolutionResult<G extends Gene<?,G>,C extends Comparable<? super C>> - Class in io.jenetics.engine
-
Represents a state of the GA after an evolution step.
- EvolutionStart<G extends Gene<?,G>,C extends Comparable<? super C>> - Class in io.jenetics.engine
-
Represents a state of the GA at the start of an evolution step.
- EvolutionStatistics<C extends Comparable<? super C>,FitnessStatistics> - Class in io.jenetics.engine
-
This class can be used to gather additional statistic information of an evolution process.
- EvolutionStream<G extends Gene<?,G>,C extends Comparable<? super C>> - Interface in io.jenetics.engine
-
The
EvolutionStream
class extends the JavaStream
and adds a method for limiting the evolution by a given predicate. - EvolutionStreamable<G extends Gene<?,G>,C extends Comparable<? super C>> - Interface in io.jenetics.engine
-
This interface defines the capability of creating
EvolutionStream
s from a givenEvolutionStart
object. - 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 and fitness scaler 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 class io.jenetics.engine.EvolutionDurations
-
Return the duration needed for the whole evolve step.
- evolveDuration() - Method in class io.jenetics.engine.EvolutionStatistics
-
Return the duration statistics needed for the whole evolve step, in seconds.
- executor() - Method in class io.jenetics.engine.Engine.Builder
-
Return the
Executor
the engine is using for executing the evolution steps. - executor() - Method in class io.jenetics.engine.Engine
-
Return the
Executor
the engine is using for executing the evolution steps. - executor(Executor) - Method in class io.jenetics.engine.Engine.Builder
-
The executor used by the engine.
- expand(char, char) - Static method in class io.jenetics.util.CharSeq
-
Expands the characters between
a
andb
. - expand(CharSequence) - Static method in class io.jenetics.util.CharSeq
-
Expands the character range for the given
pattern
. - ExponentialRankSelector<G extends Gene<?,G>,C extends Comparable<? super C>> - Class in io.jenetics
-
An alternative to the "weak"
LinearRankSelector
is to assign survival probabilities to the sorted individuals using an exponential function. - ExponentialRankSelector() - Constructor for class io.jenetics.ExponentialRankSelector
-
Create a new selector with 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 - 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.
- FitnessNullifier<G extends Gene<?,G>,C extends Comparable<? super C>> - Class in io.jenetics.engine
-
This class allows to force 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 an 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 extends NumericGene<?,G>,C extends Comparable<? super C>> - Class in io.jenetics
-
The GaussianMutator class performs the mutation of a
NumericGene
. - GaussianMutator() - Constructor for class io.jenetics.GaussianMutator
- GaussianMutator(double) - Constructor for class io.jenetics.GaussianMutator
- gene() - Method in class io.jenetics.BitChromosome
- gene() - Method in interface io.jenetics.Chromosome
-
Return the first gene of this chromosome.
- gene() - Method in class io.jenetics.Genotype
- Gene<A,G extends Gene<A,G>> - Interface in io.jenetics
-
Genes are the atoms of the Jenetics library.
- geneCount() - Method in class io.jenetics.Genotype
-
Return the number of genes this genotype consists of.
- generation() - Method in class io.jenetics.engine.EvolutionInit
-
Return the generation of the start population.
- generation() - Method in class io.jenetics.engine.EvolutionResult
-
The current generation.
- generation() - Method in class io.jenetics.engine.EvolutionStart
-
Return the generation of the start population.
- generation() - Method in class io.jenetics.Phenotype
-
Return the generation this
Phenotype
was created. - genotype() - Method in class io.jenetics.Phenotype
-
This method returns a copy of the
Genotype
, to guarantee a immutable class. - Genotype<G extends Gene<?,G>> - Class in io.jenetics
-
The central class the GA is working with, is the
Genotype
. - genotypeFactory() - Method in class io.jenetics.engine.Engine.Builder
-
Return the used genotype
Factory
of the GA. - genotypeFactory() - Method in class io.jenetics.engine.Engine
-
Return the used genotype
Factory
of the GA. - genotypes() - Method in class io.jenetics.engine.EvolutionResult
-
Return the current list of genotypes of this evolution result.
- get() - Method in class io.jenetics.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.AbstractChromosome
- hashCode() - Method in class io.jenetics.AltererResult
- 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 class io.jenetics.engine.EvolutionDurations
- 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 class io.jenetics.MutatorResult
- hashCode() - Method in class io.jenetics.Phenotype
- hashCode() - Method in class io.jenetics.stat.DoubleMoments
- hashCode() - Method in class io.jenetics.stat.DoubleSummary
- hashCode() - Method in class io.jenetics.stat.IntMoments
- hashCode() - Method in class io.jenetics.stat.IntSummary
- hashCode() - Method in class io.jenetics.stat.LongMoments
- hashCode() - Method in class io.jenetics.stat.LongSummary
- 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(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 to change the evolution start and result.
- IntermediateCrossover<G extends NumericGene<?,G>,C extends Comparable<? super C>> - Class in io.jenetics
-
This alterer takes two chromosome (treating it as vectors) and creates a linear combination of this vectors as result.
- IntermediateCrossover() - Constructor for class io.jenetics.IntermediateCrossover
-
Creates a new intermediate-crossover with default recombination probability (
Alterer.DEFAULT_ALTER_PROBABILITY
) and a p value of zero, which restricts the recombined chromosomes within the hypercube of the selected chromosomes (vectors). - IntermediateCrossover(double) - Constructor for class io.jenetics.IntermediateCrossover
-
Creates a new intermediate-crossover with the given recombination probability.
- IntermediateCrossover(double, double) - Constructor for class io.jenetics.IntermediateCrossover
-
Creates a new intermediate-crossover with the given recombination probability and the line-scaling factor p.
- IntMoments - Class in io.jenetics.stat
-
Value objects which contains statistical moments.
- 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.
- intStream() - Method in class io.jenetics.IntegerChromosome
-
Returns a sequential stream of the alleles with this chromosome as its source.
- IntSummary - Class in io.jenetics.stat
-
Value objects which contains statistical summary information.
- 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 extends Gene<?,G>> - Interface in io.jenetics.engine
- IO - Class in io.jenetics.util
-
Class for object serialization.
- IO() - Constructor for class io.jenetics.util.IO
- io.jenetics - package io.jenetics
-
This is the base package of the Jenetics library and contains all domain classes, like Gene, Chromosome or Genotype.
- io.jenetics.engine - package io.jenetics.engine
-
This package contains classes which performs 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
. - 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 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 class io.jenetics.stat.DoubleMoments
-
Return the kurtosis of values recorded, or
Double.NaN
if less than four values have been recorded. - kurtosis() - Method in class io.jenetics.stat.IntMoments
-
Return the kurtosis of values recorded, or
Double.NaN
if less than four values have been recorded. - kurtosis() - Method in class io.jenetics.stat.LongMoments
-
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
- 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.
- LinearRankSelector<G extends Gene<?,G>,C extends Comparable<? super C>> - Class in io.jenetics
-
In linear-ranking selection the individuals are sorted according to their fitness values.
- LinearRankSelector() - Constructor for class io.jenetics.LinearRankSelector
-
Create a new LinearRankSelector with
nminus := 0.5
. - LinearRankSelector(double) - Constructor for class io.jenetics.LinearRankSelector
-
Create a new LinearRankSelector with the given values for
nminus
. - LineCrossover<G extends NumericGene<?,G>,C extends Comparable<? super C>> - Class in io.jenetics
-
This alterer takes two chromosome (treating it as vectors) and creates a linear combination of this vectors as result.
- LineCrossover() - Constructor for class io.jenetics.LineCrossover
-
Creates a new linear-crossover with default recombination probability (
Alterer.DEFAULT_ALTER_PROBABILITY
) and a p value of zero, which restricts the recombined chromosomes within the hypercube of the selected chromosomes (vectors). - LineCrossover(double) - Constructor for class io.jenetics.LineCrossover
-
Creates a new linear-crossover with the given recombination probability.
- LineCrossover(double, double) - Constructor for class io.jenetics.LineCrossover
-
Creates a new linear-crossover with the given recombination probability and the line-scaling factor p.
- listIterator() - Method in class io.jenetics.BitChromosome
-
Return a list iterator over the bit-genes of this chromosome.
- 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 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 - Class in io.jenetics.stat
-
Value objects which contains statistical moments.
- 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.
- longStream() - Method in class io.jenetics.LongChromosome
-
Returns a sequential stream of the alleles with this chromosome as its source.
- LongSummary - Class in io.jenetics.stat
-
Value objects which contains statistical summary information.
- 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 an 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 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 class io.jenetics.stat.DoubleMoments
-
Return the maximum value recorded, or
Double.NEGATIVE_INFINITY
if no values have been recorded. - 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 class io.jenetics.stat.DoubleSummary
-
Return the maximum value recorded, or
Double.NEGATIVE_INFINITY
if no values have been recorded. - max() - Method in class io.jenetics.stat.IntMoments
-
Return the maximum value recorded, or
Integer.MIN_VALUE
if no values have been recorded. - 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 class io.jenetics.stat.IntSummary
-
Return the maximum value recorded, or
Integer.MIN_VALUE
if no values have been recorded. - max() - Method in class io.jenetics.stat.LongMoments
-
Return the maximum value recorded, or
Long.MIN_VALUE
if no values have been recorded. - 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 class io.jenetics.stat.LongSummary
-
Return the maximum value recorded, or
Long.MIN_VALUE
if no values have been recorded. - 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 class io.jenetics.stat.DoubleSummary
-
Return the maximum value of the given double array.
- max(int[]) - Static method in class io.jenetics.stat.IntSummary
-
Return the maximum value of the given double array.
- max(long[]) - Static method in class io.jenetics.stat.LongSummary
-
Return the maximum value of the given double array.
- 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 - io.jenetics.Optimize
-
GA maximization
- mean() - Method in class io.jenetics.stat.DoubleMoments
-
Return the arithmetic mean of values recorded, or zero if no values have been recorded.
- mean() - Method in class io.jenetics.stat.DoubleSummary
-
Return the arithmetic mean of values recorded, or zero if no values have been recorded.
- mean() - Method in class io.jenetics.stat.IntMoments
-
Return the arithmetic mean of values recorded, or zero if no values have been recorded.
- mean() - Method in class io.jenetics.stat.IntSummary
-
Return the arithmetic mean of values recorded, or zero if no values have been recorded.
- mean() - Method in class io.jenetics.stat.LongMoments
-
Return the arithmetic mean of values recorded, or zero if no values have been recorded.
- mean() - Method in class io.jenetics.stat.LongSummary
-
Return the arithmetic mean of values recorded, or zero if no values have been recorded.
- mean(double[]) - Static method in 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 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 class io.jenetics.stat.LongSummary
-
Returns a double describing the arithmetic mean of the values, or
Double.NaN
if thevalues
array is empty. - mean(DoubleGene) - Method in class io.jenetics.DoubleGene
- mean(IntegerGene) - Method in class io.jenetics.IntegerGene
- mean(LongGene) - Method in class io.jenetics.LongGene
- mean(T) - Method in interface io.jenetics.util.Mean
-
Return the (usually arithmetic) mean value of
this
andthat
. - Mean<T> - Interface in io.jenetics.util
-
A mixin interface for genes which can have a mean value.
- MeanAlterer<G extends Gene<?,G> & Mean<G>,C extends Comparable<? super C>> - Class in io.jenetics
-
Alters a chromosome by replacing two genes by its mean value.
- MeanAlterer() - Constructor for class io.jenetics.MeanAlterer
-
Create a new alterer with alter probability of
0.05
. - MeanAlterer(double) - Constructor for class io.jenetics.MeanAlterer
-
Constructs an alterer with a given recombination probability.
- millis() - Method in class io.jenetics.util.NanoClock
- min() - Method in 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 class io.jenetics.stat.DoubleMoments
-
Return the minimum value recorded, or
Double.POSITIVE_INFINITY
if no values have been recorded. - 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 class io.jenetics.stat.DoubleSummary
-
Return the minimum value recorded, or
Double.POSITIVE_INFINITY
if no values have been recorded. - min() - Method in class io.jenetics.stat.IntMoments
-
Return the minimum value recorded, or
Integer.MAX_VALUE
if no values have been recorded. - 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 class io.jenetics.stat.IntSummary
-
Return the minimum value recorded, or
Integer.MAX_VALUE
if no values have been recorded. - min() - Method in class io.jenetics.stat.LongMoments
-
Return the minimum value recorded, or
Long.MAX_VALUE
if no values have been recorded. - 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 class io.jenetics.stat.LongSummary
-
Return the minimum value recorded, or
Long.MAX_VALUE
if no values have been recorded. - 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 class io.jenetics.stat.DoubleSummary
-
Return the minimum value of the given double array.
- min(int[]) - Static method in class io.jenetics.stat.IntSummary
-
Return the minimum value of the given double array.
- min(long[]) - Static method in class io.jenetics.stat.LongSummary
-
Return the minimum value of the given double array.
- 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 - io.jenetics.Optimize
-
GA minimization
- MinMax<C> - Class in io.jenetics.stat
-
This consumer class is used for calculating the min and max value according to the given
Comparator
. - MonteCarloSelector<G extends Gene<?,G>,C extends Comparable<? super C>> - Class in io.jenetics
-
The Monte Carlo selector selects the individuals from a given population randomly.
- MonteCarloSelector() - Constructor for class io.jenetics.MonteCarloSelector
- MSeq<T> - Interface in io.jenetics.util
-
Mutable, ordered, fixed sized sequence.
- MultiPointCrossover<G extends Gene<?,G>,C extends Comparable<? super C>> - Class in io.jenetics
-
Multiple point crossover
- MultiPointCrossover() - Constructor for class io.jenetics.MultiPointCrossover
-
Create a new crossover instance with two crossover points and crossover probability 0.05.
- MultiPointCrossover(double) - Constructor for class io.jenetics.MultiPointCrossover
-
Create a new crossover instance with two crossover points.
- MultiPointCrossover(double, int) - Constructor for class io.jenetics.MultiPointCrossover
-
Create a new crossover instance.
- MultiPointCrossover(int) - Constructor for class io.jenetics.MultiPointCrossover
-
Create a new crossover instance with default crossover probability of 0.05.
- mutate(G, Random) - Method in class io.jenetics.GaussianMutator
- mutate(G, Random) - Method in class io.jenetics.Mutator
-
Mutates the given gene.
- mutate(Chromosome<G>, double, Random) - Method in class io.jenetics.Mutator
-
Mutates the given chromosome.
- mutate(Chromosome<G>, double, Random) - Method in class io.jenetics.SwapMutator
-
Swaps the genes in the given array, with the mutation probability of this mutation.
- mutate(Genotype<G>, double, Random) - Method in class io.jenetics.Mutator
-
Mutates the given genotype.
- mutate(Phenotype<G, C>, long, double, Random) - Method in class io.jenetics.Mutator
-
Mutates the given phenotype.
- mutations() - Method in class io.jenetics.MutatorResult
-
Return the number of mutations for this mutation result.
- Mutator<G extends Gene<?,G>,C extends Comparable<? super C>> - Class in io.jenetics
-
This class is for mutating a chromosomes of an 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> - Class in io.jenetics
-
Represents the result pair of one of the four
Mutator.mutate
calls.
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
-
This constants holds the number of nano seconds 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 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 than 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 io.jenetics.BitGene
-
Create a new gene from the given
value
. - newInstance(Character) - Method in class io.jenetics.CharacterGene
-
Create a new character gene from the given character.
- newInstance(Double) - Method in class io.jenetics.DoubleGene
- newInstance(Integer) - Method in class io.jenetics.IntegerGene
- newInstance(Long) - Method in class io.jenetics.LongGene
- newInstance(Number) - Method in class io.jenetics.DoubleGene
- newInstance(Number) - Method in class io.jenetics.IntegerGene
- newInstance(Number) - Method in class io.jenetics.LongGene
- newInstance(Number) - Method in interface io.jenetics.NumericGene
- next() - Method in class io.jenetics.engine.EvolutionResult
-
Return the next evolution start object with the current population and the incremented generation.
- 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 extends Number & Comparable<? super N>,G extends NumericGene<N,G>> - Interface in io.jenetics
-
Numeric chromosome interface.
- NumericGene<N extends Number & Comparable<? super N>,G extends NumericGene<N,G>> - Interface in io.jenetics
-
Base interface for numeric genes.
O
- object - Static variable in class io.jenetics.util.IO
-
IO implementation for "native" Java serialization.
- 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 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.
- 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
-
Construct a new BitChromosome with the given _length.
- 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, double, double, double, double) - Static method in class io.jenetics.stat.DoubleSummary
-
Create an immutable object which contains statistical summary values.
- of(long, double, double, double, double, double, double, double) - Static method in class io.jenetics.stat.DoubleMoments
-
Create an immutable object which contains statistical values.
- of(long, int, int, long, double) - Static method in class io.jenetics.stat.IntSummary
-
Create an immutable object which contains statistical summary values.
- of(long, int, int, long, double, double, double, double) - Static method in class io.jenetics.stat.IntMoments
-
Create an immutable object which contains statistical values.
- 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, long, long, double) - Static method in class io.jenetics.stat.LongSummary
-
Create an immutable object which contains statistical summary values.
- of(long, long, long, long, double, double, double, double) - Static method in class io.jenetics.stat.LongMoments
-
Create an immutable object which contains statistical values.
- of(long, long, IntRange) - Static method in class io.jenetics.LongChromosome
-
Create a new random chromosome.
- of(long, LongRange) - Static method in class io.jenetics.LongGene
-
Create a new random
LongGene
with the given value and the given range. - of(A...) - Static method in class io.jenetics.EnumGene
-
Return a new enum gene with an allele randomly chosen from the given valid alleles.
- of(A, Supplier<? extends A>) - Static method in class io.jenetics.AnyGene
-
Create a new
AnyGene
instance with the given parameters. - of(A, Supplier<? extends A>, Predicate<? super A>) - Static method in class io.jenetics.AnyGene
-
Create a new
AnyGene
instance with the given parameters. - of(Alterer<G, C>...) - Static method in interface io.jenetics.Alterer
-
Combine the given alterers.
- of(Alterer<G, C>, int...) - Static method in class io.jenetics.PartialAlterer
-
Wraps the given
alterer
, so that it will only work on chromosomes with the given chromosome indices. - of(Alterer<G, C>, IntRange) - Static method in class io.jenetics.PartialAlterer
-
Wraps the given
alterer
, so that it will only work on chromosomes with the given chromosome indices. - of(Chromosome<G>, Chromosome<G>...) - Static method in class io.jenetics.Genotype
-
Create a new
Genotype
from a given array ofChromosomes
. - of(DoubleGene...) - Static method in class io.jenetics.DoubleChromosome
-
Create a new
DoubleChromosome
with the given genes. - of(Codec<A, G>, Codec<B, G>, BiFunction<A, B, T>) - Static method in interface io.jenetics.engine.Codec
-
Converts two given
Codec
instances into one. - of(InvertibleCodec<T, G>, Predicate<? super T>) - Static method in class io.jenetics.engine.RetryConstraint
-
Return a new constraint with the given
validator
and theRetryConstraint.DEFAULT_RETRY_COUNT
. - of(InvertibleCodec<T, G>, Predicate<? super T>, int) - Static method in class io.jenetics.engine.RetryConstraint
-
Return a new constraint with the given
validator
andretryLimit
. - of(InvertibleCodec<T, G>, Predicate<? super T>, Function<? super T, ? extends T>) - Static method in interface io.jenetics.engine.Constraint
-
Return a new constraint object with the given
validator
andrepairer
. - of(Genotype<G>, long) - Static method in class io.jenetics.Phenotype
-
Create a new phenotype from the given arguments.
- of(Genotype<G>, long, C) - Static method in class io.jenetics.Phenotype
-
Create a new phenotype from the given arguments.
- of(IntegerGene...) - Static method in class io.jenetics.IntegerChromosome
-
Create a new
IntegerChromosome
with the given genes. - of(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 an 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 an new
EvolutionResult
object with the given values. - of(DoubleMomentStatistics) - Static method in 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 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 class io.jenetics.stat.LongMoments
-
Return a new value object of the statistical moments, currently represented by the
statistics
object. - of(CharSeq) - Static method in class io.jenetics.CharacterGene
-
Create a new CharacterGene with a randomly chosen character from the set of valid characters.
- of(CharSeq, int) - Static method in class io.jenetics.CharacterChromosome
-
Create a new chromosome with the
validCharacters
char set as valid characters. - of(CharSeq, IntRange) - Static method in class io.jenetics.CharacterChromosome
-
Create a new chromosome with the
validCharacters
char set as valid characters. - of(DoubleRange) - Static method in class io.jenetics.DoubleChromosome
-
Create a new random
DoubleChromosome
of length one. - of(DoubleRange) - Static method in class io.jenetics.DoubleGene
-
Create a new random
DoubleGene
. - of(DoubleRange, int) - Static method in class io.jenetics.DoubleChromosome
-
Create a new random
DoubleChromosome
. - of(DoubleRange, IntRange) - Static method in class io.jenetics.DoubleChromosome
-
Create a new random chromosome.
- of(Factory<? extends Chromosome<G>>, int) - Static method in class io.jenetics.Genotype
-
Create a new
Genotype
which consists ofn
chromosomes, which are created by the givenfactory
. - of(Factory<Genotype<G>>) - Static method in class io.jenetics.engine.RetryConstraint
-
Return a new constraint with the given genotype factory.
- of(Factory<Genotype<G>>, Function<? super Genotype<G>, ? extends T>) - Static method in interface io.jenetics.engine.Codec
-
Create a new
Codec
object with the givenencoding
anddecoder
function. - of(Factory<Genotype<G>>, Function<? super Genotype<G>, ? extends T>, Function<? super T, Genotype<G>>) - Static method in interface io.jenetics.engine.InvertibleCodec
-
Create a new invertible codec from the given parameters.
- of(IntRange) - Static method in class io.jenetics.CharacterChromosome
-
Create a new chromosome with the
CharacterGene.DEFAULT_CHARACTERS
char set as valid characters. - of(IntRange) - Static method in class io.jenetics.IntegerChromosome
-
Create a new random
IntegerChromosome
of length one. - of(IntRange) - Static method in class io.jenetics.IntegerGene
-
Create a new random
IntegerGene
. - of(IntRange, int) - Static method in class io.jenetics.IntegerChromosome
-
Create a new random
IntegerChromosome
. - of(IntRange, IntRange) - Static method in class io.jenetics.IntegerChromosome
-
Create a new random chromosome.
- of(ISeq<? extends A>) - Static method in class io.jenetics.EnumGene
-
Return a new enum gene with an allele randomly chosen from the given valid alleles.
- of(ISeq<? extends Codec<?, G>>, Function<? super Object[], ? extends T>) - Static method in interface io.jenetics.engine.Codec
-
Combines the given
codecs
into one codec. - of(ISeq<? extends T>) - Static method in class io.jenetics.PermutationChromosome
-
Create a new, random chromosome with the given valid alleles.
- of(ISeq<? extends T>, int) - Static method in class io.jenetics.PermutationChromosome
-
Create a new, random chromosome with the given valid alleles and the desired length.
- of(ISeq<Genotype<G>>, long) - Static method in class io.jenetics.engine.EvolutionInit
-
Create a new evolution start object with the given population and for the given generation.
- of(ISeq<Phenotype<G, C>>, long) - Static method in class io.jenetics.engine.EvolutionStart
-
Create a new evolution start object with the given population and for the given generation.
- of(LongRange) - Static method in class io.jenetics.LongChromosome
-
Create a new random
LongChromosome
of length one. - of(LongRange) - Static method in class io.jenetics.LongGene
-
Create a new random
LongGene
. - of(LongRange, int) - Static method in class io.jenetics.LongChromosome
-
Create a new random
LongChromosome
. - of(LongRange, IntRange) - Static method in class io.jenetics.LongChromosome
-
Create a new random chromosome.
- of(Seq<? extends T>) - Static method in interface io.jenetics.util.MSeq
-
Create a new
MSeq
from the values of the givenSeq
. - of(Seq<Phenotype<G, C>>) - Static method in class io.jenetics.AltererResult
-
Return a new alter result for the given arguments.
- of(Seq<Phenotype<G, C>>, int) - Static method in class io.jenetics.AltererResult
-
Return a new alter result for the given arguments.
- 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, double) - Static method in class io.jenetics.BitChromosome
-
Create a new
BitChromosome
from the given big integer value and ones probability. - of(Duration, Duration, Duration, Duration, Duration, Duration, Duration) - Static method in class io.jenetics.engine.EvolutionDurations
-
Return an new
EvolutionDurations
object with the given values. - of(BitSet) - Static method in class io.jenetics.BitChromosome
-
Deprecated, for removal: This API element is subject to removal in a future version.This method doesn't let you control the actual length of the created
BitChromosome
. UseBitChromosome.of(BitSet, int, double)
orBitChromosome.of(BitSet, int)
instead. - 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(DoubleSummaryStatistics) - Static method in 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 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 class io.jenetics.stat.LongSummary
-
Return a new value object of the statistical summary, currently represented by the
statistics
object. - 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.MutatorResult
-
Create a new mutation result with the given result.
- 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, int) - Static method in class io.jenetics.MutatorResult
-
Create a new mutation result with 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 class io.jenetics.engine.EvolutionDurations
-
Return the duration needed for altering the offspring population.
- offspringFilterDuration() - Method in class io.jenetics.engine.EvolutionDurations
-
Return the duration needed for removing and replacing invalid offspring individuals.
- 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 class io.jenetics.engine.EvolutionDurations
-
Return the duration needed for selecting the offspring population.
- 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 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 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 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 given basic set. - 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(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(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(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
- ONE - Static variable in enum io.jenetics.BitGene
- oneProbability() - Method in class io.jenetics.BitChromosome
-
Return the one 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 in io.jenetics
-
This
enum
determines whether the GA should maximize or minimize the fitness function. - 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 extends Gene<?,G>,C extends Comparable<? super C>> - Class in io.jenetics
-
This alterer wraps a given alterer which works on a given section of the genotype's chromosomes.
- PartiallyMatchedCrossover<T,C extends Comparable<? super C>> - Class in io.jenetics
-
The
PartiallyMatchedCrossover
(PMX) guarantees that allGene
s are found exactly once in each chromosome. - PartiallyMatchedCrossover(double) - Constructor for class io.jenetics.PartiallyMatchedCrossover
- PermutationChromosome<T> - Class in io.jenetics
-
This chromosome can be used to model permutations of a given (sub) set of alleles.
- PermutationChromosome(ISeq<EnumGene<T>>) - Constructor for class io.jenetics.PermutationChromosome
-
Create a new
PermutationChromosome
from the givengenes
. - Phenotype<G extends Gene<?,G>,C extends Comparable<? super C>> - Class in io.jenetics
-
The
Phenotype
consists of aGenotype
, the current generation and an optional fitness value. - phenotypeAge() - Method in class io.jenetics.engine.EvolutionStatistics
-
Return the statistics about the individuals age.
- plus(EvolutionDurations) - Method in class io.jenetics.engine.EvolutionDurations
-
Returns a copy of this duration with the specified duration added.
- population() - Method in class io.jenetics.AltererResult
-
Return the altered population.
- 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 extends Gene<?,G>,C extends Comparable<? super C>> - Class in io.jenetics
-
Probability selectors are a variation of fitness proportional selectors and selects individuals from a given population based on it's selection probability P(i).
- ProbabilitySelector() - Constructor for class io.jenetics.ProbabilitySelector
-
Create a new selector with
sorted = false
. - ProbabilitySelector(boolean) - Constructor for class io.jenetics.ProbabilitySelector
-
Create a new
ProbabilitySelector
with the givensorting
flag. - Problem<T,G extends Gene<?,G>,C extends Comparable<? super C>> - Interface in io.jenetics.engine
-
This interface describes a problem which can be solved by the GA evolution
Engine
. - ProxySorter - Class in io.jenetics.util
-
This sorting methods doesn't sort a given array directly, instead an index lookup array is returned which allows to access the array in an 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 global
Random
object. - random(ThreadLocal<? extends Random>) - Static method in class io.jenetics.util.RandomRegistry
-
Set the new global
Random
object for the GA. - random(Random) - Static method in class io.jenetics.util.RandomRegistry
-
Set the new global
Random
object for the GA. - RandomRegistry - Class in io.jenetics.util
-
This class holds the
Random
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. - 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 extends Gene<?,G>,C extends Comparable<? super C>> - Class in io.jenetics
-
An enhanced genetic algorithm (EGA) combine elements of existing solutions in order to create a new solution, with some of the properties of each parent.
- Recombinator(double, int) - Constructor for class io.jenetics.Recombinator
-
Constructs an alterer with a given recombination probability.
- recombine(MSeq<Phenotype<G, C>>, int[], long) - Method in class io.jenetics.CombineAlterer
- recombine(MSeq<Phenotype<G, C>>, int[], long) - Method in class io.jenetics.Crossover
- recombine(MSeq<Phenotype<G, C>>, int[], long) - Method in class io.jenetics.Recombinator
-
Recombination template method.
- 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 it's default value.
- result() - Method in class io.jenetics.MutatorResult
-
Return the mutation result.
- result() - Method in class io.jenetics.stat.DoubleMomentStatistics
- result() - Method in interface io.jenetics.util.Accumulator
-
Return a copy of the current result of the accumulated elements.
- RetryConstraint<G extends Gene<?,G>,C extends Comparable<? super C>> - Class in io.jenetics.engine
-
This simple
Constraint
implementation repairs an invalid phenotype by creating new individuals until a valid one has been created. - RetryConstraint(Predicate<? super Phenotype<G, C>>, Factory<Genotype<G>>, int) - Constructor for class io.jenetics.engine.RetryConstraint
-
Create a new retry-constraint with the given parameters.
- reverse() - Method in interface io.jenetics.util.MSeq
-
Reverses the order of the elements this sequence (in place).
- reversed() - Method in interface io.jenetics.util.ProxySorter.Comparator
-
Returns a comparator that imposes the reverse ordering of this comparator.
- RouletteWheelSelector<G extends Gene<?,G>,N extends Number & Comparable<? super N>> - Class in io.jenetics
-
The roulette-wheel selector is also known as fitness proportional selector, but in the Jenetics library it is implemented as probability selector.
- RouletteWheelSelector() - Constructor for class io.jenetics.RouletteWheelSelector
- RouletteWheelSelector(boolean) - Constructor for class io.jenetics.RouletteWheelSelector
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. - 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 extends Gene<?,G>,C extends Comparable<? super C>> - Interface in io.jenetics
-
Selectors are responsible for selecting a given number of individuals from the population.
- Seq<T> - Interface in io.jenetics.util
-
General interface for a ordered, fixed sized, object sequence.
- serial(Function<? super Genotype<G>, ? extends C>) - Static method in class io.jenetics.engine.Evaluators
-
Return a new fitness evaluator, which evaluates the fitness function of the population serially in the main thread.
- serial(Function<? super T, ? extends C>, Codec<T, G>) - Static method in class io.jenetics.engine.Evaluators
-
Return a new fitness evaluator, which evaluates the fitness function of the population serially in the main thread.
- serial(Function<? super T, ? extends C>, Function<? super Genotype<G>, ? extends T>) - Static method in class io.jenetics.engine.Evaluators
-
Return a new fitness evaluator, which evaluates the fitness function of the population serially in the main thread.
- 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. - 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 an 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
- shuffle(Random) - Method in interface io.jenetics.util.MSeq
-
Randomize the
array
using the givenRandom
object. - SinglePointCrossover<G extends Gene<?,G>,C extends Comparable<? super C>> - Class in io.jenetics
-
Single point crossover
- SinglePointCrossover() - Constructor for class io.jenetics.SinglePointCrossover
-
Create a new single point crossover object with crossover probability of
0.05
. - SinglePointCrossover(double) - Constructor for class io.jenetics.SinglePointCrossover
-
Constructs an alterer with a given recombination probability.
- size() - Method in class io.jenetics.util.IntRange
-
Return the size of the
IntRange
:max - min
. - size() - Method in interface io.jenetics.util.Seq
- skewness() - Method in class io.jenetics.stat.DoubleMoments
-
Return the skewness of values recorded, or
Double.NaN
if less than two values have been recorded. - skewness() - Method in class io.jenetics.stat.IntMoments
-
Return the skewness of values recorded, or
Double.NaN
if less than two values have been recorded. - skewness() - Method in class io.jenetics.stat.LongMoments
-
Return the skewness of values recorded, or
Double.NaN
if less than two values have been recorded. - 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 extends Gene<?,G>,N extends Number & Comparable<? super N>> - Class in io.jenetics
-
StochasticUniversalSelector
is a method for selecting a population according to some given probability in a way that minimize 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 to create 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 class io.jenetics.stat.DoubleMoments
-
Return the sum of values recorded, or zero if no values have been recorded.
- 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 class io.jenetics.stat.DoubleSummary
-
Return the sum of values recorded, or zero if no values have been recorded.
- sum() - Method in class io.jenetics.stat.IntMoments
-
Return the sum of values recorded, or zero if no values have been recorded.
- 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 class io.jenetics.stat.IntSummary
-
Return the sum of values recorded, or zero if no values have been recorded.
- sum() - Method in class io.jenetics.stat.LongMoments
-
Return the sum of values recorded, or zero if no values have been recorded.
- 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 class io.jenetics.stat.LongSummary
-
Return the sum of values recorded, or zero if no values have been recorded.
- sum(double[]) - Static method in class io.jenetics.stat.DoubleSummary
-
Return the sum of the given double array.
- sum(int[]) - Static method in class io.jenetics.stat.IntSummary
-
Return the sum of the given double array.
- sum(long[]) - Static method in class io.jenetics.stat.LongSummary
-
Return the sum of the given double array.
- survivorFilterDuration() - Method in class io.jenetics.engine.EvolutionDurations
-
Return the duration needed for removing and replacing old and invalid survivor individuals.
- survivorsFraction(double) - Method in class io.jenetics.engine.Engine.Builder
-
The survivors fraction.
- survivorsSelectionDuration() - Method in class io.jenetics.engine.EvolutionDurations
-
Return the duration needed for selecting the survivors population.
- 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 survivors population.
- survivorsSelector(Selector<G, C>) - Method in class io.jenetics.engine.EvolutionParams.Builder
-
The selector used for selecting the survivors 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 extends Gene<?,G>,C extends Comparable<? super C>> - Class in io.jenetics
-
The
SwapMutation
changes the order of genes in a chromosome, with the hope of bringing related genes closer together, thereby facilitating the production of building blocks. - SwapMutator() - Constructor for class io.jenetics.SwapMutator
-
Default constructor, with default mutation probability (
Alterer.DEFAULT_ALTER_PROBABILITY
). - SwapMutator(double) - Constructor for class io.jenetics.SwapMutator
-
Constructs an alterer with a given recombination probability.
- swapProbability() - Method in class io.jenetics.UniformCrossover
-
Return the probability for swapping genes of a chromosome.
- synced() - Method in interface io.jenetics.util.Accumulator
-
Returns a synchronized (thread-safe) accumulator backed by
this
accumulator. - synced(Object) - Method in interface io.jenetics.util.Accumulator
-
Returns a synchronized (thread-safe) accumulator backed by
this
accumulator. - system(ZoneId) - Static method in class io.jenetics.util.NanoClock
-
This clock is based on the nano system clock.
- systemDefaultZone() - Static method in class io.jenetics.util.NanoClock
-
This clock is based on the nano system clock.
- systemUTC() - Static method in class io.jenetics.util.NanoClock
-
This clock is based on the nano system clock.
T
- 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 an char array containing all of the elements in this chromosome in proper sequence.
- toArray() - Method in class io.jenetics.DoubleChromosome
-
Returns an double array containing all of the elements in this chromosome in proper sequence.
- toArray() - Method in class io.jenetics.IntegerChromosome
-
Returns an int array containing all of the elements in this chromosome in proper sequence.
- toArray() - Method in class io.jenetics.LongChromosome
-
Returns an long array containing all of the elements in this chromosome in 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 an char array containing all of the elements in this chromosome in proper sequence.
- toArray(double[]) - Method in class io.jenetics.DoubleChromosome
-
Returns an double array containing all of the elements in this chromosome in proper sequence.
- toArray(int[]) - Method in class io.jenetics.IntegerChromosome
-
Returns an int array containing all of the elements in this chromosome in proper sequence.
- toArray(long[]) - Method in class io.jenetics.LongChromosome
-
Returns an long array containing all of the elements in this chromosome in 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
- toByteArray(byte[]) - Method in class io.jenetics.BitChromosome
-
Returns the two's-complement binary representation of this large integer.
- 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 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 class io.jenetics.stat.DoubleMoments
-
Return a
Collector
which applies an 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 an double-producing mapping function to each input element, and returns moments-statistics for the resulting values. - toDoubleSummary(ToDoubleFunction<? super T>) - Static method in class io.jenetics.stat.DoubleSummary
-
Return a
Collector
which applies an double-producing mapping function to each input element, and returns 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 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 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 class io.jenetics.stat.IntSummary
-
Return a
Collector
which applies an int-producing mapping function to each input element, and returns 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 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 class io.jenetics.stat.LongMoments
-
Return a
Collector
which applies an 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 an long-producing mapping function to each input element, and returns moments-statistics for the resulting values. - toLongSummary(ToLongFunction<? super T>) - Static method in class io.jenetics.stat.LongSummary
-
Return a
Collector
which applies an long-producing mapping function to each input element, and returns summary-statistics for the resulting values. - toMedian(ToDoubleFunction<? super T>) - Static method in class io.jenetics.stat.Quantile
-
Return a
Collector
which applies an 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 an 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 class io.jenetics.AltererResult
- toString() - Method in class io.jenetics.AnyGene
- toString() - Method in class io.jenetics.BitChromosome
- toString() - Method in enum 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 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.GaussianMutator
- 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 class io.jenetics.MutatorResult
- toString() - Method in class io.jenetics.PartiallyMatchedCrossover
- toString() - Method in class io.jenetics.PermutationChromosome
- toString() - Method in class io.jenetics.Phenotype
- toString() - Method in class io.jenetics.RouletteWheelSelector
- toString() - Method in class io.jenetics.SinglePointCrossover
- toString() - Method in class io.jenetics.stat.DoubleMoments
- toString() - Method in class io.jenetics.stat.DoubleMomentStatistics
- toString() - Method in class io.jenetics.stat.DoubleSummary
- toString() - Method in class io.jenetics.stat.IntMoments
- toString() - Method in class io.jenetics.stat.IntMomentStatistics
- toString() - Method in class io.jenetics.stat.IntSummary
- toString() - Method in class io.jenetics.stat.LongMoments
- toString() - Method in class io.jenetics.stat.LongMomentStatistics
- toString() - Method in class io.jenetics.stat.LongSummary
- toString() - Method in class io.jenetics.stat.MinMax
- toString() - Method in class io.jenetics.stat.Quantile
- toString() - Method in class io.jenetics.StochasticUniversalSelector
- toString() - Method in class io.jenetics.TournamentSelector
- toString() - Method in class io.jenetics.TruncationSelector
- toString() - Method in class io.jenetics.util.CharSeq
- toString() - Method in class io.jenetics.util.DoubleRange
- toString() - Method in class io.jenetics.util.IntRange
- toString() - Method in class io.jenetics.util.LongRange
- toString() - Method in class io.jenetics.util.NanoClock
- toString(String) - Method in interface io.jenetics.util.Seq
-
Create a string representation of the given sequence.
- toString(String, String, String) - Method in interface io.jenetics.util.Seq
-
Create a string representation of the given sequence.
- totalGenerations() - Method in class io.jenetics.engine.EvolutionResult
-
Return the generation count evaluated so far.
- toUniquePopulation() - Static method in class io.jenetics.engine.EvolutionResult
-
Return a mapping function, which removes duplicate individuals from the population and replaces it with newly created one by the existing genotype factory.
- toUniquePopulation(int) - Static method in class io.jenetics.engine.EvolutionResult
-
Return a mapping function, which removes duplicate individuals from the population and replaces it with newly created one by the existing genotype factory.
- toUniquePopulation(Factory<Genotype<G>>) - Static method in class io.jenetics.engine.EvolutionResult
-
Return a mapping function, which removes duplicate individuals from the population and replaces it with newly created one by the given genotype
factory
. - toUniquePopulation(Factory<Genotype<G>>, int) - Static method in class io.jenetics.engine.EvolutionResult
-
Return a mapping function, which removes duplicate individuals from the population and replaces it with newly created one by the given genotype
factory
. - TournamentSelector<G extends Gene<?,G>,C extends Comparable<? super C>> - Class in io.jenetics
-
In tournament selection the best individual from a random sample of s individuals is chosen from the population Pg.
- TournamentSelector() - Constructor for class io.jenetics.TournamentSelector
-
Create a tournament selector with sample size two.
- TournamentSelector(int) - Constructor for class io.jenetics.TournamentSelector
-
Create a tournament selector with the give sample size.
- TournamentSelector(Comparator<? super Phenotype<G, C>>, int) - Constructor for class io.jenetics.TournamentSelector
-
Create a tournament selector with the give
comparator
and sample size. - TRUE - io.jenetics.BitGene
- TruncationSelector<G extends Gene<?,G>,C extends Comparable<? super C>> - Class in io.jenetics
-
In truncation selection individuals are sorted according to their fitness.
- TruncationSelector() - Constructor for class io.jenetics.TruncationSelector
-
Create a new TruncationSelector object.
- TruncationSelector(int) - Constructor for class io.jenetics.TruncationSelector
-
Create a new
TruncationSelector
object, where the worst selected individual has rankn
.
U
- UniformCrossover<G extends Gene<?,G>,C extends Comparable<? super C>> - Class in io.jenetics
-
The uniform crossover uses swaps single genes between two chromosomes, instead of whole ranges as in single- and multi-point 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.
- upcast(ISeq<B>) - Static method in interface io.jenetics.util.ISeq
-
Allows a safe (without compile warning) upcast from
B
toA
. - using(ThreadLocal<R>, Consumer<? super R>) - Static method in class io.jenetics.util.RandomRegistry
-
Executes the consumer code using the given
random
engine. - using(R, Consumer<? super R>) - Static method in class io.jenetics.util.RandomRegistry
-
Executes the consumer code using the given
random
engine.
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 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 io.jenetics.BitGene
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.jenetics.Optimize
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.jenetics.BitGene
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.jenetics.Optimize
-
Returns an array containing the constants of this enum type, in the order they are declared.
- variance() - Method in class io.jenetics.stat.DoubleMoments
-
Return the variance of values recorded, or
Double.NaN
if no values have been recorded. - variance() - Method in class io.jenetics.stat.IntMoments
-
Return the variance of values recorded, or
Double.NaN
if no values have been recorded. - variance() - Method in class io.jenetics.stat.LongMoments
-
Return the variance of values recorded, or
Double.NaN
if no values have been recorded. - Verifiable - Interface in io.jenetics.util
- 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(ThreadLocal<R>, Function<? super R, ? extends T>) - Static method in class io.jenetics.util.RandomRegistry
-
Opens a new
Scope
with the given random engine 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 engine 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 io.jenetics.Optimize
-
Return a
null
-friendly function which returns the worst element of two values. - worst(C, C) - Method in enum 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.
Z
- ZERO - Static variable in enum io.jenetics.BitGene
- ZERO - Static variable in 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.
- _genes - Variable in class io.jenetics.BitChromosome
-
The boolean array which holds the
BitGene
s. - _length - Variable in class io.jenetics.BitChromosome
-
The length of the chromosomes (number of bits).
- _p - Variable in class io.jenetics.BitChromosome
-
The ones probability of the randomly generated 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 All Packages