|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectgeneticWedge.gp.IndividualDescriptor
public class IndividualDescriptor
IndividualDescriptor holds the information required to create an Individual
Nested Class Summary | |
---|---|
static class |
IndividualDescriptor.IndividualGrowMethod
Determines whether an Individual is grown by the FULL or GROW method |
Constructor Summary | |
---|---|
IndividualDescriptor(IndividualDescriptor.IndividualGrowMethod growMethod,
int maxTreeDepth,
Function[] functions,
Input[] inputs,
Constant[] constants)
Creates an IndividualDescriptor with all of the information needed to create a new Individual. |
Method Summary | |
---|---|
Constant[] |
getConstants()
Returns the array of Constants used by this descriptor |
Function[] |
getFunctions()
Returns the array of Functions used by this descriptor |
double |
getGrowFunctionProportion()
Returns the growFunctionProportion used by this descriptor. |
IndividualDescriptor.IndividualGrowMethod |
getGrowMethod()
Returns the method that will be used to grow Individuals, i.e. |
Input[] |
getInputs()
Returns the array of Inputs used by this descriptor |
int |
getMaxTreeDepth()
Returns the maximum depth of trees grown using this descriptor. |
int |
getMinTreeDepth()
Returns the minimum depth of trees grown using this descriptor. |
void |
setMaxTreeDepth(int newMaxDepth)
Sets the maximum depth of trees grown using this descriptor. |
void |
setMinTreeDepth(int newMinDepth)
Sets the minimum depth of trees grown using this descriptor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IndividualDescriptor(IndividualDescriptor.IndividualGrowMethod growMethod, int maxTreeDepth, Function[] functions, Input[] inputs, Constant[] constants)
Method Detail |
---|
public IndividualDescriptor.IndividualGrowMethod getGrowMethod()
public void setMaxTreeDepth(int newMaxDepth)
public int getMaxTreeDepth()
public void setMinTreeDepth(int newMinDepth)
public int getMinTreeDepth()
public Function[] getFunctions()
public Input[] getInputs()
public Constant[] getConstants()
public double getGrowFunctionProportion()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |