Package ec.gp

Class GPTreeConstraints

java.lang.Object
ec.gp.GPTreeConstraints
All Implemented Interfaces:
Clique, Setup, Serializable

public class GPTreeConstraints extends Object implements Clique
A GPTreeConstraints is a Clique which defines constraint information common to many different GPTree trees, namely the tree type, builder, and function set. GPTreeConstraints have unique names by which they are identified.

In adding new things to GPTreeConstraints, you should ask yourself the following questions: first, is this something that takes up too much memory to store in GPTrees themseves? second, is this something that needs to be accessed very rapidly, so cannot be implemented as a method call in a GPTree? third, can this be shared among different GPTrees?

Parameters

base.size
int >= 1
(number of tree constraints)
base.n.name
String
(name of tree constraint n)
base.n.init
classname, inherits and != ec.gp.GPNodeBuilder
(GP node builder for tree constraint n)
base.n.returns
String
(tree type for tree constraint n)
base.n.fset
String
(function set for tree constraint n)
See Also: