|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IFunctionGenerator
Defines methods required by a function generator in genetic programming.
| Method Summary | |
|---|---|
void |
addFunction(IFunction function)
Add a function exemplar to the function set. |
void |
addTerminal(ITerminal terminal)
Add a terminal exemplar to the terminal set. |
IFunction |
create()
Return a new populated function. |
int |
getFunctionCount()
Return the function count. |
int |
getMaxDepth()
|
Class |
getReturnType()
|
int |
getTerminalCount()
Return the terminal count. |
void |
setMaxDepth(int maxDepth)
|
void |
setReturnType(Class returnType)
|
| Method Detail |
|---|
void addFunction(IFunction function)
function - Function exemplar.void addTerminal(ITerminal terminal)
terminal - Terminal exemplar.IFunction create()
int getFunctionCount()
int getMaxDepth()
Class getReturnType()
int getTerminalCount()
void setMaxDepth(int maxDepth)
maxDepth - the maxDepth to setvoid setReturnType(Class returnType)
returnType - the returnType to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |