Index
All Classes and Interfaces|All Packages|Serialized Form
A
- ABS - Enum constant in enum class io.jenetics.prog.op.MathOp
-
Return the absolute value of a double value.
- ACOS - Enum constant in enum class io.jenetics.prog.op.MathOp
-
Returns the arc cosine of a double value.
- add(Sample<T>) - Method in class io.jenetics.prog.regression.SampleBuffer
-
Adding a new sample point to the buffer.
- ADD - Enum constant in enum class io.jenetics.prog.op.MathOp
-
Returns the sum of its arguments.
- addAll(Collection<? extends Sample<? extends T>>) - Method in class io.jenetics.prog.regression.SampleBuffer
-
The given sample points to the buffer.
- AND - Enum constant in enum class io.jenetics.prog.op.BoolOp
-
Conjunction.
- apply(A[]) - Method in class io.jenetics.prog.ProgramChromosome
-
Evaluates the root node of this chromosome.
- apply(A[]) - Method in class io.jenetics.prog.ProgramGene
-
Evaluates this program gene (recursively) with the given variable values.
- apply(Tree<? extends Op<T>, ?>) - Method in interface io.jenetics.prog.regression.Complexity
-
Calculates the complexity of the current program (possibly) relative to the actual error value.
- apply(Tree<? extends Op<T>, ?>, T[], T[]) - Method in interface io.jenetics.prog.regression.Error
-
Calculates the overall error of a given program tree.
- apply(Boolean[]) - Method in enum class io.jenetics.prog.op.BoolOp
- apply(Double[]) - Method in class io.jenetics.prog.op.MathExpr
- apply(Double[]) - Method in enum class io.jenetics.prog.op.MathOp
- apply(T[]) - Method in class io.jenetics.prog.op.Program
- apply(T[]) - Method in class io.jenetics.prog.op.Val
-
The apply method will always return the
Val.value()
. - apply(T[]) - Method in class io.jenetics.prog.op.Var
- apply(T[], T[]) - Method in interface io.jenetics.prog.regression.LossFunction
-
Calculates the error between the expected function values and the values calculated by the actual
ProgramGene
. - argAt(int) - Method in interface io.jenetics.prog.regression.Sample
-
Return the argument value with the given
index
. - ARITHMETIC_REWRITER - Static variable in class io.jenetics.prog.op.MathExpr
-
This rewriter implements some common arithmetic identities, in exactly this order.
- arity() - Method in enum class io.jenetics.prog.op.BoolOp
- arity() - Method in enum class io.jenetics.prog.op.MathOp
- arity() - Method in interface io.jenetics.prog.op.Op
-
Return the arity of the operation function.
- arity() - Method in class io.jenetics.prog.op.Program
- arity() - Method in class io.jenetics.prog.op.Val
-
The arity of
Val
objects is always zero. - arity() - Method in class io.jenetics.prog.op.Var
- arity() - Method in interface io.jenetics.prog.regression.Sample
-
Return the dimensionality of the sample point arguments.
- ASIN - Enum constant in enum class io.jenetics.prog.op.MathOp
-
Returns the arc sine of a double value.
- ATAN - Enum constant in enum class io.jenetics.prog.op.MathOp
-
Returns the arc tangent of a value.
B
- BoolOp - Enum Class in io.jenetics.prog.op
-
This class contains basic and secondary boolean operations.
C
- calculated() - Method in record class io.jenetics.prog.regression.Sampling.Result
-
Returns the value of the
calculated
record component. - CBRT - Enum constant in enum class io.jenetics.prog.op.MathOp
-
Returns the cube root of a double value.
- CEIL - Enum constant in enum class io.jenetics.prog.op.MathOp
-
Returns the smallest (closest to negative infinity) double value that is greater than or equal to the argument and is equal to a mathematical integer.
- check(Tree<? extends Op<?>, ?>) - Static method in class io.jenetics.prog.op.Program
-
Validates the given program tree.
- codec() - Method in class io.jenetics.prog.regression.Regression
- codecOf(ISeq<Op<T>>, ISeq<Op<T>>, int) - Static method in class io.jenetics.prog.regression.Regression
-
Create a new codec, usable for symbolic regression problems, with the given parameters.
- codecOf(ISeq<Op<T>>, ISeq<Op<T>>, int, Predicate<? super ProgramChromosome<T>>) - Static method in class io.jenetics.prog.regression.Regression
-
Create a new codec, usable for symbolic regression problems, with the given parameters.
- compareTo(Var<T>) - Method in class io.jenetics.prog.op.Var
- Complexity<T> - Interface in io.jenetics.prog.regression
-
Represents a complexity measure if a given program tree.
- Const - Search tag in package io.jenetics.prog.op
- Section
- Const<T> - Class in io.jenetics.prog.op
-
Represents an operation which always returns the same, constant, value.
- CONST_REWRITER - Static variable in class io.jenetics.prog.op.MathExpr
-
This tree-rewriter rewrites constant expressions to its single value.
- ConstRewriter<T> - Class in io.jenetics.prog.op
-
This class rewrites constant expressions to its single value.
- COS - Enum constant in enum class io.jenetics.prog.op.MathOp
-
Returns the trigonometric cosine of an angle.
- COSH - Enum constant in enum class io.jenetics.prog.op.MathOp
-
Returns the hyperbolic cosine of a double value.
- count(Tree<?, ?>, int) - Static method in interface io.jenetics.prog.regression.Complexity
-
This method uses the node count of a program tree for calculating its complexity.
D
- DIV - Enum constant in enum class io.jenetics.prog.op.MathOp
-
Returns the quotient of its arguments.
- DOUBLE - Static variable in class io.jenetics.prog.op.ConstRewriter
-
Const rewriter for double operation trees.
E
- E - Static variable in enum class io.jenetics.prog.op.MathOp
-
The double value that is closer than any other to e, the base of the natural logarithms.
- EphemeralConst - Search tag in package io.jenetics.prog.op
- Section
- EphemeralConst<T> - Class in io.jenetics.prog.op
-
Implementation of an ephemeral constant.
- EQU - Enum constant in enum class io.jenetics.prog.op.BoolOp
-
Equivalence.
- equals(Object) - Method in class io.jenetics.prog.op.MathExpr
- equals(Object) - Method in class io.jenetics.prog.op.Program
- equals(Object) - Method in class io.jenetics.prog.op.Val
- equals(Object) - Method in class io.jenetics.prog.op.Var
- equals(Object) - Method in record class io.jenetics.prog.regression.Sampling.Result
-
Indicates whether some other object is "equal to" this one.
- error(Tree<? extends Op<T>, ?>) - Method in class io.jenetics.prog.regression.Regression
-
Calculates the actual error for the given
program
. - Error<T> - Interface in io.jenetics.prog.regression
-
This function calculates the overall error of a given program tree.
- eval(boolean...) - Method in enum class io.jenetics.prog.op.BoolOp
-
Evaluates the operation with the given arguments.
- eval(double...) - Method in class io.jenetics.prog.op.MathExpr
-
Convenient method, which lets you apply the program function without explicitly create a wrapper array.
- eval(double...) - Method in enum class io.jenetics.prog.op.MathOp
-
Evaluates the operation with the given arguments.
- eval(A...) - Method in class io.jenetics.prog.ProgramChromosome
-
Evaluates the root node of this chromosome.
- eval(A...) - Method in class io.jenetics.prog.ProgramGene
-
Convenient method, which lets you apply the program function without explicitly create a wrapper array.
- eval(Tree<? extends Op<Double>, ?>, double...) - Static method in class io.jenetics.prog.op.MathExpr
-
Evaluates the given
expression
with the given arguments. - eval(Tree<? extends Op<T>, ?>) - Method in class io.jenetics.prog.regression.SampleBuffer
- eval(Tree<? extends Op<T>, ?>) - Method in interface io.jenetics.prog.regression.Sampling
-
Evaluates the given
program
tree with its sample points. - eval(Tree<? extends Op<T>, ?>, T...) - Static method in class io.jenetics.prog.op.Program
-
Evaluates the given operation tree with the given variables.
- eval(String, double...) - Static method in class io.jenetics.prog.op.MathExpr
-
Evaluates the given
expression
with the given arguments. - eval(Function<? super T[], ? extends T>) - Method in class io.jenetics.prog.regression.SampleBuffer
- eval(Function<? super T[], ? extends T>) - Method in interface io.jenetics.prog.regression.Sampling
-
Evaluates the given
function
tree with its sample points. - eval(T...) - Method in class io.jenetics.prog.op.Program
-
Convenient method, which lets you apply the program function without explicitly create a wrapper array.
- Example - Search tag in package io.jenetics.prog
- Section
- EXP - Enum constant in enum class io.jenetics.prog.op.MathOp
-
Returns Euler's number e raised to the power of a double value.
- expected() - Method in record class io.jenetics.prog.regression.Sampling.Result
-
Returns the value of the
expected
record component.
F
- FALSE - Static variable in enum class io.jenetics.prog.op.BoolOp
-
Represents the constant
true
. - fitness() - Method in class io.jenetics.prog.regression.Regression
- FLOOR - Enum constant in enum class io.jenetics.prog.op.MathOp
-
Returns the largest (closest to positive infinity) double value that is less than or equal to the argument and is equal to a mathematical integer.
- format(Tree<? extends Op<Double>, ?>) - Static method in class io.jenetics.prog.op.MathExpr
-
Return the string representation of the given
tree
object.
G
- get() - Method in class io.jenetics.prog.op.EphemeralConst
-
Return a newly created, uninitialized constant of type
T
. - get() - Method in interface io.jenetics.prog.op.Op
-
Return
this
operation, or a new instance from the same type, if the operation needs to maintain internal state. - GT - Enum constant in enum class io.jenetics.prog.op.MathOp
-
Returns +1.0 if its first argument is greater than its second argument and returns -1.0 otherwise.
H
- hashCode() - Method in class io.jenetics.prog.op.MathExpr
- hashCode() - Method in class io.jenetics.prog.op.Program
- hashCode() - Method in class io.jenetics.prog.op.Val
- hashCode() - Method in class io.jenetics.prog.op.Var
- hashCode() - Method in record class io.jenetics.prog.regression.Sampling.Result
-
Returns a hash code value for this object.
- HYPOT - Enum constant in enum class io.jenetics.prog.op.MathOp
-
Returns sqrt(x2 +y2) without intermediate overflow or underflow.
I
- ID - Enum constant in enum class io.jenetics.prog.op.MathOp
-
The identity function.
- IMP - Enum constant in enum class io.jenetics.prog.op.BoolOp
-
Implication.
- index() - Method in class io.jenetics.prog.op.Var
-
The projection index of the variable.
- io.jenetics.prog - module io.jenetics.prog
- io.jenetics.prog - package io.jenetics.prog
-
Example
- io.jenetics.prog.op - package io.jenetics.prog.op
-
Operations
- io.jenetics.prog.regression - package io.jenetics.prog.regression
- isTerminal() - Method in interface io.jenetics.prog.op.Op
-
Determines if the operation is a terminal operation.
- isValid() - Method in class io.jenetics.prog.ProgramChromosome
L
- LOG - Enum constant in enum class io.jenetics.prog.op.MathOp
-
Returns the natural logarithm (base e) of a double value.
- LOG10 - Enum constant in enum class io.jenetics.prog.op.MathOp
-
Returns the base 10 logarithm of a double value.
- LossFunction<T> - Interface in io.jenetics.prog.regression
-
This function evaluates how well an evolved program tree fits the given sample data set.
M
- mae(Double[], Double[]) - Static method in interface io.jenetics.prog.regression.LossFunction
-
Mean absolute error is measured as the average of sum of absolute differences between predictions and actual observations.
- MathExpr - Class in io.jenetics.prog.op
-
Contains methods for parsing mathematical expression.
- MathExpr(Tree<? extends Op<Double>, ?>) - Constructor for class io.jenetics.prog.op.MathExpr
-
Create a new
MathExpr
object from the given operation tree. - MathOp - Enum Class in io.jenetics.prog.op
-
This class contains operations for performing basic numeric operations.
- MathRewriteAlterer<G,
C> - Class in io.jenetics.prog -
Prunes a given mathematical tree with the given alterer probability.
- MathRewriteAlterer() - Constructor for class io.jenetics.prog.MathRewriteAlterer
-
Create a new alterer with the default math rewriter
MathExpr.REWRITER
and given rewrite. - MathRewriteAlterer(double) - Constructor for class io.jenetics.prog.MathRewriteAlterer
-
Create a new alterer with the default math rewriter
MathExpr.REWRITER
and given rewrite. - MathRewriteAlterer(TreeRewriter<Op<Double>>) - Constructor for class io.jenetics.prog.MathRewriteAlterer
-
Create a new alterer with the given
rewriter
. - MathRewriteAlterer(TreeRewriter<Op<Double>>, double) - Constructor for class io.jenetics.prog.MathRewriteAlterer
-
Create a new alterer with the given
rewriter
and given rewritelimit
. - MathRewriteAlterer(TreeRewriter<Op<Double>>, int, double) - Constructor for class io.jenetics.prog.MathRewriteAlterer
-
Create a new alterer with the given
rewriter
and given rewritelimit
. - MAX - Enum constant in enum class io.jenetics.prog.op.MathOp
-
Return the maximum of two values This operation has arity 2.
- MIN - Enum constant in enum class io.jenetics.prog.op.MathOp
-
Return the minimum of two values.
- MOD - Enum constant in enum class io.jenetics.prog.op.MathOp
-
Returns the modulo of its arguments.
- mse(Double[], Double[]) - Static method in interface io.jenetics.prog.regression.LossFunction
-
Mean square error is measured as the average of squared difference between predictions and actual observations.
- MUL - Enum constant in enum class io.jenetics.prog.op.MathOp
-
Returns the product of its arguments.
N
- name() - Method in interface io.jenetics.prog.op.Op
-
Return the name of the operation.
- name() - Method in class io.jenetics.prog.op.Program
- name() - Method in class io.jenetics.prog.op.Val
- name() - Method in class io.jenetics.prog.op.Var
- NAMES - Static variable in enum class io.jenetics.prog.op.MathOp
-
The names of all defined operation names.
- NEG - Enum constant in enum class io.jenetics.prog.op.MathOp
-
Return the negation value of a double value.
- newInstance() - Method in class io.jenetics.prog.ProgramChromosome
- newInstance() - Method in class io.jenetics.prog.ProgramGene
- newInstance(Op<A>) - Method in class io.jenetics.prog.ProgramGene
-
Create a new program gene with the given operation.
- newInstance(Op<A>, int, int) - Method in class io.jenetics.prog.ProgramGene
-
Return a new program gene with the given operation and the local tree structure.
- newInstance(ISeq<ProgramGene<A>>) - Method in class io.jenetics.prog.ProgramChromosome
- NOT - Enum constant in enum class io.jenetics.prog.op.BoolOp
-
Negation.
O
- of(int, ISeq<? extends Op<A>>, ISeq<? extends Op<A>>) - Static method in class io.jenetics.prog.op.Program
-
Create a new, random program tree from the given (non) terminal operations with the desired depth.
- of(int, ISeq<? extends Op<A>>, ISeq<? extends Op<A>>) - Static method in class io.jenetics.prog.ProgramChromosome
-
Create a new program chromosome with the defined depth.
- of(int, ISeq<? extends Op<A>>, ISeq<? extends Op<A>>, RandomGenerator) - Static method in class io.jenetics.prog.op.Program
-
Create a new, random program tree from the given (non) terminal operations with the desired depth.
- of(int, Predicate<? super ProgramChromosome<A>>, ISeq<? extends Op<A>>, ISeq<? extends Op<A>>) - Static method in class io.jenetics.prog.ProgramChromosome
-
Create a new program chromosome with the defined depth.
- of(Codec<Tree<Op<T>, ?>, ProgramGene<T>>, Error<T>, Sample<T>...) - Static method in class io.jenetics.prog.regression.Regression
-
Create a new regression problem instance with the given parameters.
- of(Codec<Tree<Op<T>, ?>, ProgramGene<T>>, Error<T>, Sampling<T>) - Static method in class io.jenetics.prog.regression.Regression
-
Create a new regression problem instance with the given parameters.
- of(Codec<Tree<Op<T>, ?>, ProgramGene<T>>, Error<T>, Iterable<? extends Sample<T>>) - Static method in class io.jenetics.prog.regression.Regression
-
Create a new regression problem instance with the given parameters.
- of(Tree<? extends Op<A>, ?>, ISeq<? extends Op<A>>, ISeq<? extends Op<A>>) - Static method in class io.jenetics.prog.ProgramChromosome
-
Create a new chromosome from the given operation tree (program).
- of(Tree<? extends Op<A>, ?>, Predicate<? super ProgramChromosome<A>>, ISeq<? extends Op<A>>, ISeq<? extends Op<A>>) - Static method in class io.jenetics.prog.ProgramChromosome
-
Create a new chromosome from the given operation tree (program).
- of(LossFunction<T>) - Static method in interface io.jenetics.prog.regression.Error
-
Creates an error function which only uses the given
loss
function for calculating the program error - of(LossFunction<T>, Complexity<T>) - Static method in interface io.jenetics.prog.regression.Error
-
Creates an error function by combining the given
loss
function and programcomplexity
. - of(LossFunction<T>, Complexity<T>, DoubleBinaryOperator) - Static method in interface io.jenetics.prog.regression.Error
-
Creates an error function by combining the given
loss
function and programcomplexity
. - of(Sample<? extends T>...) - Static method in interface io.jenetics.prog.regression.Sampling
-
Create a new sampling object from the given sample points.
- of(ISeq<ProgramGene<A>>, ISeq<? extends Op<A>>, ISeq<? extends Op<A>>) - Static method in class io.jenetics.prog.ProgramChromosome
- of(ISeq<ProgramGene<A>>, Predicate<? super ProgramChromosome<A>>, ISeq<? extends Op<A>>, ISeq<? extends Op<A>>) - Static method in class io.jenetics.prog.ProgramChromosome
-
Create a new program chromosome from the given (flattened) program tree.
- of(String) - Static method in class io.jenetics.prog.op.Var
-
Create a new variable with the given
name
. - of(String, int) - Static method in class io.jenetics.prog.op.Var
-
Create a new variable with the given
name
and projectionindex
. - of(String, int, ISeq<? extends Op<A>>, ISeq<? extends Op<A>>) - Static method in class io.jenetics.prog.op.Program
-
Create a new, random program from the given (non) terminal operations with the desired depth.
- of(String, int, ISeq<? extends Op<A>>, ISeq<? extends Op<A>>, RandomGenerator) - Static method in class io.jenetics.prog.op.Program
-
Create a new, random program from the given (non) terminal operations with the desired depth.
- of(String, int, Function<T[], T>) - Static method in interface io.jenetics.prog.op.Op
-
Create a new operation from the given parameter.
- of(String, BinaryOperator<T>) - Static method in interface io.jenetics.prog.op.Op
-
Create a new operation with the given name and binary operation.
- of(String, Supplier<T>) - Static method in class io.jenetics.prog.op.EphemeralConst
-
Create a new ephemeral constant with the given
name
and valuesupplier
. - of(String, UnaryOperator<T>) - Static method in interface io.jenetics.prog.op.Op
-
Create a new operation with the given name and unary operation.
- of(String, T) - Static method in class io.jenetics.prog.op.Const
-
Return a new constant with the given name and value.
- of(Supplier<T>) - Static method in class io.jenetics.prog.op.EphemeralConst
-
Create a new ephemeral constant with the given value
supplier
. - of(List<? extends Sample<? extends T>>) - Static method in interface io.jenetics.prog.regression.Sampling
-
Create a new sampling object from the given sample points.
- of(T) - Static method in class io.jenetics.prog.op.Const
-
Return a new constant with the given value.
- of(T[]) - Static method in interface io.jenetics.prog.regression.Sample
-
Create a new sample point from the given argument and sample result.
- ofDouble(double...) - Static method in interface io.jenetics.prog.regression.Sample
-
Create a new sample point from the given argument and sample result.
- ofDouble(double, double) - Static method in interface io.jenetics.prog.regression.Sample
-
Create a new sample point from the given argument and sample result.
- ofDouble(double, double, double) - Static method in interface io.jenetics.prog.regression.Sample
-
Create a new sample point from the given argument and sample result.
- ofDouble(double, double, double, double) - Static method in interface io.jenetics.prog.regression.Sample
-
Create a new sample point from the given argument and sample result.
- ofNodeCount(int) - Static method in interface io.jenetics.prog.regression.Complexity
-
Return a complexity measure which counts the number of nodes of a program.
- ofType(Class<? extends T>) - Static method in class io.jenetics.prog.op.ConstRewriter
-
Create a new rewriter for constant operation subtrees (expressions).
- Op<T> - Interface in io.jenetics.prog.op
-
Operation interface.
- operations() - Method in class io.jenetics.prog.ProgramChromosome
-
Return the allowed operations.
- operations() - Method in class io.jenetics.prog.ProgramGene
-
Return the allowed operations.
- Operations - Search tag in package io.jenetics.prog.op
- Section
- OR - Enum constant in enum class io.jenetics.prog.op.BoolOp
-
Disjunction.
P
- parse(String) - Static method in class io.jenetics.prog.op.MathExpr
-
Parses the given
expression
into an AST tree. - parse(String) - Static method in class io.jenetics.prog.op.Var
-
Parses the given variable string to its name and index.
- parseDoubles(CharSequence) - Static method in interface io.jenetics.prog.regression.Sample
-
Parses the given CSV string into a list of double sample points.
- parseTree(String) - Static method in class io.jenetics.prog.op.MathExpr
-
Parses the given mathematical expression string and returns the mathematical expression tree.
- PI - Static variable in enum class io.jenetics.prog.op.MathOp
-
The double value that is closer than any other to pi, the ratio of the circumference of a circle to its diameter.
- POW - Enum constant in enum class io.jenetics.prog.op.MathOp
-
Returns the value of the first argument raised to the power of the second argument.
- Program<T> - Class in io.jenetics.prog.op
-
This class composes a given operation tree to a new operation, which can serve as a sub program in another operation tree.
- Program(String, Tree<? extends Op<T>, ?>) - Constructor for class io.jenetics.prog.op.Program
-
Create a new program with the given name and the given operation tree.
- ProgramChromosome<A> - Class in io.jenetics.prog
-
Holds the nodes of the operation tree.
- ProgramChromosome(ISeq<ProgramGene<A>>, Predicate<? super ProgramChromosome<A>>, ISeq<? extends Op<A>>, ISeq<? extends Op<A>>) - Constructor for class io.jenetics.prog.ProgramChromosome
-
Create a new program chromosome from the given program genes.
- ProgramGene<A> - Class in io.jenetics.prog
-
This gene represents a program, build upon an AST of
Op
functions. - publish() - Method in class io.jenetics.prog.regression.SampleBuffer
-
Making the current sample points available for the
SampleBuffer.eval(Tree)
function.
R
- Regression<T> - Class in io.jenetics.prog.regression
-
This class implements a symbolic regression problem.
- reindex(TreeNode<Op<V>>) - Static method in class io.jenetics.prog.op.Var
-
Re-indexes the variables of the given operation
tree
. - reindex(TreeNode<Op<V>>, Map<Var<V>, Integer>) - Static method in class io.jenetics.prog.op.Var
-
Re-indexes the variables of the given operation
tree
. - result() - Method in interface io.jenetics.prog.regression.Sample
-
Return the result of the sample point.
- Result(T[], T[]) - Constructor for record class io.jenetics.prog.regression.Sampling.Result
-
Creates an instance of a
Result
record class. - rewrite(TreeNode<Op<Double>>) - Static method in class io.jenetics.prog.op.MathExpr
-
Applies the
MathExpr.REWRITER
to the given (mutable)tree
. - rewrite(TreeNode<Op<Double>>, int) - Static method in class io.jenetics.prog.op.MathExpr
-
Applies the
MathExpr.REWRITER
to the given (mutable)tree
. - rewrite(TreeNode<Op<T>>, int) - Method in class io.jenetics.prog.op.ConstRewriter
- REWRITER - Static variable in class io.jenetics.prog.op.MathExpr
-
Combination of the
MathExpr.ARITHMETIC_REWRITER
and theMathExpr.CONST_REWRITER
, in this specific order. - RINT - Enum constant in enum class io.jenetics.prog.op.MathOp
-
Returns the double value that is closest in value to the argument and is equal to a mathematical integer.
- rmse(Double[], Double[]) - Static method in interface io.jenetics.prog.regression.LossFunction
-
Root-mean-square error is measured as the average of squared difference between predictions and actual observations.
S
- Sample<T> - Interface in io.jenetics.prog.regression
-
Represents a sample point used for the symbolic regression task.
- SampleBuffer<T> - Class in io.jenetics.prog.regression
-
This class holds the actual sample values which are used for the symbolic regression example.
- SampleBuffer(int) - Constructor for class io.jenetics.prog.regression.SampleBuffer
- Sampling<T> - Interface in io.jenetics.prog.regression
-
This interface represents a set of sample points, which can be evaluated with a given evolved program.
- Sampling.Result<T> - Record Class in io.jenetics.prog.regression
-
This class represents the result of a sample calculation, which contains the array of calculated values and a corresponding array with expected sample values.
- SIGNUM - Enum constant in enum class io.jenetics.prog.op.MathOp
-
Returns the signum function of the argument; zero if the argument is zero, 1.0 if the argument is greater than zero, -1.0 if the argument is less than zero.
- simplify() - Method in class io.jenetics.prog.op.MathExpr
-
Simplifies
this
expression by applying the defaultMathExpr.REWRITER
. - simplify(TreeRewriter<Op<Double>>) - Method in class io.jenetics.prog.op.MathExpr
-
Simplifying
this
expression by applying the givenrewriter
. - simplify(TreeRewriter<Op<Double>>, int) - Method in class io.jenetics.prog.op.MathExpr
-
Simplifying
this
expression by applying the givenrewriter
and the given rewritelimit
. - SIN - Enum constant in enum class io.jenetics.prog.op.MathOp
-
Returns the trigonometric sine of an angle.
- SINH - Enum constant in enum class io.jenetics.prog.op.MathOp
-
Returns the hyperbolic sine of a double value.
- SQR - Enum constant in enum class io.jenetics.prog.op.MathOp
-
Returns the square value of a given double value.
- SQRT - Enum constant in enum class io.jenetics.prog.op.MathOp
-
Returns the correctly rounded positive square root of a double value.
- SUB - Enum constant in enum class io.jenetics.prog.op.MathOp
-
Return the diff of its arguments.
T
- TAN - Enum constant in enum class io.jenetics.prog.op.MathOp
-
Returns the trigonometric tangent of an angle.
- TANH - Enum constant in enum class io.jenetics.prog.op.MathOp
-
Returns the hyperbolic tangent of a double value.
- terminals() - Method in class io.jenetics.prog.ProgramChromosome
-
Return the allowed terminal operations.
- terminals() - Method in class io.jenetics.prog.ProgramGene
-
Return the allowed terminal operations.
- toBoolOp(String) - Static method in enum class io.jenetics.prog.op.BoolOp
-
Converts the string representation of an operation to the operation object.
- toMathOp(String) - Static method in enum class io.jenetics.prog.op.MathOp
-
Converts the string representation of an operation to the operation object.
- toString() - Method in enum class io.jenetics.prog.op.BoolOp
- toString() - Method in class io.jenetics.prog.op.Const
- toString() - Method in class io.jenetics.prog.op.ConstRewriter
- toString() - Method in class io.jenetics.prog.op.EphemeralConst
- toString() - Method in class io.jenetics.prog.op.MathExpr
-
Return the string representation of this
MathExpr
object. - toString() - Method in enum class io.jenetics.prog.op.MathOp
- toString() - Method in class io.jenetics.prog.op.Program
- toString() - Method in class io.jenetics.prog.op.Var
- toString() - Method in record class io.jenetics.prog.regression.Sampling.Result
-
Returns a string representation of this record class.
- toTree() - Method in class io.jenetics.prog.op.MathExpr
-
Deprecated, for removal: This API element is subject to removal in a future version.
- toTree(ISeq<? extends FlatTree<? extends Op<A>, ?>>, ISeq<? extends Op<A>>) - Static method in class io.jenetics.prog.op.Program
-
Creates a valid program tree from the given flattened sequence of op nodes.
- toTreeNode() - Method in class io.jenetics.prog.ProgramGene
-
Creates a new
TreeNode
from this program gene. - tree() - Method in class io.jenetics.prog.op.MathExpr
-
Return the operation tree underlying
this
math expression. - tree() - Method in class io.jenetics.prog.op.Program
-
Return the underlying expression tree.
- TRUE - Static variable in enum class io.jenetics.prog.op.BoolOp
-
Represents the constant
true
. - type() - Method in class io.jenetics.prog.op.ConstRewriter
-
Return the operation type this rewriter is working on.
V
- Val<T> - Class in io.jenetics.prog.op
-
This is the sealed base class for unmodifiable values.
- value() - Method in class io.jenetics.prog.op.Const
- value() - Method in class io.jenetics.prog.op.EphemeralConst
-
Fixes and returns the constant value.
- value() - Method in class io.jenetics.prog.op.Val
-
Return the constant value.
- valueOf(String) - Static method in enum class io.jenetics.prog.op.BoolOp
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.jenetics.prog.op.MathOp
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.jenetics.prog.op.BoolOp
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.jenetics.prog.op.MathOp
-
Returns an array containing the constants of this enum class, in the order they are declared.
- Var - Search tag in package io.jenetics.prog.op
- Section
- Var<T> - Class in io.jenetics.prog.op
-
Represents the program variables.
- vars() - Method in class io.jenetics.prog.op.MathExpr
-
Return the variable list of this math expression.
X
A B C D E F G H I L M N O P R S T V XAll Classes and Interfaces|All Packages|Serialized Form
MathExpr.tree()
instead