|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface INode
Defines methods required by a node in genetic programming.
| Method Summary | |
|---|---|
INode |
createNewInstance()
Create a new instance, using this as an exemplar. |
Object |
evaluate(IContext context)
Evaluate this function. |
String |
getName()
|
Class |
getReturnType()
Return the type of the return value. |
void |
setName(String name)
|
| Methods inherited from interface org.vizzini.util.tree.ITreeNode |
|---|
add, breadthFirstIterator, children, clone, depthFirstIterator, getBreadthFirstList, getChildAt, getChildCount, getDepth, getDepthFirstList, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLevel, getNextSibling, getNodeCount, getParent, getPath, getRoot, getUserObject, insert, isChildAllowed, isLeaf, isRoot, remove, remove, removeAllChildren, removeFromParent, setChildAllowed, setParent, setUserObject, toString |
| Methods inherited from interface org.vizzini.util.tree.IVisitable |
|---|
acceptBreadthFirst, acceptDepthFirst |
| Method Detail |
|---|
Object evaluate(IContext context)
context - Context in which to evaluate.INode createNewInstance()
String getName()
Class getReturnType()
void setName(String name)
name - the name 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 |