Module io.jenetics.base
Package io.jenetics.util
package io.jenetics.util
This package contains the collection classes (
Seq
,
ISeq
and MSeq
) which are
used in the public interfaces of the Chromosome
and
Genotype
. It also contains the RandomRegistry class,
which implements the global PRNG lookup, as well as helper IO classes for
serializing Genotypes and whole Populations.- Since:
- 1.0
- Version:
- 3.0
-
ClassDescriptionAccumulator<T,
A extends Accumulator<T, A, R>, R> This interface lets you accumulate elements of typeT
to a result of typeR
.BaseSeq<T>General base interface for an ordered, fixed sized, object sequence.This class is used for holding the valid characters of anCharacterGene
.Copyable<T>This interface indicates that a class can create a copy of typeT
.Double range class.Factory<T>Integer range class.Class for object serialization.ISeq<T>Immutable, ordered, fixed sized sequence.Long range class.Mean<T>A mixin interface for genes which can have a mean value.MSeq<T>Mutable, ordered, fixed sized sequence.Clock implementation with nano second precision.Ordered<T>Object wrapper, which makes the wrapped valueComparable
, by defining a separateComparator
.This sorting methods doesn't sort a given array directly, instead an index lookup array is returned which allows to access the array in a sorted order.The comparator used for comparing two array elements at the specified indexes.Some places in the Java API still require aRandom
object instead of the newRandomGenerator
.This class holds theRandomGenerator
engine used for the GA.This interface defines a recursive generic typeS
, which represents the type of the implementing class.Seq<T>General interface for a ordered, fixed sized, object sequence.This class allows creating a reactiveFlow.Publisher
from a given JavaStream
.This class contains factory methods for (flat) mapping stream elements.This interface lets you check an object for validity.