public final class RunBuilder extends Object
Modifier and Type | Class and Description |
---|---|
class |
RunBuilder.Config
Provides access to configuration values that have already been set on a
RunBuilder . |
static interface |
RunBuilder.FunctionSetSetter
Allows the function set to be configured.
|
class |
RunBuilder.GenerationEvolverSetter
Provides the option to configure the how new generations evolve from existing ones, or to skip that option and instead configure the termination criteria.
|
class |
RunBuilder.GenerationRankerSetter
Allows the configuration of the mechanism for ranking candidates.
|
class |
RunBuilder.InitialPopulationSetter
Allows the initial population to be specified.
|
static interface |
RunBuilder.MaxGenerationsTerminatorSetter
Allows termination criteria to be configured.
|
static interface |
RunBuilder.MaxGenerationsTerminatorSetterOrProcessRunner
Provides a method for starting the genetic programming run or setting more termination criteria.
|
static interface |
RunBuilder.MaxGenerationsWithoutImprovementTerminatorSetter
Allows termination criteria to be configured.
|
static interface |
RunBuilder.MaxGenerationsWithoutImprovementTerminatorSetterOrProcessRunner
Provides a method for starting the genetic programming run or setting more termination criteria.
|
class |
RunBuilder.PrimitiveSetSetter
Allows the primitive set to be configured.
|
static interface |
RunBuilder.ProcessRunner
Provides a method for starting the genetic programming run.
|
class |
RunBuilder.RandomSetter
Provides the option to set a random number generator, or to skip that option and instead configure the primitive set.
|
static interface |
RunBuilder.TerminatorSetter
Allows termination criteria to be configured.
|
static interface |
RunBuilder.TerminatorSetterOrProcessRunner
Provides a method for starting the genetic programming run or setting more termination criteria.
|
class |
RunBuilder.TreeDepthSetter
Allows configuration of the maximum tree depth of trees randomly generated for the initial population.
|
class |
RunBuilder.VariablesRatioSetter
Allows the ratio of variables to constants to be configured.
|
class |
RunBuilder.VariablesSetter
Allows the variable types to be configured.
|
Constructor and Description |
---|
RunBuilder() |
Modifier and Type | Method and Description |
---|---|
RunBuilder.RandomSetter |
setReturnType(Type returnType)
Sets the required
Type associated with the values produced as a result of evaluating the programs that are automatically generated by the run. |
public RunBuilder.RandomSetter setReturnType(Type returnType)
Type
associated with the values produced as a result of evaluating the programs that are automatically generated by the run.OakGP Genetic Programming Framework