org.vizzini.ai.geneticprogramming.function
Class Sequence1Function

java.lang.Object
  extended by org.vizzini.util.tree.AbstractTreeNode
      extended by org.vizzini.ai.geneticprogramming.AbstractNode
          extended by org.vizzini.ai.geneticprogramming.function.AbstractFunction
              extended by org.vizzini.ai.geneticprogramming.function.AbstractSequenceFunction
                  extended by org.vizzini.ai.geneticprogramming.function.Sequence1Function
All Implemented Interfaces:
Cloneable, IFunction, INode, ITreeNode, IVisitable

public class Sequence1Function
extends AbstractSequenceFunction

Provides a sequence of one argument. This is used as a placeholder to hold a terminal when a function is required.

Since:
v0.3
Version:
v0.3
Author:
Jeffrey M. Thompson

Constructor Summary
Sequence1Function()
          Construct this object.
Sequence1Function(Class argType, Class returnType)
          Construct this object with the given parameters.
 
Method Summary
 
Methods inherited from class org.vizzini.ai.geneticprogramming.function.AbstractSequenceFunction
evaluate, getArgCount, getArgType, getArgType, getReturnType, setArgCount, setArgType, setReturnType
 
Methods inherited from class org.vizzini.ai.geneticprogramming.function.AbstractFunction
add, checkState, createTreeNodeCollection, isCheckingState, setCheckingState, toString
 
Methods inherited from class org.vizzini.ai.geneticprogramming.AbstractNode
createNewInstance, dotLabel, dotLinkDesc, equals, getName, hashCode, setName
 
Methods inherited from class org.vizzini.util.tree.AbstractTreeNode
acceptBreadthFirst, acceptDepthFirst, breadthFirstIterator, children, clone, depthFirstIterator, dotDesc, fillCollectionBreadthFirst, fillCollectionChildren, fillCollectionDepthFirst, getBreadthFirstList, getChildAt, getChildCount, getChildren, getDepth, getDepthFirstList, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLevel, getNextSibling, getNodeCount, getParent, getPath, getRoot, getTreeNodeCollectionClass, getUserObject, insert, isChildAllowed, isLeaf, isRoot, remove, remove, removeAllChildren, removeFromParent, setChildAllowed, setChildren, setParent, setTreeNodeCollectionClass, setUserObject
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.vizzini.ai.geneticprogramming.INode
createNewInstance, getName, setName
 
Methods inherited from interface org.vizzini.util.tree.ITreeNode
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
 
Methods inherited from interface org.vizzini.util.tree.IVisitable
acceptBreadthFirst, acceptDepthFirst
 

Constructor Detail

Sequence1Function

public Sequence1Function()
Construct this object.

Since:
v0.3

Sequence1Function

public Sequence1Function(Class argType,
                         Class returnType)
Construct this object with the given parameters.

Parameters:
argType - Argument type.
returnType - Return type.
Since:
v0.3


Copyright 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02