|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectgeneticWedge.gp.Component
geneticWedge.gp.function.Function
geneticWedge.gp.function.OneInputFunction
public abstract class OneInputFunction
Abstract parent of all unary functions. Subclasses should throw an InvalidInputSizeException if the length of the array sent to getOutput() is not 1.
Constructor Summary | |
---|---|
OneInputFunction()
The constructor sets the number of inputs required to 1 |
|
OneInputFunction(int complexity)
This constructor allows the creation of Functions with assigned complexity values, rather than the default values. |
Method Summary |
---|
Methods inherited from class geneticWedge.gp.function.Function |
---|
getComplexity, getNoOfInputs, getOutput, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OneInputFunction()
public OneInputFunction(int complexity)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |