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

A

apply(T[]) - Method in class org.jenetics.prog.op.Const
 
apply(T[]) - Method in class org.jenetics.prog.op.EphemeralConst
 
apply(Double[]) - Method in enum org.jenetics.prog.op.MathOp
 
apply(T[]) - Method in class org.jenetics.prog.op.Program
 
apply(T[]) - Method in class org.jenetics.prog.op.Var
 
apply(A[]) - Method in class org.jenetics.prog.ProgramChromosome
Evaluates the root node of this chromosome.
apply(A[]) - Method in class org.jenetics.prog.ProgramGene
Evaluates this program gene (recursively) with the given variable values.
arity() - Method in class org.jenetics.prog.op.Const
 
arity() - Method in class org.jenetics.prog.op.EphemeralConst
 
arity() - Method in enum org.jenetics.prog.op.MathOp
 
arity() - Method in interface org.jenetics.prog.op.Op
Return the arity of the operation function.
arity() - Method in class org.jenetics.prog.op.Program
 
arity() - Method in class org.jenetics.prog.op.Var
 

C

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

E

E - Static variable in enum org.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 org.jenetics.prog.op
Implementation of an ephemeral constant.
equals(Object) - Method in class org.jenetics.prog.op.Const
 
equals(Object) - Method in class org.jenetics.prog.op.EphemeralConst
 
equals(Object) - Method in class org.jenetics.prog.op.Var
 
eval(T...) - Method in class org.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 org.jenetics.prog.op.Program
Evaluates the given operation tree with the given variables.
eval(A...) - Method in class org.jenetics.prog.ProgramChromosome
Evaluates the root node of this chromosome.
eval(A...) - Method in class org.jenetics.prog.ProgramGene
Convenient method, which lets you apply the program function without explicitly create a wrapper array.

G

get() - Method in class org.jenetics.prog.op.EphemeralConst
Return a newly created, uninitialized constant of type T.
get() - Method in interface org.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 org.jenetics.prog.ProgramChromosome
Return the allowed operations.
getOperations() - Method in class org.jenetics.prog.ProgramGene
Return the allowed operations.
getTerminals() - Method in class org.jenetics.prog.ProgramChromosome
Return the allowed terminal operations.
getTerminals() - Method in class org.jenetics.prog.ProgramGene
Return the allowed terminal operations.

H

hashCode() - Method in class org.jenetics.prog.op.Const
 
hashCode() - Method in class org.jenetics.prog.op.EphemeralConst
 
hashCode() - Method in class org.jenetics.prog.op.Var
 

I

index() - Method in class org.jenetics.prog.op.Var
The projection index of the variable.
isTerminal() - Method in interface org.jenetics.prog.op.Op
Determines if the operation is a terminal operation.
isValid() - Method in class org.jenetics.prog.ProgramChromosome
 

M

MathOp - Enum in org.jenetics.prog.op
This class contains operations for performing basic numeric operations.

N

name() - Method in class org.jenetics.prog.op.Const
 
name() - Method in class org.jenetics.prog.op.EphemeralConst
 
name() - Method in interface org.jenetics.prog.op.Op
Return the name of the operation.
name() - Method in class org.jenetics.prog.op.Program
 
name() - Method in class org.jenetics.prog.op.Var
 
newInstance(ISeq<ProgramGene<A>>) - Method in class org.jenetics.prog.ProgramChromosome
 
newInstance() - Method in class org.jenetics.prog.ProgramChromosome
 
newInstance() - Method in class org.jenetics.prog.ProgramGene
 
newInstance(Op<A>) - Method in class org.jenetics.prog.ProgramGene
Create a new program gene with the given operation.
newInstance(Op<A>, int, int) - Method in class org.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 org.jenetics.prog.op.Const
Return a new constant with the given name and value.
of(T) - Static method in class org.jenetics.prog.op.Const
Return a new constant with the given value.
of(String, Supplier<T>) - Static method in class org.jenetics.prog.op.EphemeralConst
Create a new ephemeral constant with the given name and value supplier.
of(Supplier<T>) - Static method in class org.jenetics.prog.op.EphemeralConst
Create a new ephemeral constant with the given value supplier.
of(String, int, Function<T[], T>) - Static method in interface org.jenetics.prog.op.Op
Create a new operation from the given parameter.
of(int, ISeq<? extends Op<A>>, ISeq<? extends Op<A>>) - Static method in class org.jenetics.prog.op.Program
Create a new program tree from the given (non) terminal operations with the desired depth.
of(String, int) - Static method in class org.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 org.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 org.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 org.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 org.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 org.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 org.jenetics.prog.ProgramChromosome
 
Op<T> - Interface in org.jenetics.prog.op
Operation interface.
org.jenetics.prog - package org.jenetics.prog
Example
org.jenetics.prog.op - package org.jenetics.prog.op
Operations

P

PI - Static variable in enum org.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 org.jenetics.prog.op
This class composes a given operation tree to a new operation.
Program(String, Tree<? extends Op<T>, ?>) - Constructor for class org.jenetics.prog.op.Program
Create a new program with the given name and the given operation tree.
ProgramChromosome<A> - Class in org.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 org.jenetics.prog.ProgramChromosome
Create a new program chromosome from the given program genes.
ProgramGene<A> - Class in org.jenetics.prog
This gene represents a program, build upon an AST of Op functions.

T

toString() - Method in class org.jenetics.prog.op.Const
 
toString() - Method in class org.jenetics.prog.op.EphemeralConst
 
toString() - Method in enum org.jenetics.prog.op.MathOp
 
toString() - Method in class org.jenetics.prog.op.Program
 
toString() - Method in class org.jenetics.prog.op.Var
 
toTree(ISeq<? extends FlatTree<? extends Op<A>, ?>>, ISeq<? extends Op<A>>) - Static method in class org.jenetics.prog.op.Program
Creates a valid program tree from the given flattened sequence of op nodes.

V

valueOf(String) - Static method in enum org.jenetics.prog.op.MathOp
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.jenetics.prog.op.MathOp
Returns an array containing the constants of this enum type, in the order they are declared.
Var<T> - Class in org.jenetics.prog.op
Represents the program variables.
A C E G H I M N O P T V 
Skip navigation links

© 2007-2017 Franz Wilhelmstötter  (2017-08-22 19:30)