|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.epochx.representation.Node<TYPE>
com.epochx.representation.FunctionNode<TYPE>
public abstract class FunctionNode<TYPE>
Represents a function node within a candidate program.
Node,
TerminalNode| Constructor Summary | |
|---|---|
FunctionNode(Node<TYPE>... children)
Constructor for function node with dynamic number of children depending on arity of function. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Compare an object for equality. |
abstract java.lang.String |
getFunctionName()
The value returned from this function should be unique for a specific function type within a run. |
java.lang.String |
toString()
Returns a string representation of the function node. |
| Methods inherited from class com.epochx.representation.Node |
|---|
clone, evaluate, getArity, getChild, getChildren, getDepth, getFunctionNodes, getLength, getNodesAtDepth, getNoDistinctFunctions, getNoDistinctTerminals, getNoFunctions, getNoTerminals, getNthNode, getTerminalNodes, hashCode, setChild, setChildren, setNthNode |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FunctionNode(Node<TYPE>... children)
children - the child nodes.| Method Detail |
|---|
public abstract java.lang.String getFunctionName()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
Node
equals in class Node<TYPE>obj - an object to be compared for equivalence.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||