class

Moses::Representation::ProgramGenerator

Inherits Reference < Object

Simple program generator for creating initial random programs

Constructors

new(problem_type : ProblemType, input_size : Int32, max_depth : Int32 = 3)
Source

Instance methods

generate_random

Generate a random program based on problem type

Source
input_size
Source
input_size=(input_size : Int32)
Source
max_depth
Source
max_depth=(max_depth : Int32)
Source
problem_type
Source
problem_type=(problem_type : ProblemType)
Source