|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Node | |
|---|---|
| com.epochx.core | |
| com.epochx.op.initialisation | |
| com.epochx.representation | |
| com.epochx.representation.action | |
| com.epochx.representation.bool | |
| com.epochx.representation.dbl | |
| Uses of Node in com.epochx.core |
|---|
| Methods in com.epochx.core that return types with arguments of type Node | |
|---|---|
java.util.List<Node<TYPE>> |
GPAbstractModel.getSyntax()
Returns the union of calls to getTerminals() and getFunctions. |
java.util.List<Node<TYPE>> |
GPModel.getSyntax()
Retrieves the full set of syntax, that is terminals AND function nodes. |
| Uses of Node in com.epochx.op.initialisation |
|---|
| Methods in com.epochx.op.initialisation that return Node | |
|---|---|
Node<TYPE> |
FullInitialiser.buildFullNodeTree(int depth)
Build a full node tree with a given depth. |
Node<TYPE> |
GrowInitialiser.buildGrowNodeTree(int maxDepth)
Build a grown node tree with a maximum depth as given. |
| Uses of Node in com.epochx.representation |
|---|
| Subclasses of Node in com.epochx.representation | |
|---|---|
class |
FunctionNode<TYPE>
Represents a function node within a candidate program. |
class |
TerminalNode<TYPE>
Defines a terminal node. |
class |
Variable<TYPE>
A variable is a data type which can be used as a TerminalNode
in place of a predefined constant. |
| Methods in com.epochx.representation that return Node | |
|---|---|
Node<TYPE> |
Node.getChild(int index)
Returns a specific child by index. |
Node<TYPE>[] |
Node.getChildren()
Returns an array of the children of this node. |
Node<TYPE> |
Node.getNthNode(int n)
Returns the element at the specified position in the node tree, where this node is considered to be the root - that is the 0th node. |
Node<TYPE> |
CandidateProgram.getNthNode(int n)
Returns the nth node in the CandidateProgram. |
Node<TYPE> |
CandidateProgram.getRootNode()
Returns the root node of the node tree held by the candidate program. |
| Methods in com.epochx.representation that return types with arguments of type Node | |
|---|---|
java.util.List<Node<TYPE>> |
Node.getNodesAtDepth(int depth)
Retrieves all the nodes in the node tree at a specified depth from this current node. |
java.util.List<Node<TYPE>> |
CandidateProgram.getNodesAtDepth(int depth)
Retrieves all the nodes in the program tree at a specified depth. |
| Methods in com.epochx.representation with parameters of type Node | |
|---|---|
void |
Node.setChild(int index,
Node<TYPE> child)
Replaces the child node at the specified index with the specified node. |
void |
Node.setChildren(Node<TYPE>[] children)
Sets the children of this node. |
void |
Node.setNthNode(int n,
Node<TYPE> newNode)
Replaces the node at the specified position in this node tree, where this node is considered to be the root node - that is, the 0th node. |
void |
CandidateProgram.setNthNode(int n,
Node<TYPE> newNode)
Replaces the node at the specified position in the CandidateProgram with the specified node. |
| Constructors in com.epochx.representation with parameters of type Node | |
|---|---|
CandidateProgram(Node<TYPE> rootNode,
GPModel<TYPE> model)
Constructs a new program individual where rootNode is the
top most node in the program, and which may have 0 or more child nodes. |
|
FunctionNode(Node<TYPE>... children)
Constructor for function node with dynamic number of children depending on arity of function. |
|
Node(Node<TYPE>... children)
Node constructor. |
|
| Uses of Node in com.epochx.representation.action |
|---|
| Subclasses of Node in com.epochx.representation.action | |
|---|---|
class |
IfFoodAheadFunction
A FunctionNode which represents the conditional if-then-else
statement typically used in the artificial ant domain. |
class |
Seq2Function
A FunctionNode which provides the facility to sequence two
instructions - which may be other functions or terminal nodes with actions. |
class |
Seq3Function
A FunctionNode which provides the facility to sequence three
instructions - which may be other functions or terminal nodes with actions. |
| Constructors in com.epochx.representation.action with parameters of type Node | |
|---|---|
IfFoodAheadFunction(Ant ant,
AntLandscape landscape,
Node<Action> child1,
Node<Action> child2)
Construct an IfFoodAheadFunction with two children. |
|
IfFoodAheadFunction(Ant ant,
AntLandscape landscape,
Node<Action> child1,
Node<Action> child2)
Construct an IfFoodAheadFunction with two children. |
|
Seq2Function(Node<Action> child1,
Node<Action> child2)
Construct a Seq2Function with two children. |
|
Seq2Function(Node<Action> child1,
Node<Action> child2)
Construct a Seq2Function with two children. |
|
Seq3Function(Node<Action> child1,
Node<Action> child2,
Node<Action> child3)
Construct a Seq3Function with two children. |
|
Seq3Function(Node<Action> child1,
Node<Action> child2,
Node<Action> child3)
Construct a Seq3Function with two children. |
|
Seq3Function(Node<Action> child1,
Node<Action> child2,
Node<Action> child3)
Construct a Seq3Function with two children. |
|
| Uses of Node in com.epochx.representation.bool |
|---|
| Subclasses of Node in com.epochx.representation.bool | |
|---|---|
class |
AndFunction
A FunctionNode which performs logical conjunction or the
boolean function of AND. |
class |
IfAndOnlyIfFunction
A FunctionNode which performs the biconditional logical
connective of IFF (if and only if). |
class |
IfFunction
A FunctionNode which represents the conditional if-then-else
statement. |
class |
ImpliesFunction
A FunctionNode which performs logical implication. |
class |
NandFunction
A FunctionNode which performs the logical operation of NAND
that is equivalent to the negation of the conjunction or NOT AND. |
class |
NorFunction
A FunctionNode which performs the logical operation of NOR
that is equivalent to the negation of logical OR or NOT OR. |
class |
NotFunction
A FunctionNode which performs logical negation. |
class |
OrFunction
A FunctionNode which performs logical disjunction. |
class |
XorFunction
A FunctionNode which performs exclusive disjunction, also known
as exclusive OR. |
| Constructors in com.epochx.representation.bool with parameters of type Node | |
|---|---|
AndFunction(Node<java.lang.Boolean> child1,
Node<java.lang.Boolean> child2)
Construct an AndFunction with two children. |
|
AndFunction(Node<java.lang.Boolean> child1,
Node<java.lang.Boolean> child2)
Construct an AndFunction with two children. |
|
IfAndOnlyIfFunction(Node<java.lang.Boolean> child1,
Node<java.lang.Boolean> child2)
Construct an IfAndOnlyIfFunction with two children. |
|
IfAndOnlyIfFunction(Node<java.lang.Boolean> child1,
Node<java.lang.Boolean> child2)
Construct an IfAndOnlyIfFunction with two children. |
|
IfFunction(Node<java.lang.Boolean> condition,
Node<java.lang.Boolean> ifStatement,
Node<java.lang.Boolean> elseStatement)
Construct an IfFunction with three children. |
|
IfFunction(Node<java.lang.Boolean> condition,
Node<java.lang.Boolean> ifStatement,
Node<java.lang.Boolean> elseStatement)
Construct an IfFunction with three children. |
|
IfFunction(Node<java.lang.Boolean> condition,
Node<java.lang.Boolean> ifStatement,
Node<java.lang.Boolean> elseStatement)
Construct an IfFunction with three children. |
|
ImpliesFunction(Node<java.lang.Boolean> child1,
Node<java.lang.Boolean> child2)
Construct an ImpliesFunction with two children. |
|
ImpliesFunction(Node<java.lang.Boolean> child1,
Node<java.lang.Boolean> child2)
Construct an ImpliesFunction with two children. |
|
NandFunction(Node<java.lang.Boolean> child1,
Node<java.lang.Boolean> child2)
Construct a NandFunction with two children. |
|
NandFunction(Node<java.lang.Boolean> child1,
Node<java.lang.Boolean> child2)
Construct a NandFunction with two children. |
|
NorFunction(Node<java.lang.Boolean> child1,
Node<java.lang.Boolean> child2)
Construct a NorFunction with two children. |
|
NorFunction(Node<java.lang.Boolean> child1,
Node<java.lang.Boolean> child2)
Construct a NorFunction with two children. |
|
NotFunction(Node<java.lang.Boolean> child)
Construct a NotFunction with one children. |
|
OrFunction(Node<java.lang.Boolean> child1,
Node<java.lang.Boolean> child2)
Construct an OrFunction with two children. |
|
OrFunction(Node<java.lang.Boolean> child1,
Node<java.lang.Boolean> child2)
Construct an OrFunction with two children. |
|
XorFunction(Node<java.lang.Boolean> child1,
Node<java.lang.Boolean> child2)
Construct an XorFunction with two children. |
|
XorFunction(Node<java.lang.Boolean> child1,
Node<java.lang.Boolean> child2)
Construct an XorFunction with two children. |
|
| Uses of Node in com.epochx.representation.dbl |
|---|
| Subclasses of Node in com.epochx.representation.dbl | |
|---|---|
class |
AddFunction
A FunctionNode which performs the mathematical function of
addition. |
class |
ArcCosineFunction
A FunctionNode which performs the inverse trigonometric function of
arccosine. |
class |
ArcSineFunction
A FunctionNode which performs the inverse trigonometric function of
arcsine. |
class |
ArcTangentFunction
A FunctionNode which performs the inverse trigonometric function of
arctangent. |
class |
CoefficientPowerFunction
The CoefficientPowerFunction is equivalent to a PowerFunction
combined with a MultiplyFunction. |
class |
CosecantFunction
A FunctionNode which performs the reciprocal trigonometric
function of cosecant. |
class |
CosineFunction
A FunctionNode which performs the trigonometric function of
cosine. |
class |
CotangentFunction
A FunctionNode which performs the reciprocal trigonometric
function of cotangent. |
class |
CubeFunction
A FunctionNode which performs the arithmetic function of cube,
that is - raising to the third power. |
class |
CubeRootFunction
A FunctionNode which performs the mathematical function of cube
root. |
class |
FactorialFunction
A FunctionNode which performs the mathematical function of
factorial, which is normally expressed with an exclamation mark !
For example:
5! = 5 x 4 x 3 x 2 x 1 = FACTORIAL 5 |
class |
HyperbolicCosineFunction
A FunctionNode which performs the hyperbolic trigonometric
function of hyperbolic cosine. |
class |
HyperbolicSineFunction
A FunctionNode which performs the hyperbolic trigonometric
function of hyperbolic sine. |
class |
HyperbolicTangentFunction
A FunctionNode which performs the hyperbolic trigonometric
function of hyperbolic tangent. |
class |
InvertFunction
A FunctionNode which performs the multiplicative inverse (or
reciprocal), that is the inverse of x is 1/x. |
class |
Log10Function
A FunctionNode which performs the common (base 10) logarithm. |
class |
LogFunction
A FunctionNode which performs the natural (base e) logarithm. |
class |
MaxFunction
A FunctionNode which performs the simple comparison function
of determining which of 2 numbers is larger, as per the boolean greater-than
function. |
class |
MinFunction
A MinFunction which performs the simple comparison function
of determining which of 2 numbers is smaller, as per the boolean less-than
function. |
class |
ModuloFunction
A FunctionNode which performs the modulo operation, that is
it finds the remainder of division. |
class |
MultiplyFunction
A FunctionNode which performs the mathematical function of
multiplication. |
class |
PowerFunction
A FunctionNode which performs the mathematical operation of
exponentiation. |
class |
ProtectedDivisionFunction
A FunctionNode which performs the arithmetic function of
division. |
class |
SecantFunction
A FunctionNode which performs the reciprocal trigonometric
function of secant. |
class |
SignumFunction
A FunctionNode which performs the mathematical sign function
that extracts the sign of a number. |
class |
SineFunction
A FunctionNode which performs the trigonometric function of
sine. |
class |
SquareFunction
A FunctionNode which performs the arithmetic function of squaring,
that is - raising to the second power. |
class |
SquareRootFunction
A FunctionNode which performs the mathematical function of square
root. |
class |
SubtractFunction
A FunctionNode which performs the mathematical function of
subtraction. |
class |
TangentFunction
A FunctionNode which performs the trigonometric function of
tangent. |
| Constructors in com.epochx.representation.dbl with parameters of type Node | |
|---|---|
AddFunction(Node<java.lang.Double> child1,
Node<java.lang.Double> child2)
Construct an AddFunction with 2 children. |
|
AddFunction(Node<java.lang.Double> child1,
Node<java.lang.Double> child2)
Construct an AddFunction with 2 children. |
|
ArcCosineFunction(Node<java.lang.Double> child)
Construct an ArcCosineFunction with one child. |
|
ArcSineFunction(Node<java.lang.Double> child)
Construct an ArcSineFunction with one child. |
|
ArcTangentFunction(Node<java.lang.Double> child)
Construct an ArcTangentFunction with one child. |
|
CoefficientPowerFunction(Node<java.lang.Double> coefficient,
Node<java.lang.Double> term,
Node<java.lang.Double> exponent)
Construct a CoefficientPowerFunction with three children. |
|
CoefficientPowerFunction(Node<java.lang.Double> coefficient,
Node<java.lang.Double> term,
Node<java.lang.Double> exponent)
Construct a CoefficientPowerFunction with three children. |
|
CoefficientPowerFunction(Node<java.lang.Double> coefficient,
Node<java.lang.Double> term,
Node<java.lang.Double> exponent)
Construct a CoefficientPowerFunction with three children. |
|
CosecantFunction(Node<java.lang.Double> child)
Construct a CosecantFunction with one child. |
|
CosineFunction(Node<java.lang.Double> child)
Construct a CosineFunction with one child. |
|
CotangentFunction(Node<java.lang.Double> child)
Construct a CotangentFunction with one child. |
|
CubeFunction(Node<java.lang.Double> child)
Construct a CubeFunction with one child. |
|
CubeRootFunction(Node<java.lang.Double> child)
Construct a CubeRootFunction with one child. |
|
FactorialFunction(Node<java.lang.Double> child)
Construct a FactorialFunction with one child. |
|
HyperbolicCosineFunction(Node<java.lang.Double> child)
Construct a HyperbolicCosineFunction with one child. |
|
HyperbolicSineFunction(Node<java.lang.Double> child)
Construct a HyperbolicSineFunction with one child. |
|
HyperbolicTangentFunction(Node<java.lang.Double> child)
Construct a HyperbolicTangentFunction with one child. |
|
InvertFunction(Node<java.lang.Double> child)
Construct an InvertFunction with one child. |
|
Log10Function(Node<java.lang.Double> child)
Construct a Log10Function with one child. |
|
LogFunction(Node<java.lang.Double> child)
Construct a LogFunction with one child. |
|
MaxFunction(Node<java.lang.Double> child1,
Node<java.lang.Double> child2)
Construct a MaxFunction with two child. |
|
MaxFunction(Node<java.lang.Double> child1,
Node<java.lang.Double> child2)
Construct a MaxFunction with two child. |
|
MinFunction(Node<java.lang.Double> child1,
Node<java.lang.Double> child2)
Construct a MinFunction with two child. |
|
MinFunction(Node<java.lang.Double> child1,
Node<java.lang.Double> child2)
Construct a MinFunction with two child. |
|
ModuloFunction(Node<java.lang.Double> child1,
Node<java.lang.Double> child2)
Construct a ModuloFunction with two children. |
|
ModuloFunction(Node<java.lang.Double> child1,
Node<java.lang.Double> child2)
Construct a ModuloFunction with two children. |
|
MultiplyFunction(Node<java.lang.Double> child1,
Node<java.lang.Double> child2)
Construct a MultiplyFunction with 2 children. |
|
MultiplyFunction(Node<java.lang.Double> child1,
Node<java.lang.Double> child2)
Construct a MultiplyFunction with 2 children. |
|
PowerFunction(Node<java.lang.Double> base,
Node<java.lang.Double> exponent)
Construct a PowerFunction with 2 children. |
|
PowerFunction(Node<java.lang.Double> base,
Node<java.lang.Double> exponent)
Construct a PowerFunction with 2 children. |
|
ProtectedDivisionFunction(Node<java.lang.Double> dividend,
Node<java.lang.Double> divisor)
Construct a ProtectedDivisionFunction with 2 children. |
|
ProtectedDivisionFunction(Node<java.lang.Double> dividend,
Node<java.lang.Double> divisor)
Construct a ProtectedDivisionFunction with 2 children. |
|
ProtectedDivisionFunction(Node<java.lang.Double> dividend,
Node<java.lang.Double> divisor,
java.lang.Double protectionValue)
Construct a ProtectedDivisionFunction with 2 children and a divide-by-zero protection value. |
|
ProtectedDivisionFunction(Node<java.lang.Double> dividend,
Node<java.lang.Double> divisor,
java.lang.Double protectionValue)
Construct a ProtectedDivisionFunction with 2 children and a divide-by-zero protection value. |
|
SecantFunction(Node<java.lang.Double> child)
Construct a SecantFunction with one child. |
|
SignumFunction(Node<java.lang.Double> child)
Construct a SignumFunction with one child. |
|
SineFunction(Node<java.lang.Double> child)
Construct a SineFunction with one child. |
|
SquareFunction(Node<java.lang.Double> child)
Construct a SquareFunction with one child. |
|
SquareRootFunction(Node<java.lang.Double> child)
Construct a SquareRootFunction with one child. |
|
SubtractFunction(Node<java.lang.Double> child1,
Node<java.lang.Double> child2)
Construct a SubtractFunction with 2 children. |
|
SubtractFunction(Node<java.lang.Double> child1,
Node<java.lang.Double> child2)
Construct a SubtractFunction with 2 children. |
|
TangentFunction(Node<java.lang.Double> child)
Construct a TangentFunction with one child. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||