ec.app.regression.func
Class KornsERC
- java.lang.Object
-
- ec.gp.GPNode
-
- ec.gp.ERC
-
- ec.app.regression.func.RegERC
-
- ec.app.regression.func.KornsERC
-
- All Implemented Interfaces:
- GPNodeParent, Prototype, Setup, java.io.Serializable, java.lang.Cloneable
public class KornsERC extends RegERC
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class ec.gp.GPNode
argposition, children, CHILDREN_UNKNOWN, constraints, GPNODEPRINTTAB, MAXPRINTBYTES, NODESEARCH_ALL, NODESEARCH_NONTERMINALS, NODESEARCH_TERMINALS, P_NODE, P_NODECONSTRAINTS, parent
-
-
Constructor Summary
Constructors Constructor and Description KornsERC()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.Stringname()Returns the lowercase "name" of this ERC function class, some simple, short name which distinguishes this class from other ERC function classes you're using.voidresetNode(EvolutionState state, int thread)Remember to override this to randomize your ERC after it has been cloned.-
Methods inherited from class ec.app.regression.func.RegERC
decode, encode, eval, nodeEquals, nodeHashCode, readNode, toStringForHumans, writeNode
-
Methods inherited from class ec.gp.ERC
expectedChildren, mutateERC, readNode, toString
-
Methods inherited from class ec.gp.GPNode
atDepth, checkConstraints, clone, cloneReplacing, cloneReplacing, cloneReplacing, cloneReplacingAtomic, cloneReplacingAtomic, cloneReplacingNoSubclone, constraints, contains, defaultBase, depth, errorInfo, iterator, iterator, iterator, lightClone, makeCTree, makeGraphvizTree, makeLatexTree, makeLispTree, makeLispTree, nodeEquivalentTo, nodeInPosition, nodeInPosition, numNodes, numNodes, parentType, pathLength, printNode, printNode, printNode, printNodeForHumans, printNodeForHumans, printRootedTree, printRootedTree, printRootedTree, printRootedTreeForHumans, printRootedTreeForHumans, readRootedTree, readRootedTree, replaceWith, rootedTreeEquals, rootedTreeHashCode, rootParent, setup, swapCompatibleWith, toStringForError, writeRootedTree
-
-
-
-
Method Detail
-
name
public java.lang.String name()
Description copied from class:ERCReturns the lowercase "name" of this ERC function class, some simple, short name which distinguishes this class from other ERC function classes you're using. If you have more than one ERC function, you need to distinguish them here. By default the value is "ERC", which works fine for a single ERC function in the function set. Whatever the name is, it should generally only have letters, numbers, or hyphens or underscores in it. No whitespace or other characters.
-
resetNode
public void resetNode(EvolutionState state, int thread)
Description copied from class:ERCRemember to override this to randomize your ERC after it has been cloned. The prototype will not ever receive this method call.
-
-
DMelt 3.0 © DataMelt by jWork.ORG