In file code/C/program.H: class GProgram : public GObject
An encapsulation of the information necessary to run a program
Inheritance:
public members:
-
- GArray < GFitness > fit_array
- Fitness scores, for each model
- GFitness fit
- Overall fitness
- GProgram( GOperator *atree_root = NULL)
- Constructor that takes the specified tree root
- GProgram( GProgram &program)
- Copy constructor that duplicates the given program
- ~GProgram()
- Destructor that frees the operator tree and fitness array
- GProgram &operator=( GProgram &x)
- Assignment operator -- copies operator tree
- void Evaluate( GArray < GModel > &model)
- Evaluate this program
- GOperator * GetRoot()
- Get the root of the program tree
- void SetRoot( GOperator *root)
- Set the program tree root
- int GetLength()
- Get the length of the program (the number of nodes)
private members:
-
- GOperator *tree_root
- The root of the program tree
public members:
-
- friend ostream& operator<<(ostream& s, GObject &)
Documentation
An encapsulation of the information necessary to run a program
this class has no child classes.
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling