|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgpalta.nodes.Node
gpalta.nodes.Times
public class Times
Constructor Summary | |
---|---|
Times()
|
Method Summary | |
---|---|
double |
eval(ProblemData problemData)
Evaluate the Node for a single sample. |
void |
evalVectInternal(double[] outVect,
double[][] kidsOutput,
ProblemData problemData)
Internal method that evaluates the Node given its kids' outputs. |
java.lang.String |
name()
Get the Node's short name (such as "plus", "minus", "x1", etc) |
int |
nKids()
Read the number of kids of the Node |
Methods inherited from class gpalta.nodes.Node |
---|
clone, deepClone, evalVect, getCurrentDepth, getKid, getMaxDepthFromHere, getNSubNodes, getParent, getType, getWhichKidOfParent, init, newKids, parse, setCurrentDepth, setKid, setMaxDepthFromHere, setNSubNodes, setParent, setType, setTypeOfKids, setWhichKidOfParent, toString, typeOfKids |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Times()
Method Detail |
---|
public double eval(ProblemData problemData)
Node
eval
in class Node
public void evalVectInternal(double[] outVect, double[][] kidsOutput, ProblemData problemData)
Node
evalVectInternal
in class Node
outVect
- The array where the outout must be storedkidsOutput
- Each array holds all the outputs for a kidproblemData
- The problem's datapublic int nKids()
Node
nKids
in interface NodeParent
nKids
in class Node
public java.lang.String name()
Node
name
in class Node
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |