|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectclassifier.gp.GProgram
classifier.gp.Function
Defines a type of gprogram, function nodes
| Field Summary | |
protected GProgram[] |
arg
|
| Constructor Summary | |
Function()
|
|
| Method Summary | |
protected java.lang.Object |
clone()
clone this object |
(package private) int |
countNodes()
count all the nodes under this object |
(package private) int |
countNodes(Condition cond)
count the nodes of the desidered kind |
java.lang.String |
toString(int level)
Prints the content of the tree from the level indicated |
| Methods inherited from class classifier.gp.GProgram |
eval, eval, eval, eval, getName, getSubtree, indent, maxDepthOfTree, Walk |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected GProgram[] arg
| Constructor Detail |
public Function()
| Method Detail |
public java.lang.String toString(int level)
toString in class GProgramlevel - the level of the tree from which to start
protected java.lang.Object clone()
clone in class GProgramint countNodes()
countNodes in class GProgramint countNodes(Condition cond)
countNodes in class GProgramcond - the desidered kind of nodes to be counted (eg. function or terminal)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||