Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbstractTreeChromosome<A,
G extends AbstractTreeGene<A, G>> - Class in io.jenetics.ext -
Abstract base implementation of a
TreeChromosome
. - AbstractTreeChromosome(ISeq<? extends G>) - Constructor for class io.jenetics.ext.AbstractTreeChromosome
- AbstractTreeGene<A,
G extends AbstractTreeGene<A, G>> - Class in io.jenetics.ext -
Abstract implementation of the
TreeGene
interface.. - AbstractTreeGene(A, int, int) - Constructor for class io.jenetics.ext.AbstractTreeGene
-
Creates a new tree-gene from the given data.
- add(int) - Method in class io.jenetics.ext.internal.util.IntList
-
Appends the specified element to the end of this list.
- add(int, int) - Method in class io.jenetics.ext.internal.util.IntList
-
Inserts the specified element at the specified position in this list.
- add(int, Predicate<? super T>) - Method in class io.jenetics.ext.internal.util.FormulaParser.Builder.Bops
-
Add a new operator predicate with its precedence.
- add(int, T...) - Method in class io.jenetics.ext.internal.util.FormulaParser.Builder.Bops
-
Add a new operator tokens with its precedence.
- add(T) - Method in class io.jenetics.ext.moea.ParetoFront
-
Inserts an
element
to this pareto front. - addAll(int[]) - Method in class io.jenetics.ext.internal.util.IntList
-
Appends all of the elements in the specified array to the end of this list.
- addAll(int, int[]) - Method in class io.jenetics.ext.internal.util.IntList
-
Inserts all the elements in the specified array into this list, starting at the specified position.
- addAll(Collection<? extends T>) - Method in class io.jenetics.ext.moea.ParetoFront
-
Adds all elements of the given collection to
this
pareto front. - allele() - Method in class io.jenetics.ext.AbstractTreeGene
- allele() - Method in class io.jenetics.ext.BigIntegerGene
- alter(Seq<Phenotype<G, C>>, long) - Method in class io.jenetics.ext.WeaselMutator
- alternatives() - Method in record class io.jenetics.ext.grammar.Cfg.Rule
-
Returns the value of the
alternatives
record component. - append(Tree.Path) - Method in class io.jenetics.ext.util.Tree.Path
-
Appends the given
path
tothis
one. - apply(Engine.Builder<G, C>) - Method in class io.jenetics.ext.MLEvolutionStrategy
- apply(Engine.Builder<G, C>) - Method in class io.jenetics.ext.MpLEvolutionStrategy
- apply(Engine.Builder<G, C>) - Method in class io.jenetics.ext.WeaselProgram
- attach(TreeNode<T>) - Method in class io.jenetics.ext.util.TreeNode
-
Remove the given
child
from its parent and makes it a child of this node by adding it to the end of this node's child array. - attach(T) - Method in class io.jenetics.ext.util.TreeNode
-
Attaches the given
child
tothis
node. - attach(T...) - Method in class io.jenetics.ext.util.TreeNode
-
Attaches the given
children
tothis
node.
B
- BigIntegerChromosome - Class in io.jenetics.ext
-
Numeric chromosome implementation which holds arbitrary sized integer numbers.
- BigIntegerChromosome(ISeq<BigIntegerGene>) - Constructor for class io.jenetics.ext.BigIntegerChromosome
-
Create a new chromosome from the given genes array.
- BigIntegerChromosome(BigInteger, BigInteger) - Constructor for class io.jenetics.ext.BigIntegerChromosome
-
Create a new random
DoubleChromosome
of length one. - BigIntegerChromosome(BigInteger, BigInteger, int) - Constructor for class io.jenetics.ext.BigIntegerChromosome
-
Create a new random
BigIntegerChromosome
with the givenlength
. - BigIntegerGene - Class in io.jenetics.ext
-
Numeric chromosome implementation which holds an arbitrary sized integer number.
- BINARY_OPERATOR - Enum constant in enum class io.jenetics.ext.internal.util.FormulaParser.TokenType
-
Indicates a binary operator.
- binaryOperators(Consumer<? super FormulaParser.Builder.Bops<T>>) - Method in class io.jenetics.ext.internal.util.FormulaParser.Builder
-
Method for defining the binary operators and its precedence.
- binaryOperators(Predicate<? super T>...) - Method in class io.jenetics.ext.internal.util.FormulaParser.Builder
-
Set the list of predicates which defines the binary ops.
- binaryOperators(List<? extends Predicate<? super T>>) - Method in class io.jenetics.ext.internal.util.FormulaParser.Builder
-
Set the list of predicates which defines the binary ops.
- bind(BaseSeq<G>) - Method in class io.jenetics.ext.AbstractTreeGene
-
This method is used by the
AbstractTreeChromosome
to attach itself to this gene. - Bnf - Class in io.jenetics.ext.grammar
-
This class contains methods for parsing and formatting context-free grammars in BNF format.
- breadthFirstIterator() - Method in class io.jenetics.ext.util.FlatTreeNode
- breadthFirstIterator() - Method in interface io.jenetics.ext.util.Tree
-
Return an iterator that traverses the subtree rooted at
this
node in breadth-first order. - breadthFirstStream() - Method in class io.jenetics.ext.util.FlatTreeNode
- breadthFirstStream() - Method in interface io.jenetics.ext.util.Tree
-
Return a stream that traverses the subtree rooted at
this
node in breadth-first order. - build() - Method in class io.jenetics.ext.internal.util.FormulaParser.Builder
-
Create a new formula parser with the defined values.
- builder() - Static method in class io.jenetics.ext.internal.util.FormulaParser
-
Return a new builder class for building new formula parsers.
C
- c - Variable in class io.jenetics.ext.internal.parser.CharSequenceTokenizer
- Cfg<T> - Record Class in io.jenetics.ext.grammar
-
Represents a context-free grammar (CFG).
- Cfg(List<Cfg.NonTerminal<T>>, List<Cfg.Terminal<T>>, List<Cfg.Rule<T>>, Cfg.NonTerminal<T>) - Constructor for record class io.jenetics.ext.grammar.Cfg
-
Create a new context-free grammar object.
- Cfg.Expression<T> - Record Class in io.jenetics.ext.grammar
-
Represents one expression (list of alternative symbols) a production rule consists of.
- Cfg.NonTerminal<T> - Record Class in io.jenetics.ext.grammar
-
Represents the non-terminal symbols of the grammar (
NT
). - Cfg.Rule<T> - Record Class in io.jenetics.ext.grammar
-
Represents a production rule of the grammar (
R
). - Cfg.Symbol<T> - Interface in io.jenetics.ext.grammar
-
Represents the symbols the BNF grammar consists.
- Cfg.Terminal<T> - Record Class in io.jenetics.ext.grammar
-
Represents a terminal symbols of the grammar (
T
). - characteristics() - Method in class io.jenetics.ext.internal.util.ConcatSpliterator
- characteristics() - Method in class io.jenetics.ext.internal.util.CyclicSpliterator
- characteristics() - Method in class io.jenetics.ext.internal.util.GeneratorSpliterator
- CharSequenceTokenizer - Class in io.jenetics.ext.internal.parser
-
Base class for all tokenizers.
- CharSequenceTokenizer(CharSequence) - Constructor for class io.jenetics.ext.internal.parser.CharSequenceTokenizer
-
Create a new tokenizer from the given character sequence.
- checkTreeState() - Method in class io.jenetics.ext.AbstractTreeGene
- childAfter(Tree<?, ?>) - Method in interface io.jenetics.ext.util.Tree
-
Return the child which comes immediately after
this
node. - childAt(int) - Method in class io.jenetics.ext.AbstractTreeGene
-
Return the child gene with the given index.
- childAt(int) - Method in class io.jenetics.ext.util.FlatTreeNode
- childAt(int) - Method in interface io.jenetics.ext.util.Tree
-
Return the child node with the given index.
- childAt(int) - Method in class io.jenetics.ext.util.TreeNode
-
Returns the child at the specified index in this node's child array.
- childAtPath(int...) - Method in interface io.jenetics.ext.util.Tree
-
Return the child node at the given
path
. - childAtPath(Tree.Path) - Method in interface io.jenetics.ext.util.Tree
-
Return the child node at the given
path
. - childBefore(Tree<?, ?>) - Method in interface io.jenetics.ext.util.Tree
-
Return the child which comes immediately before
this
node. - childCount() - Method in class io.jenetics.ext.AbstractTreeGene
- childCount() - Method in class io.jenetics.ext.util.FlatTreeNode
- childCount() - Method in interface io.jenetics.ext.util.Tree
-
Return the number of children this tree node consists of.
- childCount() - Method in class io.jenetics.ext.util.TreeNode
- childIterator() - Method in interface io.jenetics.ext.util.Tree
-
Return an iterator of the children of this
Tree
node. - childIterator() - Method in class io.jenetics.ext.util.TreeNode
- childOffset() - Method in class io.jenetics.ext.AbstractTreeGene
- childOffset() - Method in interface io.jenetics.ext.util.FlatTree
-
Return the index of the first child node in the underlying node array.
- childOffset() - Method in class io.jenetics.ext.util.FlatTreeNode
-
Return the index of the first child node in the underlying node array.
- childPath() - Method in interface io.jenetics.ext.util.Tree
-
Return the path of
this
child node from the root node. - childStream() - Method in interface io.jenetics.ext.util.Tree
-
Return a forward-order stream of this node's children.
- childStream() - Method in class io.jenetics.ext.util.TreeNode
- clear() - Method in class io.jenetics.ext.internal.util.IntList
-
Removes all of the elements from this list.
- code() - Method in interface io.jenetics.ext.internal.parser.Token.Type
-
Return the type code, which uniquely identifies the token type.
- Codons - Class in io.jenetics.ext.grammar
-
Represents a mapping of a finite set of integers to symbol indexes.
- Codons(IntUnaryOperator, int) - Constructor for class io.jenetics.ext.grammar.Codons
-
Create a new
Codons
object from a givencodons
source and itslength
. - comparator() - Method in interface io.jenetics.ext.moea.Vec
-
Return the comparator for comparing the elements of this MO vector.
- compare(Vec<T>, int) - Method in interface io.jenetics.ext.moea.Vec
-
Compares the
this
vector with theother
at the given componentindex
. - compare(V, V, int) - Method in interface io.jenetics.ext.moea.ElementComparator
-
Compares the components of
a
andb
at the givenindex
. - compareTo(Vec<T>) - Method in interface io.jenetics.ext.moea.Vec
-
The default implementation uses the
Vec.dominance(Vec)
function for defining a partial order of two vectors. - compareTo(TreePattern.Var<V>) - Method in record class io.jenetics.ext.rewriting.TreePattern.Var
- compareTo(Tree.Path) - Method in class io.jenetics.ext.util.Tree.Path
- compile(String) - Static method in class io.jenetics.ext.rewriting.TreePattern
-
Compiles the given tree pattern string.
- compile(String, Function<? super String, ? extends V>) - Static method in class io.jenetics.ext.rewriting.TreePattern
-
Compiles the given tree pattern string.
- concat(TreeRewriter<V>...) - Static method in interface io.jenetics.ext.rewriting.TreeRewriter
-
Concat the given
rewriters
to one tree-rewriter. - ConcatEngine<G extends Gene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics.ext.engine -
The
ConcatEngine
lets you concatenate two (or more) evolutionEngine
, with different configurations, and let it use as one engineEvolutionStreamable
. - ConcatEngine(List<? extends EvolutionStreamable<G, C>>) - Constructor for class io.jenetics.ext.engine.ConcatEngine
-
Create a new concatenating evolution engine with the given list of engines.
- ConcatSpliterator<T> - Class in io.jenetics.ext.internal.util
-
This
Spliterator
takes a list of other spliterators which are concatenated and a limiting predicate. - ConcatSpliterator(Collection<Spliterator<T>>) - Constructor for class io.jenetics.ext.internal.util.ConcatSpliterator
-
Create a new concatenating spliterator with the given arguments.
- consume() - Method in class io.jenetics.ext.internal.parser.CharSequenceTokenizer
- consume() - Method in class io.jenetics.ext.internal.parser.Parser
-
Consumes the next token.
- contiguity() - Method in class io.jenetics.ext.SimulatedBinaryCrossover
-
Return the contiguity value of the crossover.
- convert(T, FormulaParser.TokenType) - Method in interface io.jenetics.ext.internal.util.FormulaParser.TokenConverter
-
Convert the given
token
into another value. - copy() - Method in class io.jenetics.ext.util.TreeNode
- crossover(TreeNode<A>, TreeNode<A>) - Method in class io.jenetics.ext.SingleNodeCrossover
- crossover(TreeNode<A>, TreeNode<A>) - Method in class io.jenetics.ext.TreeCrossover
-
Template method which performs the crossover.
- crossover(MSeq<G>, MSeq<G>) - Method in class io.jenetics.ext.SimulatedBinaryCrossover
- crowdingDistance(BaseSeq<? extends Vec<T>>) - Static method in class io.jenetics.ext.moea.Pareto
-
The crowding distance value of a solution provides an estimate of the density of solutions surrounding that solution.
- crowdingDistance(BaseSeq<? extends T>, ElementComparator<? super T>, ElementDistance<? super T>, ToIntFunction<? super T>) - Static method in class io.jenetics.ext.moea.Pareto
-
The crowding distance value of a solution provides an estimate of the density of solutions surrounding that solution.
- CyclicEngine<G extends Gene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics.ext.engine -
The
CyclicEngine
lets you concatenate two (or more) evolutionEngine
, with different configurations, and let it use as one engineEvolutionStreamable
. - CyclicEngine(List<? extends EvolutionStreamable<G, C>>) - Constructor for class io.jenetics.ext.engine.CyclicEngine
-
Create a new cycling evolution engine with the given list of
engines
. - CyclicSpliterator<T> - Class in io.jenetics.ext.internal.util
- CyclicSpliterator(List<Supplier<Spliterator<T>>>) - Constructor for class io.jenetics.ext.internal.util.CyclicSpliterator
D
- data() - Method in interface io.jenetics.ext.moea.Vec
-
Return the underlying data structure.
- depth() - Method in interface io.jenetics.ext.util.Tree
-
Returns the depth of the tree rooted at this node.
- depthFirstIterator() - Method in interface io.jenetics.ext.util.Tree
-
Return an iterator that traverses the subtree rooted at
this
node in depth-first order. - depthFirstStream() - Method in interface io.jenetics.ext.util.Tree
-
Return a stream that traverses the subtree rooted at
this
node in depth-first. - DerivationTreeGenerator<T> - Class in io.jenetics.ext.grammar
-
Standard implementation of a derivation-tree generator.
- DerivationTreeGenerator(SymbolIndex, int) - Constructor for class io.jenetics.ext.grammar.DerivationTreeGenerator
-
Create a new derivation tree generator from the given parameters.
- detach() - Method in class io.jenetics.ext.util.TreeNode
-
Detaches the subtree rooted at
this
node from the tree, givingthis
node anull
parent. - distance() - Method in interface io.jenetics.ext.moea.Vec
-
Return a function which calculates the element distance of a vector at a given element index.
- distance(Vec<T>, int) - Method in interface io.jenetics.ext.moea.Vec
-
Calculates the distance between two vector elements at the given
index
. - distance(V, V, int) - Method in interface io.jenetics.ext.moea.ElementDistance
-
Calculates the distance of two vector elements at the given
index
. - dominance() - Method in interface io.jenetics.ext.moea.Vec
-
Return the comparator which defines the (Pareto) dominance measure.
- dominance(double[], double[]) - Static method in class io.jenetics.ext.moea.Pareto
-
Calculates the Pareto Dominance of the two vectors u and v.
- dominance(double[], double[]) - Static method in interface io.jenetics.ext.moea.Vec
-
Calculates the Pareto Dominance of the two vectors u and v.
- dominance(int[], int[]) - Static method in class io.jenetics.ext.moea.Pareto
-
Calculates the Pareto Dominance of the two vectors u and v.
- dominance(int[], int[]) - Static method in interface io.jenetics.ext.moea.Vec
-
Calculates the Pareto Dominance of the two vectors u and v.
- dominance(long[], long[]) - Static method in class io.jenetics.ext.moea.Pareto
-
Calculates the Pareto Dominance of the two vectors u and v.
- dominance(long[], long[]) - Static method in interface io.jenetics.ext.moea.Vec
-
Calculates the Pareto Dominance of the two vectors u and v.
- dominance(C[], C[]) - Static method in class io.jenetics.ext.moea.Pareto
-
Calculates the Pareto Dominance of the two vectors u and v.
- dominance(C[], C[]) - Static method in interface io.jenetics.ext.moea.Vec
-
Calculates the Pareto Dominance of the two vectors u and v.
- dominance(Vec<T>) - Method in interface io.jenetics.ext.moea.Vec
- dominance(T[], T[], Comparator<? super T>) - Static method in class io.jenetics.ext.moea.Pareto
-
Calculates the Pareto Dominance of the two vectors u and v.
- dominance(T[], T[], Comparator<? super T>) - Static method in interface io.jenetics.ext.moea.Vec
-
Calculates the Pareto Dominance of the two vectors u and v.
- dominance(V, V, int, ElementComparator<? super V>) - Static method in class io.jenetics.ext.moea.Pareto
-
Calculates the Pareto Dominance of the two vectors u and v.
- dot(String) - Static method in class io.jenetics.ext.util.TreeFormatter
-
A tree formatter for .dot string representations.
- DOT - Static variable in class io.jenetics.ext.util.TreeFormatter
-
A tree formatter for .dot string representations.
E
- E(Cfg.Symbol<T>...) - Static method in record class io.jenetics.ext.grammar.Cfg
-
Factory method for creating an expression with the given
symbols
. - ElementComparator<V> - Interface in io.jenetics.ext.moea
-
Defines the order of two elements of a given vector type
V
. - ElementDistance<V> - Interface in io.jenetics.ext.moea
-
Defines the distance of two elements of a given vector type
V
. - EOF - Static variable in interface io.jenetics.ext.internal.parser.Token.Type
-
The common end of file token type.
- equals(Tree<?, ?>, Tree<?, ?>) - Static method in interface io.jenetics.ext.util.Tree
-
Checks if the two given trees has the same structure with the same values.
- equals(Object) - Method in class io.jenetics.ext.AbstractTreeGene
- equals(Object) - Method in class io.jenetics.ext.BigIntegerGene
- equals(Object) - Method in record class io.jenetics.ext.grammar.Cfg
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.jenetics.ext.grammar.Cfg.Expression
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.jenetics.ext.grammar.Cfg.NonTerminal
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.jenetics.ext.grammar.Cfg.Rule
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.jenetics.ext.grammar.Cfg.Terminal
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.jenetics.ext.internal.parser.Token
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class io.jenetics.ext.rewriting.TreeMatchResult
- equals(Object) - Method in class io.jenetics.ext.rewriting.TreePattern
- equals(Object) - Method in record class io.jenetics.ext.rewriting.TreePattern.Val
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.jenetics.ext.rewriting.TreePattern.Var
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class io.jenetics.ext.rewriting.TreeRewriteRule
- equals(Object) - Method in class io.jenetics.ext.rewriting.TRS
- equals(Object) - Method in class io.jenetics.ext.util.FlatTreeNode
- equals(Object) - Method in class io.jenetics.ext.util.Tree.Path
- equals(Object) - Method in class io.jenetics.ext.util.TreeNode
- escape(CharSequence) - Method in class io.jenetics.ext.internal.util.Escaper
- Escaper - Class in io.jenetics.ext.internal.util
- Escaper(char, char...) - Constructor for class io.jenetics.ext.internal.util.Escaper
- estimateSize() - Method in class io.jenetics.ext.internal.util.ConcatSpliterator
- estimateSize() - Method in class io.jenetics.ext.internal.util.CyclicSpliterator
- estimateSize() - Method in class io.jenetics.ext.internal.util.GeneratorSpliterator
- expand(Map<TreePattern.Var<V>, Tree<V, ?>>) - Method in class io.jenetics.ext.rewriting.TreePattern
-
Expands
this
pattern with the given variable mapping. - Expression(List<Cfg.Symbol<T>>) - Constructor for record class io.jenetics.ext.grammar.Cfg.Expression
-
Creates an instance of a
Expression
record class.
F
- firstChild() - Method in interface io.jenetics.ext.util.Tree
-
Return the first child of
this
node, orOptional.empty()
ifthis
node has no children. - firstLeaf() - Method in interface io.jenetics.ext.util.Tree
-
Return the first leaf that is a descendant of
this
node; either this node or its first child's first leaf. - flattenedNodes() - Method in class io.jenetics.ext.AbstractTreeGene
-
Return the whole flattened tree values in breadth-first order.
- flattenedNodes() - Method in interface io.jenetics.ext.util.FlatTree
-
Return the whole flattened tree values in breadth-first order.
- flattenedNodes() - Method in class io.jenetics.ext.util.FlatTreeNode
- FlatTree<V,
T extends FlatTree<V, T>> - Interface in io.jenetics.ext.util -
Tree specification, where the nodes of the whole tree are stored in an array.
- FlatTreeNode<V> - Class in io.jenetics.ext.util
-
Default implementation of the
FlatTree
interface. - forEach(IntConsumer) - Method in class io.jenetics.ext.internal.util.IntList
-
Performs the given action for each element of the list.
- format(Cfg<?>) - Static method in class io.jenetics.ext.grammar.Bnf
-
Formats the given CFG as BNF grammar string.
- format(Tree<?, ?>) - Method in class io.jenetics.ext.util.TreeFormatter
-
Formats the given
tree
to its string representation. - format(Tree<V, ?>, Function<? super V, ? extends CharSequence>) - Method in class io.jenetics.ext.util.TreeFormatter
-
Formats the given
tree
to its string representation. - FormulaParser<T> - Class in io.jenetics.ext.internal.util
-
This class allows you to convert a sequence of tokens, which represents some kind of (mathematical) formula, into a tree structure.
- FormulaParser.Builder<T> - Class in io.jenetics.ext.internal.util
-
Builder for building new
FormulaParser
instances. - FormulaParser.Builder.Bops<T> - Class in io.jenetics.ext.internal.util
-
Builder class for building binary operators with its precedence.
- FormulaParser.TokenConverter<T,
V> - Interface in io.jenetics.ext.internal.util -
Conversion function which is used for converting tokens into another type.
- FormulaParser.TokenType - Enum Class in io.jenetics.ext.internal.util
-
The token types the parser recognizes during the parsing process.
- front(BaseSeq<? extends Vec<T>>) - Static method in class io.jenetics.ext.moea.Pareto
-
Return the elements, from the given input
set
, which are part of the pareto front. - front(BaseSeq<? extends T>, Comparator<? super T>) - Static method in class io.jenetics.ext.moea.Pareto
-
Return the elements, from the given input
set
, which are part of the pareto front. - FUNCTION - Enum constant in enum class io.jenetics.ext.internal.util.FormulaParser.TokenType
-
Indicates a function token.
- functions(Predicate<? super T>) - Method in class io.jenetics.ext.internal.util.FormulaParser.Builder
-
Set the predicate which defines function tokens.
- functions(Set<? extends T>) - Method in class io.jenetics.ext.internal.util.FormulaParser.Builder
-
Set all functions tokens.
- functions(T...) - Method in class io.jenetics.ext.internal.util.FormulaParser.Builder
-
Set all functions tokens.
G
- generate(Cfg<? extends T>) - Method in class io.jenetics.ext.grammar.DerivationTreeGenerator
-
Generates a new derivation tree from the given grammar, cfg.
- generate(Cfg<? extends T>) - Method in interface io.jenetics.ext.grammar.Generator
-
Generates a new sentence from the given grammar.
- generate(Cfg<? extends T>) - Method in class io.jenetics.ext.grammar.SentenceGenerator
-
Generates a new sentence from the given grammar, cfg.
- Generator<T,
R> - Interface in io.jenetics.ext.grammar -
Generator interface for generating sentences/derivation trees from a given grammar.
- GeneratorSpliterator<T> - Class in io.jenetics.ext.internal.util
- GeneratorSpliterator(Function<? super T, ? extends Spliterator<T>>) - Constructor for class io.jenetics.ext.internal.util.GeneratorSpliterator
- get(int) - Method in class io.jenetics.ext.internal.util.IntList
-
Returns the element at the specified position in this list.
- get(int) - Method in class io.jenetics.ext.util.Tree.Path
-
Return the child index at the given index (child level).
H
- hashCode() - Method in class io.jenetics.ext.AbstractTreeGene
- hashCode() - Method in class io.jenetics.ext.BigIntegerGene
- hashCode() - Method in record class io.jenetics.ext.grammar.Cfg.Expression
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.jenetics.ext.grammar.Cfg
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.jenetics.ext.grammar.Cfg.NonTerminal
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.jenetics.ext.grammar.Cfg.Rule
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.jenetics.ext.grammar.Cfg.Terminal
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.jenetics.ext.internal.parser.Token
-
Returns a hash code value for this object.
- hashCode() - Method in class io.jenetics.ext.rewriting.TreeMatchResult
- hashCode() - Method in class io.jenetics.ext.rewriting.TreePattern
- hashCode() - Method in record class io.jenetics.ext.rewriting.TreePattern.Val
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.jenetics.ext.rewriting.TreePattern.Var
-
Returns a hash code value for this object.
- hashCode() - Method in class io.jenetics.ext.rewriting.TreeRewriteRule
- hashCode() - Method in class io.jenetics.ext.rewriting.TRS
- hashCode() - Method in class io.jenetics.ext.util.FlatTreeNode
- hashCode() - Method in class io.jenetics.ext.util.Tree.Path
- hashCode() - Method in class io.jenetics.ext.util.TreeNode
- hashCode(Tree<?, ?>) - Static method in interface io.jenetics.ext.util.Tree
-
Calculates the hash code of the given tree.
- HPRMutator<G extends Gene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics.ext -
The Hybridizing PSM and RSM Operator (HPRM) constructs an offspring from a pair of parents by hybridizing two mutation operators, PSM and RSM.
- HPRMutator() - Constructor for class io.jenetics.ext.HPRMutator
-
Default constructor, with default mutation probability (
Alterer.DEFAULT_ALTER_PROBABILITY
). - HPRMutator(double) - Constructor for class io.jenetics.ext.HPRMutator
-
Constructs an alterer with a given recombination probability.
I
- identical(Tree<?, ?>) - Method in class io.jenetics.ext.util.FlatTreeNode
- identical(Tree<?, ?>) - Method in interface io.jenetics.ext.util.Tree
-
Tests whether
this
node is the same as theother
node. - IDENTIFIER - Enum constant in enum class io.jenetics.ext.internal.util.FormulaParser.TokenType
-
Indicates an identifier token.
- identifiers(Predicate<? super T>) - Method in class io.jenetics.ext.internal.util.FormulaParser.Builder
-
Set the predicate which defines identifier tokens.
- identifiers(Set<? extends T>) - Method in class io.jenetics.ext.internal.util.FormulaParser.Builder
-
Set all identifier tokens.
- identifiers(T...) - Method in class io.jenetics.ext.internal.util.FormulaParser.Builder
-
Set all identifier tokens.
- indexOf(Tree<?, ?>) - Method in interface io.jenetics.ext.util.Tree
-
Returns the index of the specified child in this node's child array, or
-1
ifthis
node doesn't contain the givenchild
. - insert(int, TreeNode<T>) - Method in class io.jenetics.ext.util.TreeNode
-
Removes the
child
from its present parent (if it has one), sets the child's parent to this node, and then adds the child to this node's child array at indexindex
. - IntList - Class in io.jenetics.ext.internal.util
-
Resizable-int array implementation
- IntList() - Constructor for class io.jenetics.ext.internal.util.IntList
-
Constructs an empty list with an initial capacity of ten.
- IntList(int) - Constructor for class io.jenetics.ext.internal.util.IntList
-
Constructs an empty list with the specified initial capacity.
- io.jenetics.ext - module io.jenetics.ext
- io.jenetics.ext - package io.jenetics.ext
-
This package contains additional genes/chromosomes and GA operators.
- io.jenetics.ext.engine - package io.jenetics.ext.engine
-
This package contains classes, which allows to concatenate evolution
Engine
s with different configurations. - io.jenetics.ext.grammar - package io.jenetics.ext.grammar
-
This package contains classes for doing Grammatical Evolution.
- io.jenetics.ext.internal.parser - package io.jenetics.ext.internal.parser
- io.jenetics.ext.internal.util - package io.jenetics.ext.internal.util
- io.jenetics.ext.moea - package io.jenetics.ext.moea
-
This package contains classes which allow to do multi-object optimization with Jenetics.
- io.jenetics.ext.rewriting - package io.jenetics.ext.rewriting
-
This package contains the implementation of a Tree (Term) Rewrite System.
- io.jenetics.ext.util - package io.jenetics.ext.util
-
This package contains data-structures needed by the GA specific implementations.
- isAlphabetic(char) - Static method in class io.jenetics.ext.internal.parser.CharSequenceTokenizer
- isAncestor(Tree<?, ?>) - Method in interface io.jenetics.ext.util.Tree
-
Return
true
if the givennode
is an ancestor ofthis
node. - isChild(Tree<?, ?>) - Method in interface io.jenetics.ext.util.Tree
-
Return
true
if the givennode
is a child ofthis
node. - isDescendant(Tree<?, ?>) - Method in interface io.jenetics.ext.util.Tree
-
Return
true
if the givennode
is a descendant ofthis
node. - isEmpty() - Method in class io.jenetics.ext.internal.util.IntList
-
Return
true
if the list is empty. - isEmpty() - Method in class io.jenetics.ext.moea.ParetoFront
- isEmpty() - Method in interface io.jenetics.ext.util.Tree
-
A tree is considered empty if it's
Tree.value()
isnull
and has no children and parent. - isIdentifier(String) - Static method in class io.jenetics.ext.internal.util.Names
-
Checks whether the given
name
is a valid (Java) identifier. - isLeaf() - Method in interface io.jenetics.ext.util.Tree
-
Return
true
ifthis
node has no children. - isNonEof(char) - Static method in class io.jenetics.ext.internal.parser.CharSequenceTokenizer
- isRelated(Tree<?, ?>) - Method in interface io.jenetics.ext.util.Tree
-
Returns true if and only if the given
node
is in the same tree asthis
node. - isRoot() - Method in class io.jenetics.ext.AbstractTreeGene
- isRoot() - Method in class io.jenetics.ext.util.FlatTreeNode
- isRoot() - Method in interface io.jenetics.ext.util.Tree
-
Returns
true
if this node is the root of the tree. - isSibling(Tree<?, ?>) - Method in interface io.jenetics.ext.util.Tree
-
Test if the given
node
is a sibling ofthis
node. - isValid() - Method in class io.jenetics.ext.AbstractTreeGene
- iterator() - Method in class io.jenetics.ext.moea.ParetoFront
- iterator() - Method in interface io.jenetics.ext.util.Tree
-
Return an iterator that traverses the subtree rooted at
this
.
L
- LA(int) - Method in class io.jenetics.ext.internal.parser.CharSequenceTokenizer
- LA(int) - Method in class io.jenetics.ext.internal.parser.TokenParser
-
Return the token type code for the given lookahead index.
- lastChild() - Method in interface io.jenetics.ext.util.Tree
-
Return the last child of
this
node, orOptional.empty()
ifthis
node has no children. - lastLeaf() - Method in interface io.jenetics.ext.util.Tree
-
Return the last leaf that is a descendant of this node; either
this
node or its last child's last leaf. - leafCount() - Method in interface io.jenetics.ext.util.Tree
-
Returns the total number of leaves that are descendants of this node.
- leaves() - Method in interface io.jenetics.ext.util.Tree
-
Return a stream of leaves that are descendants of this node.
- left() - Method in class io.jenetics.ext.rewriting.TreeRewriteRule
-
Return the rule matching pattern.
- LEFT_MOST - Enum constant in enum class io.jenetics.ext.grammar.SentenceGenerator.Expansion
-
The symbol replacement always starting from the leftmost nonterminal as described in Grammatical Evolution.
- LEFT_TO_RIGHT - Enum constant in enum class io.jenetics.ext.grammar.SentenceGenerator.Expansion
-
The symbol replacement is performed from left to right and is repeated until all non-terminal symbols have been expanded.
- length() - Method in interface io.jenetics.ext.moea.Vec
-
Return the number of vector elements.
- length() - Method in class io.jenetics.ext.util.Tree.Path
-
Return the path length, which is the level of the child
this
path points to. - level() - Method in interface io.jenetics.ext.util.Tree
-
Returns the number of levels above this node.
- LISP - Static variable in class io.jenetics.ext.util.TreeFormatter
-
Formats a given tree to a lisp string representation.
- lparen(Predicate<? super T>) - Method in class io.jenetics.ext.internal.util.FormulaParser.Builder
-
Set the predicate which defines
lparen
tokens. - lparen(T) - Method in class io.jenetics.ext.internal.util.FormulaParser.Builder
-
Set the prototype for the
lparen
token. - LT(int) - Method in class io.jenetics.ext.internal.parser.Parser
-
Return the lookahead token with the given index.
M
- map(Function<? super Cfg.Terminal<T>, ? extends A>) - Method in record class io.jenetics.ext.grammar.Cfg
-
Maps the values of the terminal symbols from type
T
to typeA
. - map(Function<? super FlatTreeNode<V>, ? extends B>) - Method in class io.jenetics.ext.util.FlatTreeNode
-
Return a sequence of all mapped nodes of the whole underlying tree.
- map(Function<? super R, ? extends R1>) - Method in interface io.jenetics.ext.grammar.Generator
-
Maps the generated result from type
R
to typeR1
. - map(Function<? super T, ? extends B>) - Method in class io.jenetics.ext.util.TreeNode
-
Returns a new
TreeNode
consisting of all nodes ofthis
tree, but with a different value type, created by applying the given function to the node values ofthis
tree. - map(Function<? super T, ? extends V>) - Method in interface io.jenetics.ext.moea.ElementComparator
-
Return an element comparator for the mapped type
T
. - map(Function<? super T, ? extends V>) - Method in interface io.jenetics.ext.moea.ElementDistance
-
Return an element distance function for the mapped type
T
. - map(Function<? super V, ? extends B>) - Method in interface io.jenetics.ext.rewriting.TreePattern.Decl
-
Returns a new
TreePattern.Decl
object with the mapped typeB
. - map(Function<? super V, ? extends B>) - Method in class io.jenetics.ext.rewriting.TreePattern
-
Maps
this
tree-pattern from typeV
to typeB
. - map(Function<? super V, ? extends B>) - Method in record class io.jenetics.ext.rewriting.TreePattern.Val
- map(Function<? super V, ? extends B>) - Method in record class io.jenetics.ext.rewriting.TreePattern.Var
- map(Function<? super V, ? extends B>) - Method in class io.jenetics.ext.rewriting.TreeRewriteRule
-
Maps
this
rewrite rule from typeV
to typeB
. - map(Function<? super V, ? extends B>) - Method in class io.jenetics.ext.rewriting.TRS
-
Maps
this
TRS from typeV
to typeB
. - Mappers - Class in io.jenetics.ext.grammar
-
This class defines factories for different CFG ↔ Chromosome mappings (encodings).
- match(char) - Method in class io.jenetics.ext.internal.parser.CharSequenceTokenizer
- match(Token.Type) - Method in class io.jenetics.ext.internal.parser.TokenParser
-
Try to match and consume the next token of the given
type
. - match(Tree<V, ?>) - Method in class io.jenetics.ext.rewriting.TreePattern
-
Try to match the given
tree
againstthis
pattern. - match(Predicate<? super T>) - Method in class io.jenetics.ext.internal.parser.Parser
-
Try to match and consume the next token of the given
type
. - matcher(Tree<V, ?>) - Method in class io.jenetics.ext.rewriting.TreePattern
-
Creates a matcher that will match the given input tree against
this
pattern. - matches() - Method in class io.jenetics.ext.rewriting.TreeMatcher
-
Tests if the tree matches the pattern.
- matches(Tree<V, ?>) - Method in class io.jenetics.ext.rewriting.TreePattern
-
Tests whether the given input
tree
matchesthis
pattern. - max() - Method in class io.jenetics.ext.BigIntegerChromosome
- max() - Method in class io.jenetics.ext.BigIntegerGene
- mean(BigIntegerGene) - Method in class io.jenetics.ext.BigIntegerGene
- merge(ParetoFront<? extends T>) - Method in class io.jenetics.ext.moea.ParetoFront
-
Add the all
elements
tothis
pareto-set. - min() - Method in class io.jenetics.ext.BigIntegerChromosome
- min() - Method in class io.jenetics.ext.BigIntegerGene
- MLEvolutionStrategy<G extends Gene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics.ext -
Setup for a (μ, λ)-Evolution Strategy.
- MLEvolutionStrategy(int, int) - Constructor for class io.jenetics.ext.MLEvolutionStrategy
-
Create a new (μ, λ)-Evolution Strategy with the given parameters.
- MLEvolutionStrategy(int, int, double) - Constructor for class io.jenetics.ext.MLEvolutionStrategy
-
Create a new (μ, λ)-Evolution Strategy with the given parameters.
- MOEA - Class in io.jenetics.ext.moea
-
Collectors for collecting final pareto-set for multi-objective optimization.
- MpLEvolutionStrategy<G extends Gene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics.ext -
Setup for a (μ + λ)-Evolution Strategy.
- MpLEvolutionStrategy(int, int) - Constructor for class io.jenetics.ext.MpLEvolutionStrategy
-
Create a new (μ + λ)-Evolution Strategy with the given parameters.
- MpLEvolutionStrategy(int, int, double) - Constructor for class io.jenetics.ext.MpLEvolutionStrategy
-
Create a new (μ + λ)-Evolution Strategy with the given parameters.
- multiIntegerChromosomeMapper(Cfg<? extends T>, Function<? super Cfg.Rule<?>, IntRange>, Function<? super SymbolIndex, ? extends Generator<T, R>>) - Static method in class io.jenetics.ext.grammar.Mappers
-
Codec for creating results from a given grammar.
- mutate(Chromosome<G>, double, RandomGenerator) - Method in class io.jenetics.ext.HPRMutator
- mutate(Chromosome<G>, double, RandomGenerator) - Method in class io.jenetics.ext.RSMutator
- mutate(Chromosome<G>, double, RandomGenerator) - Method in class io.jenetics.ext.TreeMutator
-
Mutates the given chromosome.
- mutate(TreeNode<A>) - Method in class io.jenetics.ext.TreeMutator
-
This method does the actual mutating, in place.
- mutate(TreeNode<A>) - Method in class io.jenetics.ext.TreeRewriteAlterer
-
Performs the actual tree rewriting.
- mutate(Genotype<G>, double, RandomGenerator) - Method in class io.jenetics.ext.WeaselMutator
N
- N(String) - Static method in record class io.jenetics.ext.grammar.Cfg
-
Factory method for creating non-terminal symbols.
- name() - Method in record class io.jenetics.ext.grammar.Cfg.NonTerminal
-
Returns the value of the
name
record component. - name() - Method in interface io.jenetics.ext.grammar.Cfg.Symbol
-
Return the name of the symbol.
- name() - Method in record class io.jenetics.ext.grammar.Cfg.Terminal
-
Returns the value of the
name
record component. - name() - Method in interface io.jenetics.ext.internal.parser.Token.Type
-
Return the name of the token.
- name() - Method in record class io.jenetics.ext.rewriting.TreePattern.Var
-
Returns the value of the
name
record component. - Names - Class in io.jenetics.ext.internal.util
- newInstance() - Method in class io.jenetics.ext.BigIntegerChromosome
- newInstance() - Method in class io.jenetics.ext.BigIntegerGene
- newInstance(A, int, int) - Method in interface io.jenetics.ext.TreeGene
-
Return a new tree gene with the given allele and the local tree structure.
- newInstance(FlatTree<? extends A, ?>) - Method in interface io.jenetics.ext.TreeGene
-
Return a new tree gene from the given flat tree node.
- newInstance(ISeq<BigIntegerGene>) - Method in class io.jenetics.ext.BigIntegerChromosome
- newInstance(Number) - Method in class io.jenetics.ext.BigIntegerGene
- newInstance(BigInteger) - Method in class io.jenetics.ext.BigIntegerGene
- newVec(T) - Method in interface io.jenetics.ext.moea.VecFactory
-
Create a new
Vec
object from the givenarray
. - next() - Method in interface io.jenetics.ext.internal.parser.Tokenizer
-
Return the next available token, or
null
if no further tokens are available. - next(Cfg.Rule<?>, int) - Method in class io.jenetics.ext.grammar.Codons
- next(Cfg.Rule<?>, int) - Method in interface io.jenetics.ext.grammar.SymbolIndex
-
Selects an index with the given upper
bound
, exclusively. - nextBigInteger(BigInteger, BigInteger, RandomGenerator) - Static method in class io.jenetics.ext.internal.util.Randoms
-
Returns a pseudo-random, uniformly distributed int value between min and max (min and max included).
- nextBigInteger(BigInteger, RandomGenerator) - Static method in class io.jenetics.ext.internal.util.Randoms
-
Returns a pseudo-random, uniformly distributed int value between 0 (inclusive) and the specified value (exclusive), drawn from the given random number generator's sequence.
- nextLeaf() - Method in interface io.jenetics.ext.util.Tree
-
Returns the leaf after
this
node orOptional.empty()
if this node is the last leaf in the tree. - nextNode() - Method in interface io.jenetics.ext.util.Tree
-
Return the node that follows
this
node in a pre-order traversal ofthis
tree node. - nextSibling() - Method in interface io.jenetics.ext.util.Tree
-
Return the next sibling of
this
node in the parent's children array, ornull
ifthis
node has no parent, or it is the last child of the paren. - NonTerminal(String) - Constructor for record class io.jenetics.ext.grammar.Cfg.NonTerminal
-
Creates an instance of a
NonTerminal
record class. - nonTerminals() - Method in record class io.jenetics.ext.grammar.Cfg
-
Returns the value of the
nonTerminals
record component. - NSGA2Selector<G extends Gene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics.ext.moea -
This selector selects the first
count
elements of the population, which has been sorted by the Crowded-Comparison Operator, as described in A Fast and Elitist Multiobjective Genetic Algorithm: NSGA-II - NSGA2Selector(Comparator<? super C>, ElementComparator<? super C>, ElementDistance<? super C>, ToIntFunction<? super C>) - Constructor for class io.jenetics.ext.moea.NSGA2Selector
-
Creates a new
NSGA2Selector
with the functions needed for handling the multi-objective result typeC
.
O
- of() - Static method in class io.jenetics.ext.util.TreeNode
-
Return a new
TreeNode
with anull
tree value. - of(double...) - Static method in interface io.jenetics.ext.moea.Vec
-
Wraps the given array into a
Vec
object. - of(int...) - Static method in interface io.jenetics.ext.moea.Vec
-
Wraps the given array into a
Vec
object. - of(int...) - Static method in class io.jenetics.ext.util.Tree.Path
-
Create a new path object from the given child indexes.
- of(int, String) - Static method in interface io.jenetics.ext.internal.parser.Token.Type
-
Create a new token type with the given
code
andname
. - of(long...) - Static method in interface io.jenetics.ext.moea.Vec
-
Wraps the given array into a
Vec
object. - of(C[]) - Static method in interface io.jenetics.ext.moea.Vec
-
Wraps the given array into a
Vec
object. - of(C[], ElementDistance<C[]>) - Static method in interface io.jenetics.ext.moea.Vec
-
Wraps the given array into a
Vec
object. - of(EvolutionStreamable<G, C>...) - Static method in class io.jenetics.ext.engine.ConcatEngine
-
Create a new concatenating evolution engine with the given array of engines.
- of(EvolutionStreamable<G, C>...) - Static method in class io.jenetics.ext.engine.CyclicEngine
-
Create a new cycling evolution engine with the given array of
engines
. - of(BigIntegerGene...) - Static method in class io.jenetics.ext.BigIntegerChromosome
-
Create a new
DoubleChromosome
with the given genes. - of(Cfg.Rule<T>...) - Static method in record class io.jenetics.ext.grammar.Cfg
-
Create a grammar object with the given rules.
- of(String) - Static method in record class io.jenetics.ext.grammar.Cfg.Terminal
-
Return a new terminal symbol where the name of the symbol is equal to its value.
- of(String, Function<? super String, ? extends V>) - Static method in interface io.jenetics.ext.rewriting.TreePattern.Decl
- of(BigInteger, BigInteger) - Static method in class io.jenetics.ext.BigIntegerChromosome
-
Create a new random
DoubleChromosome
of length one. - of(BigInteger, BigInteger) - Static method in class io.jenetics.ext.BigIntegerGene
-
Create a new random
BigIntegerGene
. - of(BigInteger, BigInteger, int) - Static method in class io.jenetics.ext.BigIntegerChromosome
-
Create a new random
DoubleChromosome
. - of(BigInteger, BigInteger, BigInteger) - Static method in class io.jenetics.ext.BigIntegerGene
-
Create a new random
BigIntegerGene
with the given value and the given range. - of(List<Cfg.Rule<T>>) - Static method in record class io.jenetics.ext.grammar.Cfg
-
Create a grammar object with the given rules.
- of(RandomGenerator) - Static method in interface io.jenetics.ext.grammar.SymbolIndex
-
Create a new symbol-index object from the given random generator.
- of(T) - Static method in class io.jenetics.ext.util.TreeNode
-
Return a new
TreeNode
with the given nodevalue
. - of(T[], Comparator<? super T>, ElementDistance<T[]>) - Static method in interface io.jenetics.ext.moea.Vec
-
Wraps the given array into a
Vec
object. - ofBitGenes(BaseSeq<BitGene>) - Static method in class io.jenetics.ext.grammar.Codons
-
Creates a new, classical codons object from the given bit-genes.
- ofDoubleVec() - Static method in interface io.jenetics.ext.moea.VecFactory
-
Create a new factory for
double[]
vectors, where all dimensions are maximized. - ofDoubleVec(Optimize...) - Static method in interface io.jenetics.ext.moea.VecFactory
-
Create a new factory for
double[]
vectors. - ofDoubleVec(List<Optimize>) - Static method in interface io.jenetics.ext.moea.VecFactory
-
Create a new factory for
double[]
vectors. - ofIndex(int) - Method in interface io.jenetics.ext.moea.ElementComparator
-
Return a comparator which takes the component at the give
index
for comparison two objects of typeT
. - ofIndex(int) - Method in interface io.jenetics.ext.moea.ElementDistance
-
Return a function which calculates the distance of two vector elements at a given
index
. - ofIntegerGenes(BaseSeq<IntegerGene>) - Static method in class io.jenetics.ext.grammar.Codons
-
Creates a new codons object from the given int-genes.
- ofIntVec() - Static method in interface io.jenetics.ext.moea.VecFactory
-
Create a new factory for
int[]
vectors, where all dimensions are maximized. - ofIntVec(Optimize...) - Static method in interface io.jenetics.ext.moea.VecFactory
-
Create a new factory for
int[]
vectors. - ofIntVec(List<Optimize>) - Static method in interface io.jenetics.ext.moea.VecFactory
-
Create a new factory for
int[]
vectors. - ofLongVec() - Static method in interface io.jenetics.ext.moea.VecFactory
-
Create a new factory for
long[]
vectors, where all dimensions are maximized. - ofLongVec(Optimize...) - Static method in interface io.jenetics.ext.moea.VecFactory
-
Create a new factory for
long[]
vectors. - ofLongVec(List<Optimize>) - Static method in interface io.jenetics.ext.moea.VecFactory
-
Create a new factory for
long[]
vectors. - ofObjectVec() - Static method in interface io.jenetics.ext.moea.VecFactory
-
Create a new factory for
T[]
vectors with comparable element types. - ofObjectVec(ElementDistance<T[]>, Optimize...) - Static method in interface io.jenetics.ext.moea.VecFactory
-
Create a new factory for
T[]
vectors with comparable element types. - ofObjectVec(ElementDistance<T[]>, List<Optimize>) - Static method in interface io.jenetics.ext.moea.VecFactory
-
Create a new factory for
T[]
vectors with comparable element types. - ofObjectVec(Optimize...) - Static method in interface io.jenetics.ext.moea.VecFactory
-
Create a new factory for
T[]
vectors with comparable element types. - ofObjectVec(Comparator<? super T>, ElementDistance<T[]>, Optimize...) - Static method in interface io.jenetics.ext.moea.VecFactory
-
Create a new factory for
T[]
vectors. - ofObjectVec(Comparator<? super T>, ElementDistance<T[]>, List<Optimize>) - Static method in interface io.jenetics.ext.moea.VecFactory
-
Create a new factory for
T[]
vectors. - ofObjectVec(List<Optimize>) - Static method in interface io.jenetics.ext.moea.VecFactory
-
Create a new factory for
T[]
vectors with comparable element types. - ofTree(Tree<? extends T, ?>) - Static method in class io.jenetics.ext.util.TreeNode
-
Return a new
TreeNode
from the given sourcetree
. - ofTree(Tree<? extends T, ?>, Function<? super T, ? extends B>) - Static method in class io.jenetics.ext.util.TreeNode
-
Return a new
TreeNode
from the given sourcetree
. - ofTree(Tree<? extends V, ?>) - Static method in class io.jenetics.ext.util.FlatTreeNode
-
Create a new, immutable
FlatTreeNode
from the giventree
. - ofVec() - Static method in class io.jenetics.ext.moea.NSGA2Selector
-
Return a new selector for the given result type
V
. - ofVec() - Static method in class io.jenetics.ext.moea.UFTournamentSelector
-
Return a new selector for the given result type
V
.
P
- parent() - Method in class io.jenetics.ext.AbstractTreeGene
-
Return the parent node of this tree node.
- parent() - Method in class io.jenetics.ext.util.FlatTreeNode
- parent() - Method in interface io.jenetics.ext.util.Tree
-
Return the parent node of this tree node.
- parent() - Method in class io.jenetics.ext.util.TreeNode
-
Returns this node's parent if available.
- PARENTHESES - Static variable in class io.jenetics.ext.util.TreeFormatter
-
Formats a given tree to a parentheses string representation.
- Pareto - Class in io.jenetics.ext.moea
-
Low-level utility methods for doing pareto-optimal calculations.
- ParetoFront<T> - Class in io.jenetics.ext.moea
-
This class only contains non-dominate (Pareto-optimal) elements according to a given dominance measure.
- ParetoFront(Comparator<? super T>) - Constructor for class io.jenetics.ext.moea.ParetoFront
-
Create a new
ParetoSet
with the givendominance
measure. - ParetoFront(Comparator<? super T>, BiPredicate<? super T, ? super T>) - Constructor for class io.jenetics.ext.moea.ParetoFront
-
Create a new
ParetoSet
with the givendominance
measure. - parse(Iterable<? extends T>) - Method in class io.jenetics.ext.internal.util.FormulaParser
-
Parses the given token sequence according
this
formula definition. - parse(Iterable<? extends T>, FormulaParser.TokenConverter<? super T, ? extends V>) - Method in class io.jenetics.ext.internal.util.FormulaParser
-
Parses the given token sequence according
this
formula definition. - parse(String) - Static method in class io.jenetics.ext.grammar.Bnf
-
Parses the given BNF
grammar
string to aCfg
object. - parse(String) - Static method in class io.jenetics.ext.rewriting.TreeRewriteRule
-
Compiles the string representation of a rewrite rule:
- parse(String) - Static method in class io.jenetics.ext.util.FlatTreeNode
-
Parses a (parentheses) tree string, created with
Tree.toParenthesesString()
. - parse(String) - Static method in class io.jenetics.ext.util.TreeNode
-
Parses a (parentheses) tree string, created with
Tree.toParenthesesString()
. - parse(String...) - Static method in class io.jenetics.ext.rewriting.TRS
-
Create a new TRS from the given rewrite rules.
- parse(String, Function<? super String, ? extends B>) - Static method in class io.jenetics.ext.util.FlatTreeNode
-
Parses a (parentheses) tree string, created with
Tree.toParenthesesString()
. - parse(String, Function<? super String, ? extends B>) - Static method in class io.jenetics.ext.util.TreeNode
-
Parses a (parentheses) tree string, created with
Tree.toParenthesesString()
. - parse(String, Function<? super String, ? extends V>) - Static method in class io.jenetics.ext.rewriting.TreeRewriteRule
-
Compiles the string representation of a rewrite rule:
- parse(Function<? super String, ? extends V>, String...) - Static method in class io.jenetics.ext.rewriting.TRS
-
Create a new TRS from the given rewrite rules and type mapper.
- parse(Supplier<? extends T>) - Method in class io.jenetics.ext.internal.util.FormulaParser
-
Parses the given token sequence according
this
formula definition. - parse(Supplier<? extends T>, FormulaParser.TokenConverter<? super T, ? extends V>) - Method in class io.jenetics.ext.internal.util.FormulaParser
-
Parses the given token sequence according
this
formula definition. - Parser<T> - Class in io.jenetics.ext.internal.parser
-
Parser implementation for parsing a given token sequences.
- Parser(Tokenizer<T>, int) - Constructor for class io.jenetics.ext.internal.parser.Parser
-
Create a new parser object with the given
tokenizer
and lookahead countk
. - ParsingException - Exception in io.jenetics.ext.internal.parser
-
Exception thrown in the case of a parse error.
- ParsingException(String) - Constructor for exception io.jenetics.ext.internal.parser.ParsingException
- path() - Method in interface io.jenetics.ext.util.Tree
-
Return the
Tree.Path
ofthis
tree, such that - pathElements() - Method in interface io.jenetics.ext.util.Tree
-
Returns the path from the root, to get to this node.
- pathFromAncestorIterator(Tree<?, ?>) - Method in interface io.jenetics.ext.util.Tree
-
Return an iterator that follows the path from
ancestor
tothis
node. - pattern() - Method in class io.jenetics.ext.rewriting.TreeMatcher
-
Return the underlying pattern of
this
matcher. - pos - Variable in class io.jenetics.ext.internal.parser.CharSequenceTokenizer
- postorderIterator() - Method in interface io.jenetics.ext.util.Tree
-
Return an iterator that traverses the subtree rooted at
this
node in post-order. - postorderStream() - Method in interface io.jenetics.ext.util.Tree
-
Return a stream that traverses the subtree rooted at
this
node in post-order. - preorderIterator() - Method in interface io.jenetics.ext.util.Tree
-
Return an iterator that traverses the subtree rooted at
this
node in pre-order. - preorderStream() - Method in interface io.jenetics.ext.util.Tree
-
Return a stream that traverses the subtree rooted at
this
node in pre-order. - previousLeaf() - Method in interface io.jenetics.ext.util.Tree
-
Return the leaf before
this
node ornull
ifthis
node is the first leaf in the tree. - previousNode() - Method in interface io.jenetics.ext.util.Tree
-
Return the node that precedes this node in a pre-order traversal of
this
tree node. - previousSibling() - Method in interface io.jenetics.ext.util.Tree
-
Return the previous sibling of
this
node in the parent's children list, orOptional.empty()
if this node has no parent or is the parent's first child.
R
- R(String, Cfg.Expression<T>...) - Static method in record class io.jenetics.ext.grammar.Cfg
-
Factory method for creating a new rule.
- Randoms - Class in io.jenetics.ext.internal.util
- rank(BaseSeq<? extends Vec<T>>) - Static method in class io.jenetics.ext.moea.Pareto
-
Calculates the non-domination rank of the given input
set
, using the natural order of the elements as dominance measure. - rank(BaseSeq<? extends T>, Comparator<? super T>) - Static method in class io.jenetics.ext.moea.Pareto
-
Calculates the non-domination rank of the given input
set
, using the givendominance
comparator. - recombine(MSeq<Phenotype<G, C>>, int[], long) - Method in class io.jenetics.ext.TreeCrossover
- reduce(U[], BiFunction<? super V, ? super U[], ? extends U>) - Method in class io.jenetics.ext.util.FlatTreeNode
- reduce(U[], BiFunction<? super V, ? super U[], ? extends U>) - Method in interface io.jenetics.ext.util.Tree
-
Performs a reduction on the elements of
this
tree, using an associative reduction function. - remove(int) - Method in class io.jenetics.ext.util.TreeNode
-
Removes the child at the specified index from this node's children and sets that node's parent to
null
. - remove(Tree<?, ?>) - Method in class io.jenetics.ext.util.TreeNode
-
Remove the
child
fromthis
node's child array, giving it anull
parent. - removeAllChildren() - Method in class io.jenetics.ext.util.TreeNode
-
Removes all children fo
this
node and setting their parents tonull
. - removeAtPath(Tree.Path) - Method in class io.jenetics.ext.util.TreeNode
-
Removes the child at the given
path
. - replace(int, TreeNode<T>) - Method in class io.jenetics.ext.util.TreeNode
-
Replaces the child at the give index with the given
child
- replaceAtPath(Tree.Path, TreeNode<T>) - Method in class io.jenetics.ext.util.TreeNode
-
Replaces the child at the given
path
with the given newchild
. - results() - Method in class io.jenetics.ext.rewriting.TreeMatcher
-
Return all matching sub-trees.
- reversed() - Method in interface io.jenetics.ext.moea.ElementComparator
-
Returns a comparator that imposes the reverse ordering of this comparator.
- rewrite(TreeNode<V>) - Method in interface io.jenetics.ext.rewriting.TreeRewriter
-
Applies the rewriting to the given (mutable)
tree
. - rewrite(TreeNode<V>, int) - Method in interface io.jenetics.ext.rewriting.TreeRewriter
-
Applies the rewriting to the given (mutable)
tree
. - rewrite(TreeNode<V>, int) - Method in class io.jenetics.ext.rewriting.TreeRewriteRule
- rewrite(TreeNode<V>, int) - Method in class io.jenetics.ext.rewriting.TRS
- rewrite(TreeNode<V>, int, Iterable<? extends TreeRewriter<V>>) - Static method in interface io.jenetics.ext.rewriting.TreeRewriter
-
Rewrites the given
tree
by applying the givenrewriters
. - rewrite(TreeNode<V>, Iterable<? extends TreeRewriter<V>>) - Static method in interface io.jenetics.ext.rewriting.TreeRewriter
-
Rewrites the given
tree
by applying the givenrewriters
. - right() - Method in class io.jenetics.ext.rewriting.TreeRewriteRule
-
Return the replacement pattern of the rule.
- root() - Method in class io.jenetics.ext.AbstractTreeGene
- root() - Method in interface io.jenetics.ext.TreeChromosome
-
Return the root gene of this chromosome.
- root() - Method in class io.jenetics.ext.util.FlatTreeNode
-
Returns the root of the tree that contains this node.
- root() - Method in interface io.jenetics.ext.util.Tree
-
Returns the root of the tree that contains this node.
- rparen(Predicate<? super T>) - Method in class io.jenetics.ext.internal.util.FormulaParser.Builder
-
Set the predicate which defines
rparen
tokens. - rparen(T) - Method in class io.jenetics.ext.internal.util.FormulaParser.Builder
-
Set the prototype for the
rparen
token. - RSMutator<G extends Gene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics.ext -
The reverse sequence mutation, two positions i and j are randomly chosen The gene order in a chromosome will then be reversed between this two points.
- RSMutator() - Constructor for class io.jenetics.ext.RSMutator
-
Default constructor, with default mutation probability (
Alterer.DEFAULT_ALTER_PROBABILITY
). - RSMutator(double) - Constructor for class io.jenetics.ext.RSMutator
-
Constructs an alterer with a given recombination probability.
- rule(Cfg.NonTerminal<?>) - Method in record class io.jenetics.ext.grammar.Cfg
-
Return the rule for the given
start
symbol. - Rule(Cfg.NonTerminal<T>, List<Cfg.Expression<T>>) - Constructor for record class io.jenetics.ext.grammar.Cfg.Rule
-
Creates a new rule object.
- rules() - Method in record class io.jenetics.ext.grammar.Cfg
-
Returns the value of the
rules
record component.
S
- select(Cfg.NonTerminal<T>, Cfg<T>, SymbolIndex) - Static method in interface io.jenetics.ext.grammar.Generator
-
Standard algorithm for selecting a list of alternative symbols from the given
rule
. - select(Seq<Phenotype<G, C>>, int, Optimize) - Method in class io.jenetics.ext.moea.NSGA2Selector
- select(Seq<Phenotype<G, C>>, int, Optimize) - Method in class io.jenetics.ext.moea.UFTournamentSelector
- select(Seq<Phenotype<G, C>>, int, Optimize) - Method in class io.jenetics.ext.WeaselSelector
- SentenceGenerator<T> - Class in io.jenetics.ext.grammar
-
Standard implementation of a sentence generator.
- SentenceGenerator(SymbolIndex, int) - Constructor for class io.jenetics.ext.grammar.SentenceGenerator
-
Create a new sentence generator from the given parameters.
- SentenceGenerator(SymbolIndex, SentenceGenerator.Expansion, int) - Constructor for class io.jenetics.ext.grammar.SentenceGenerator
-
Create a new sentence generator from the given parameters.
- SentenceGenerator.Expansion - Enum Class in io.jenetics.ext.grammar
-
Defines the expansion strategy used when generating the sentences.
- separator(Predicate<? super T>) - Method in class io.jenetics.ext.internal.util.FormulaParser.Builder
-
Set the predicate which defines
separator
tokens. - separator(T) - Method in class io.jenetics.ext.internal.util.FormulaParser.Builder
-
Set the prototype for the
separator
token. - sharedAncestor(T) - Method in interface io.jenetics.ext.util.Tree
-
Returns the nearest common ancestor to this node and the given
node
. - siblingCount() - Method in interface io.jenetics.ext.util.Tree
-
Return the number of siblings of
this
node. - SimulatedBinaryCrossover<G extends NumericGene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics.ext -
Performs the simulated binary crossover (SBX) on a
Chromosome
ofNumericGene
s such that each position is either crossed contracted or expanded with a certain probability. - SimulatedBinaryCrossover(double) - Constructor for class io.jenetics.ext.SimulatedBinaryCrossover
-
Create a new simulated binary crossover alterer with the given parameters.
- SimulatedBinaryCrossover(double, double) - Constructor for class io.jenetics.ext.SimulatedBinaryCrossover
-
Create a new simulated binary crossover alterer with the given parameters.
- singleBitChromosomeMapper(Cfg<? extends T>, int, Function<? super SymbolIndex, ? extends Generator<T, R>>) - Static method in class io.jenetics.ext.grammar.Mappers
-
Return a classic mapping codec.
- singleIntegerChromosomeMapper(Cfg<? extends T>, IntRange, int, Function<? super SymbolIndex, ? extends Generator<T, R>>) - Static method in class io.jenetics.ext.grammar.Mappers
-
Create a mapping codec, similar as in
Mappers.singleBitChromosomeMapper(Cfg, int, Function)
. - singleIntegerChromosomeMapper(Cfg<? extends T>, IntRange, IntRange, Function<? super SymbolIndex, ? extends Generator<T, R>>) - Static method in class io.jenetics.ext.grammar.Mappers
-
Create a mapping codec, similar as in
Mappers.singleBitChromosomeMapper(Cfg, int, Function)
. - SingleNodeCrossover<G extends TreeGene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics.ext -
Swaps two, randomly chosen, nodes (subtrees) from two given trees.
- SingleNodeCrossover() - Constructor for class io.jenetics.ext.SingleNodeCrossover
- SingleNodeCrossover(double) - Constructor for class io.jenetics.ext.SingleNodeCrossover
- size() - Method in class io.jenetics.ext.AbstractTreeGene
- size() - Method in class io.jenetics.ext.internal.util.IntList
-
Returns the number of elements in this list.
- size() - Method in class io.jenetics.ext.moea.ParetoFront
- size() - Method in class io.jenetics.ext.util.FlatTreeNode
- size() - Method in interface io.jenetics.ext.util.Tree
-
Return the number of nodes of
this
node (subtree). - start() - Method in record class io.jenetics.ext.grammar.Cfg.Rule
-
Returns the value of the
start
record component. - start() - Method in record class io.jenetics.ext.grammar.Cfg
-
Returns the value of the
start
record component. - stream() - Method in class io.jenetics.ext.internal.util.IntList
-
Returns a sequential
IntStream
with the specified list as its source. - stream() - Method in interface io.jenetics.ext.util.Tree
-
Return a stream that traverses the subtree rooted at
this
node in breadth-first order. - stream(EvolutionInit<G>) - Method in class io.jenetics.ext.engine.ConcatEngine
- stream(EvolutionInit<G>) - Method in class io.jenetics.ext.engine.CyclicEngine
- stream(Supplier<EvolutionStart<G, C>>) - Method in class io.jenetics.ext.engine.ConcatEngine
- stream(Supplier<EvolutionStart<G, C>>) - Method in class io.jenetics.ext.engine.CyclicEngine
- SymbolIndex - Interface in io.jenetics.ext.grammar
-
Functional interface for selecting a
Cfg.Symbol
by its index within a rule. - symbols() - Method in record class io.jenetics.ext.grammar.Cfg.Expression
-
Returns the value of the
symbols
record component.
T
- T(String) - Static method in record class io.jenetics.ext.grammar.Cfg
-
Factory method for creating a terminal symbol with the given
name
. - T(String, T) - Static method in record class io.jenetics.ext.grammar.Cfg
-
Factory method for creating a terminal symbol with the given
name
andvalue
. - Terminal(String, T) - Constructor for record class io.jenetics.ext.grammar.Cfg.Terminal
-
Creates an instance of a
Terminal
record class. - terminals() - Method in record class io.jenetics.ext.grammar.Cfg
-
Returns the value of the
terminals
record component. - toArray() - Method in class io.jenetics.ext.internal.util.IntList
-
Return the current elements as an int array.
- toArray() - Method in class io.jenetics.ext.util.Tree.Path
-
Return the path as
int[]
array. - toISeq() - Method in class io.jenetics.ext.moea.ParetoFront
-
Return the elements of
this
pareto-front asISeq
. - token(char) - Method in interface io.jenetics.ext.internal.parser.Token.Type
-
Create a new token of the given character and
this
type. - token(V) - Method in interface io.jenetics.ext.internal.parser.Token.Type
-
Create a new token of the given
value
andthis
type. - Token<V> - Record Class in io.jenetics.ext.internal.parser
-
This interface represents a parsed token.
- Token(Token.Type, V) - Constructor for record class io.jenetics.ext.internal.parser.Token
-
Creates an instance of a
Token
record class. - Token.Type - Interface in io.jenetics.ext.internal.parser
-
Represents the type of the token, with a given type code and type name.
- Tokenizer<T> - Interface in io.jenetics.ext.internal.parser
-
Interface for all tokenizers.
- TokenParser<V> - Class in io.jenetics.ext.internal.parser
-
Parser implementation for parsing explicit
Token
sequences. - TokenParser(Tokenizer<Token<V>>, int) - Constructor for class io.jenetics.ext.internal.parser.TokenParser
-
Create a new parser object with the given
tokenizer
and lookahead countk
. - tokens() - Method in interface io.jenetics.ext.internal.parser.Tokenizer
-
Return a stream of tokens, generated by
this
tokenizer. - toParenthesesString() - Method in interface io.jenetics.ext.util.Tree
-
Return a compact string representation of the given tree.
- toParenthesesString(Function<? super V, String>) - Method in interface io.jenetics.ext.util.Tree
-
Return a compact string representation of the given tree.
- toParetoFront() - Static method in class io.jenetics.ext.moea.ParetoFront
-
Return a pareto-front collector.
- toParetoFront(Comparator<? super T>) - Static method in class io.jenetics.ext.moea.ParetoFront
-
Return a pareto-front collector with the given pareto
dominance
measure. - toParetoSet() - Static method in class io.jenetics.ext.moea.MOEA
-
Collector of
Phenotype
objects, who's (multi-objective) fitness value is part of the pareto front. - toParetoSet(IntRange) - Static method in class io.jenetics.ext.moea.MOEA
-
Collector of
Phenotype
objects, who's (multi-objective) fitness value is part of the pareto front. - toParetoSet(IntRange, Comparator<? super C>, ElementComparator<? super C>, ElementDistance<? super C>, ToIntFunction<? super C>) - Static method in class io.jenetics.ext.moea.MOEA
-
Collector of
Phenotype
objects, who's (multi-objective) fitness value is part of the pareto front. - toString() - Method in class io.jenetics.ext.AbstractTreeGene
- toString() - Method in class io.jenetics.ext.BigIntegerGene
- toString() - Method in record class io.jenetics.ext.grammar.Cfg.Expression
-
Returns a string representation of this record class.
- toString() - Method in record class io.jenetics.ext.grammar.Cfg.NonTerminal
-
Returns a string representation of this record class.
- toString() - Method in record class io.jenetics.ext.grammar.Cfg.Rule
-
Returns a string representation of this record class.
- toString() - Method in record class io.jenetics.ext.grammar.Cfg.Terminal
-
Returns a string representation of this record class.
- toString() - Method in record class io.jenetics.ext.grammar.Cfg
-
Returns a string representation of this record class.
- toString() - Method in record class io.jenetics.ext.internal.parser.Token
-
Returns a string representation of this record class.
- toString() - Method in class io.jenetics.ext.rewriting.TreeMatchResult
- toString() - Method in class io.jenetics.ext.rewriting.TreePattern
- toString() - Method in record class io.jenetics.ext.rewriting.TreePattern.Val
-
Returns a string representation of this record class.
- toString() - Method in record class io.jenetics.ext.rewriting.TreePattern.Var
-
Returns a string representation of this record class.
- toString() - Method in class io.jenetics.ext.rewriting.TreeRewriteRule
- toString() - Method in class io.jenetics.ext.rewriting.TRS
- toString() - Method in class io.jenetics.ext.SimulatedBinaryCrossover
- toString() - Method in class io.jenetics.ext.SingleNodeCrossover
- toString() - Method in class io.jenetics.ext.util.FlatTreeNode
- toString() - Method in class io.jenetics.ext.util.Tree.Path
- toString() - Method in class io.jenetics.ext.util.TreeNode
- toString() - Method in class io.jenetics.ext.WeaselMutator
- toString() - Method in class io.jenetics.ext.WeaselSelector
- toString(Tree<?, ?>) - Static method in interface io.jenetics.ext.util.Tree
-
Return a string representation of the given tree, like the following example.
- toString(List<? extends Cfg.Symbol<?>>) - Static method in class io.jenetics.ext.grammar.SentenceGenerator
-
Converts a list of symbols to a string, by concatenating the names of the given symbols.
- tree() - Method in class io.jenetics.ext.rewriting.TreeMatcher
-
Return the matching tree.
- tree() - Method in class io.jenetics.ext.rewriting.TreeMatchResult
-
The node (tree), which has been matched by some pattern.
- Tree<V,
T extends Tree<V, T>> - Interface in io.jenetics.ext.util -
General purpose tree structure.
- TREE - Static variable in class io.jenetics.ext.util.TreeFormatter
-
Formats a given tree to a tree string representation.
- Tree.Path - Class in io.jenetics.ext.util
-
This class represents the path to child within a given tree.
- TreeChromosome<A,
G extends TreeGene<A, G>> - Interface in io.jenetics.ext -
Chromosome for tree shaped genes.
- TreeCrossover<G extends TreeGene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics.ext -
Abstract implementation of tree base crossover recombinator.
- TreeCrossover(double) - Constructor for class io.jenetics.ext.TreeCrossover
-
Constructs a tree crossover with a given recombination probability.
- TreeFormatter - Class in io.jenetics.ext.util
-
Definition of different tree formatter strategies.
- TreeFormatter() - Constructor for class io.jenetics.ext.util.TreeFormatter
- TreeGene<A,
G extends TreeGene<A, G>> - Interface in io.jenetics.ext -
Representation of tree shaped gene.
- TreeMatcher<V> - Class in io.jenetics.ext.rewriting
-
Implementation of a pattern-based tree matcher.
- TreeMatchResult<V> - Class in io.jenetics.ext.rewriting
-
The result of a tree match operation.
- TreeMutator<A,
G extends TreeGene<A, G>, C extends Comparable<? super C>> - Class in io.jenetics.ext -
Abstract class for mutating tree chromosomes.
- TreeMutator() - Constructor for class io.jenetics.ext.TreeMutator
- TreeMutator(double) - Constructor for class io.jenetics.ext.TreeMutator
- TreeNode<T> - Class in io.jenetics.ext.util
-
A general purpose node in a tree data-structure.
- TreePattern<V> - Class in io.jenetics.ext.rewriting
-
This class serves two purposes.
- TreePattern(Tree<TreePattern.Decl<V>, ?>) - Constructor for class io.jenetics.ext.rewriting.TreePattern
-
Create a new tree-pattern object from the given pattern tree.
- TreePattern.Decl<V> - Interface in io.jenetics.ext.rewriting
-
A sealed interface, which constitutes the nodes of a pattern tree.
- TreePattern.Val<V> - Record Class in io.jenetics.ext.rewriting
-
This class represents a constant pattern value, which can be part of a whole subtree.
- TreePattern.Var<V> - Record Class in io.jenetics.ext.rewriting
-
Represents a placeholder (variable) for an arbitrary subtree.
- TreeRewriteAlterer<A,
G extends TreeGene<A, G>, C extends Comparable<? super C>> - Class in io.jenetics.ext -
This alterer uses a
TreeRewriter
for altering theTreeChromosome
. - TreeRewriteAlterer(TreeRewriter<A>) - Constructor for class io.jenetics.ext.TreeRewriteAlterer
-
Create a new alterer with the given
rewriter
. - TreeRewriteAlterer(TreeRewriter<A>, double) - Constructor for class io.jenetics.ext.TreeRewriteAlterer
-
Create a new alterer with the given
rewriter
. - TreeRewriteAlterer(TreeRewriter<A>, int) - Constructor for class io.jenetics.ext.TreeRewriteAlterer
-
Create a new alterer with the given
rewriter
and given rewritelimit
. - TreeRewriteAlterer(TreeRewriter<A>, int, double) - Constructor for class io.jenetics.ext.TreeRewriteAlterer
-
Create a new alterer with the given
rewriter
and given rewritelimit
. - TreeRewriter<V> - Interface in io.jenetics.ext.rewriting
-
Interface for rewriting a given tree.
- TreeRewriteRule<V> - Class in io.jenetics.ext.rewriting
-
Represents a tree rewrite rule.
- TreeRewriteRule(TreePattern<V>, TreePattern<V>) - Constructor for class io.jenetics.ext.rewriting.TreeRewriteRule
-
Create a new rewrite rule from the given matching (
left
) and replacement (right
) pattern. - trim(int, ElementComparator<? super T>, ElementDistance<? super T>, ToIntFunction<? super T>) - Method in class io.jenetics.ext.moea.ParetoFront
-
Trims
this
pareto front to the given size. - trimToSize() - Method in class io.jenetics.ext.internal.util.IntList
-
Trims the capacity of this
ArrayList
instance to be the list's current size. - TRS<V> - Class in io.jenetics.ext.rewriting
-
This class represents a Tree Rewrite System, which consists of a set of Tree Rewrite Rules.
- TRS(ISeq<TreeRewriteRule<V>>) - Constructor for class io.jenetics.ext.rewriting.TRS
-
Create a new TRS from the given rewrite rules.
- tryAdvance(Consumer<? super T>) - Method in class io.jenetics.ext.internal.util.ConcatSpliterator
- tryAdvance(Consumer<? super T>) - Method in class io.jenetics.ext.internal.util.CyclicSpliterator
- tryAdvance(Consumer<? super T>) - Method in class io.jenetics.ext.internal.util.GeneratorSpliterator
- trySplit() - Method in class io.jenetics.ext.internal.util.ConcatSpliterator
- trySplit() - Method in class io.jenetics.ext.internal.util.CyclicSpliterator
- trySplit() - Method in class io.jenetics.ext.internal.util.GeneratorSpliterator
- type() - Method in record class io.jenetics.ext.internal.parser.Token
-
Returns the value of the
type
record component.
U
- UFTournamentSelector<G extends Gene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics.ext.moea -
Unique fitness based tournament selection.
- UFTournamentSelector(Comparator<? super C>, ElementComparator<? super C>, ElementDistance<? super C>, ToIntFunction<? super C>) - Constructor for class io.jenetics.ext.moea.UFTournamentSelector
-
Creates a new
UFTournamentSelector
with the functions needed for handling the multi-objective result typeC
. - UNARY_OPERATOR - Enum constant in enum class io.jenetics.ext.internal.util.FormulaParser.TokenType
-
Indicates an unary operator.
- unaryOperators(Predicate<? super T>) - Method in class io.jenetics.ext.internal.util.FormulaParser.Builder
-
Set the predicate which defines the unary operator tokens.
- unaryOperators(Set<? extends T>) - Method in class io.jenetics.ext.internal.util.FormulaParser.Builder
-
Set all unary operator tokens.
- unaryOperators(T...) - Method in class io.jenetics.ext.internal.util.FormulaParser.Builder
-
Set all unary operator tokens.
- unescape(CharSequence) - Method in class io.jenetics.ext.internal.util.Escaper
V
- Val(V) - Constructor for record class io.jenetics.ext.rewriting.TreePattern.Val
-
Creates an instance of a
Val
record class. - value() - Method in record class io.jenetics.ext.grammar.Cfg.Terminal
-
Returns the value of the
value
record component. - value() - Method in record class io.jenetics.ext.internal.parser.Token
-
Returns the value of the
value
record component. - value() - Method in record class io.jenetics.ext.rewriting.TreePattern.Val
-
Returns the value of the
value
record component. - value() - Method in interface io.jenetics.ext.TreeGene
- value() - Method in class io.jenetics.ext.util.FlatTreeNode
- value() - Method in interface io.jenetics.ext.util.Tree
-
Return the value of the current
Tree
node. - value() - Method in class io.jenetics.ext.util.TreeNode
-
Return the node value
- value(T) - Method in class io.jenetics.ext.util.TreeNode
-
Sets the user object for this node.
- valueOf(String) - Static method in enum class io.jenetics.ext.grammar.SentenceGenerator.Expansion
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.jenetics.ext.internal.util.FormulaParser.TokenType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.jenetics.ext.grammar.SentenceGenerator.Expansion
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.jenetics.ext.internal.util.FormulaParser.TokenType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- Var(String) - Constructor for record class io.jenetics.ext.rewriting.TreePattern.Var
-
Creates an instance of a
Var
record class. - vars() - Method in class io.jenetics.ext.rewriting.TreeMatchResult
-
The variables involved while matching the tree
TreeMatchResult.tree()
. - vars() - Method in class io.jenetics.ext.rewriting.TreePattern
-
Return the unmodifiable set of variables, defined in
this
pattern. - Vec<T> - Interface in io.jenetics.ext.moea
-
The
Vec
interface represents the fitness result of a multi-objective fitness function. - VecFactory<T> - Interface in io.jenetics.ext.moea
-
This interface allows creating a vector object from a given array type
T
.
W
- WeaselMutator<G extends Gene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics.ext -
Mutator implementation which is part of the Weasel program algorithm.
- WeaselMutator() - Constructor for class io.jenetics.ext.WeaselMutator
-
Create a new weasel mutator with the default mutation probability of
0.05
. - WeaselMutator(double) - Constructor for class io.jenetics.ext.WeaselMutator
-
Create a new weasel mutator with the given mutation probability.
- WeaselProgram<G extends Gene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics.ext -
Configures the evolution engine to execute the Weasel program algorithm.
- WeaselProgram() - Constructor for class io.jenetics.ext.WeaselProgram
-
Create a new weasel program setup with the default mutation probability of
0.05
. - WeaselProgram(double) - Constructor for class io.jenetics.ext.WeaselProgram
-
Create a new weasel program setup with the give mutation probability.
- WeaselSelector<G extends Gene<?,
G>, C extends Comparable<? super C>> - Class in io.jenetics.ext -
Selector implementation which is part of the Weasel program algorithm.
- WeaselSelector() - Constructor for class io.jenetics.ext.WeaselSelector
- WS() - Method in class io.jenetics.ext.internal.parser.CharSequenceTokenizer
All Classes and Interfaces|All Packages|Serialized Form