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

A

apply(T[]) - Method in class io.jenetics.prog.op.Const
 
apply(T[]) - Method in class io.jenetics.prog.op.EphemeralConst
 
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.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.
arity() - Method in class io.jenetics.prog.op.Const
 
arity() - Method in class io.jenetics.prog.op.EphemeralConst
 
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.Var
 

C

check(Tree<? extends Op<?>, ?>) - Static method in class io.jenetics.prog.op.Program
Validates the given program tree.
Const<T> - Class in io.jenetics.prog.op
Represents an operation which always returns the same, constant, value.

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.Const
 
equals(Object) - Method in class io.jenetics.prog.op.EphemeralConst
 
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.Var
 
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(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

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.ProgramChromosome
Return the allowed operations.
getOperations() - Method in class io.jenetics.prog.ProgramGene
Return the allowed operations.
getTerminals() - Method in class io.jenetics.prog.ProgramChromosome
Return the allowed terminal operations.
getTerminals() - Method in class io.jenetics.prog.ProgramGene
Return the allowed terminal operations.

H

hashCode() - Method in class io.jenetics.prog.op.Const
 
hashCode() - Method in class io.jenetics.prog.op.EphemeralConst
 
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.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
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
 

M

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.
MathTreePruneAlterer<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.
MathTreePruneAlterer() - Constructor for class io.jenetics.prog.MathTreePruneAlterer
 
MathTreePruneAlterer(double) - Constructor for class io.jenetics.prog.MathTreePruneAlterer
 
mutate(TreeNode<Op<Double>>) - Method in class io.jenetics.prog.MathTreePruneAlterer
 

N

name() - Method in class io.jenetics.prog.op.Const
 
name() - Method in class io.jenetics.prog.op.EphemeralConst
 
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.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(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
 
Op<T> - Interface in io.jenetics.prog.op
Operation interface.

P

parse(String) - Static method in class io.jenetics.prog.op.MathExpr
Parses the given expression into a AST tree.
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.
prune(TreeNode<Op<Double>>) - Static method in class io.jenetics.prog.op.MathExpr
Tries to simplify the given math tree in place.

S

simplify() - Method in class io.jenetics.prog.op.MathExpr
Tries to simplify this math expression.
simplify(Tree<? extends Op<Double>, ?>) - Static method in class io.jenetics.prog.op.MathExpr
Tries to simplify the given math tree.

T

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(Tree<? extends Op<Double>, ?>) - Static method in class io.jenetics.prog.op.MathExpr
Deprecated.
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.
tree() - Method in class io.jenetics.prog.op.Program
Return the underlying expression tree.

V

value() - Method in class io.jenetics.prog.op.Const
Return the constant value.
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.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 C E F G H I M N O P S T V 
Skip navigation links

© 2007-2018 Franz Wilhelmstötter  (2018-10-28 17:23)