Skip navigation links
A B C E F G H I L M N O P R S T V 

A

apply(Boolean[]) - Method in enum io.jenetics.prog.op.BoolOp
 
apply(Double[]) - Method in class io.jenetics.prog.op.MathExpr
 
apply(Double[]) - Method in enum 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 returns the Val.value().
apply(T[]) - Method in class io.jenetics.prog.op.Var
 
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(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 io.jenetics.prog.op.BoolOp
 
arity() - Method in enum 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.

B

BoolOp - Enum in io.jenetics.prog.op
This class contains basic and secondary boolean operations.

C

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, 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.
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.
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<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.
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.

E

E - Static variable in enum io.jenetics.prog.op.MathOp
The double value that is closer than any other to e, the base of the natural logarithms.
EphemeralConst<T> - Class in io.jenetics.prog.op
Implementation of an ephemeral constant.
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
 
Error<T> - Interface in io.jenetics.prog.regression
This function calculates the overall error of a given program tree.
error(Tree<Op<T>, ?>) - Method in class io.jenetics.prog.regression.Regression
Calculates the actual error for the given program.
eval(boolean...) - Method in enum 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(String, double...) - Static method in class io.jenetics.prog.op.MathExpr
Evaluates the given expression with the given arguments.
eval(Tree<? extends Op<Double>, ?>, double...) - Static method in class io.jenetics.prog.op.MathExpr
Evaluates the given expression with the given arguments.
eval(double...) - Method in enum io.jenetics.prog.op.MathOp
Evaluates the operation with the given arguments.
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.
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(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.

F

FALSE - Static variable in enum io.jenetics.prog.op.BoolOp
Represents the constant true.
fitness() - Method in class io.jenetics.prog.regression.Regression
 
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.
getOperations() - Method in class io.jenetics.prog.ProgramGene
Return the allowed operations.
getTerminals() - Method in class io.jenetics.prog.ProgramGene
Return the allowed terminal operations.

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
 

I

index() - Method in class io.jenetics.prog.op.Var
The projection index of the variable.
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

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
This class allows you to create a math operation tree from an expression string.
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 in io.jenetics.prog.op
This class contains operations for performing basic numeric operations.
MathRewriteAlterer<G extends TreeGene<Op<Double>,G>,C extends Comparable<? super C>> - Class in io.jenetics.prog
Prunes a given mathematical tree with the given alterer probability.
MathRewriteAlterer(TreeRewriter<Op<Double>>, int, double) - Constructor for class io.jenetics.prog.MathRewriteAlterer
Create a new alterer with the given rewriter and given rewrite limit.
MathRewriteAlterer(TreeRewriter<Op<Double>>, double) - Constructor for class io.jenetics.prog.MathRewriteAlterer
Create a new alterer with the given rewriter and given rewrite limit.
MathRewriteAlterer(TreeRewriter<Op<Double>>) - Constructor for class io.jenetics.prog.MathRewriteAlterer
Create a new alterer with the given rewriter.
MathRewriteAlterer(double) - Constructor for class io.jenetics.prog.MathRewriteAlterer
Create a new alterer with the default math rewriter MathExpr.REWRITER and given rewrite.
MathRewriteAlterer() - Constructor for class io.jenetics.prog.MathRewriteAlterer
Create a new alterer with the default math rewriter MathExpr.REWRITER and given rewrite.
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.

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
 
newInstance(ISeq<ProgramGene<A>>) - Method in class io.jenetics.prog.ProgramChromosome
 
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.

O

of(String, T) - Static method in class io.jenetics.prog.op.Const
Return a new constant with the given name and value.
of(T) - Static method in class io.jenetics.prog.op.Const
Return a new constant with the given value.
of(String, Supplier<T>) - Static method in class io.jenetics.prog.op.EphemeralConst
Create a new ephemeral constant with the given name and value supplier.
of(Supplier<T>) - Static method in class io.jenetics.prog.op.EphemeralConst
Create a new ephemeral constant with the given value supplier.
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, UnaryOperator<T>) - Static method in interface io.jenetics.prog.op.Op
Create a new operation with the given name and unary operation.
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, 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>>, Random) - 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(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>>, Random) - 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(String, int) - Static method in class io.jenetics.prog.op.Var
Create a new variable with the given name and projection index.
of(String) - Static method in class io.jenetics.prog.op.Var
Create a new variable with the given name.
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(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(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(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(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(ISeq<ProgramGene<A>>, ISeq<? extends Op<A>>, ISeq<? extends Op<A>>) - Static method in class io.jenetics.prog.ProgramChromosome
 
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 program complexity.
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 program complexity.
of(Codec<Tree<Op<T>, ?>, ProgramGene<T>>, Error<T>, Iterable<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>, Sample<T>...) - Static method in class io.jenetics.prog.regression.Regression
Create a new regression problem instance with the given parameters.
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, 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.
Op<T> - Interface in io.jenetics.prog.op
Operation interface.
operations() - Method in class io.jenetics.prog.ProgramChromosome
Return the allowed operations.

P

parse(String) - Static method in class io.jenetics.prog.op.MathExpr
Parses the given expression into a AST tree.
parse(String) - Static method in class io.jenetics.prog.op.Var
Parses the given variable string to its name and index.
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 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.
Program<T> - Class in io.jenetics.prog.op
This class composes a given operation tree to a new operation.
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.

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.
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<Double>>) - Static method in class io.jenetics.prog.op.MathExpr
Applies the MathExpr.REWRITER to the given (mutable) tree.
REWRITER - Static variable in class io.jenetics.prog.op.MathExpr
Combination of the MathExpr.ARITHMETIC_REWRITER and the MathExpr.CONST_REWRITER, in this specific order.
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.
samples() - Method in class io.jenetics.prog.regression.Regression
Return an immutable list of the symbolic regression's points.
simplify(TreeRewriter<Op<Double>>, int) - Method in class io.jenetics.prog.op.MathExpr
Simplifying this expression by applying the given rewriter and the given rewrite limit.
simplify(TreeRewriter<Op<Double>>) - Method in class io.jenetics.prog.op.MathExpr
Simplifying this expression by applying the given rewriter.
simplify() - Method in class io.jenetics.prog.op.MathExpr
Simplifies this expression by applying the default MathExpr.REWRITER.

T

terminals() - Method in class io.jenetics.prog.ProgramChromosome
Return the allowed terminal operations.
toBoolOp(String) - Static method in enum io.jenetics.prog.op.BoolOp
Converts the string representation of an operation to the operation object.
toMathOp(String) - Static method in enum io.jenetics.prog.op.MathOp
Converts the string representation of an operation to the operation object.
toString() - Method in enum io.jenetics.prog.op.BoolOp
 
toString() - Method in class io.jenetics.prog.op.Const
 
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 io.jenetics.prog.op.MathOp
 
toString() - Method in class io.jenetics.prog.op.Program
 
toString() - Method in class io.jenetics.prog.op.Var
 
toTree() - Method in class io.jenetics.prog.op.MathExpr
Return the math expression as operation tree.
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.Program
Return the underlying expression tree.
TRUE - Static variable in enum io.jenetics.prog.op.BoolOp
Represents the constant true.

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 io.jenetics.prog.op.BoolOp
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.jenetics.prog.op.MathOp
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.jenetics.prog.op.BoolOp
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.jenetics.prog.op.MathOp
Returns an array containing the constants of this enum type, in the order they are declared.
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.
A B C E F G H I L M N O P R S T V 
Skip navigation links

© 2007-2019 Franz Wilhelmstötter  (2019-11-18 20:30)