org.encog.ml.prg.generator
public interface PrgGenerator extends PopulationGenerator
Modifier and Type | Method and Description |
---|---|
ProgramNode |
createNode(Random rnd,
EncogProgram program,
int depthRemaining,
List<ValueType> types)
Create a random node for an Encog Program.
|
int |
getMaxGenerationErrors() |
void |
setMaxGenerationErrors(int maxGenerationErrors)
Set the maximum errors to allow during generation.
|
generate, generate
ProgramNode createNode(Random rnd, EncogProgram program, int depthRemaining, List<ValueType> types)
rnd
- Random number generator.program
- The program that the node should be generated for.depthRemaining
- The depth remaining to generate.types
- The types to generate.int getMaxGenerationErrors()
void setMaxGenerationErrors(int maxGenerationErrors)
maxGenerationErrors
- The max errors.Copyright © 2014. All Rights Reserved.