Package | Description |
---|---|
org.oakgp |
A tree-based genetic programming framework.
|
org.oakgp.function |
Provides functions that accept arguments and produce a result.
|
org.oakgp.function.choice |
Provides functions for selection.
|
org.oakgp.function.classify |
Provides functions for classifying
Node instances. |
org.oakgp.function.coll |
Provides functions for working with collections.
|
org.oakgp.function.hof |
Provides higher-order functions.
|
org.oakgp.node |
Provides classes that can be used to construct hierarchical tree structures.
|
org.oakgp.rank.fitness |
Provides classes for using a fitness function to rank the candidates of a generation.
|
Modifier and Type | Method and Description |
---|---|
static Assignments |
Assignments.createAssignments(Object... values)
Returns a new
Assignments which contains the specified values. |
Modifier and Type | Method and Description |
---|---|
Object |
Function.evaluate(Arguments arguments,
Assignments assignments)
Returns the result of applying this operation to the specified
Arguments and Assignments . |
Modifier and Type | Method and Description |
---|---|
Object |
SwitchEnum.evaluate(Arguments arguments,
Assignments assignments) |
Object |
OrElse.evaluate(Arguments arguments,
Assignments assignments) |
Object |
If.evaluate(Arguments arguments,
Assignments assignments) |
Modifier and Type | Method and Description |
---|---|
Object |
IsZero.evaluate(Arguments arguments,
Assignments assignments) |
Object |
IsPositive.evaluate(Arguments arguments,
Assignments assignments) |
Object |
IsNegative.evaluate(Arguments arguments,
Assignments assignments) |
Modifier and Type | Method and Description |
---|---|
Object |
Count.evaluate(Arguments arguments,
Assignments assignments) |
Modifier and Type | Method and Description |
---|---|
Object |
Reduce.evaluate(Arguments arguments,
Assignments assignments) |
Object |
Map.evaluate(Arguments arguments,
Assignments assignments) |
Object |
Filter.evaluate(Arguments arguments,
Assignments assignments) |
Modifier and Type | Method and Description |
---|---|
Object |
VariableNode.evaluate(Assignments assignments)
Returns the value assigned to this
VariableNode by the specified Assignments . |
Object |
FunctionNode.evaluate(Assignments assignments) |
Object |
ConstantNode.evaluate(Assignments assignments)
Returns the value specified when this
ConstantNode was constructed. |
<T> T |
Node.evaluate(Assignments assignments)
Returns the result of evaluating this
Node using the values of the specified Assignments . |
Modifier and Type | Method and Description |
---|---|
static TestDataFitnessFunction<Integer> |
TestDataFitnessFunction.createIntegerTestDataFitnessFunction(Map<Assignments,Integer> tests)
Returns a new
FitnessFunction which uses the specified test data to assess the fitness of potential solutions. |
Constructor and Description |
---|
TestDataFitnessFunction(Map<Assignments,T> tests,
ToDoubleBiFunction<T,T> rankingFunction)
Creates a
TestDataFitnessFunction which uses the given test cases and ranking function to determine the suitability of candidates. |
OakGP Genetic Programming Framework