|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectclassifier.gp.GProgram
classifier.gp.Terminal
Defines a type of gprogram, terminal nodes
| Constructor Summary | |
Terminal()
|
|
| Method Summary | |
(package private) int |
countNodes()
count all the nodes under this object |
(package private) int |
countNodes(Condition cond)
count the nodes of the desidered kind |
| Methods inherited from class classifier.gp.GProgram |
clone, eval, eval, eval, eval, getName, getSubtree, indent, maxDepthOfTree, toString, Walk |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Terminal()
| Method Detail |
int 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 | ||||||||||