|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgpalta.nodes.Node
gpalta.nodes.MinMax
public class MinMax
Created by IntelliJ IDEA. User: nvn Date: 05-08-2006 Time: 12:25:52 AM To change this template use File | Settings | File Templates.
Constructor Summary | |
---|---|
MinMax()
|
Method Summary | |
---|---|
double |
eval(DataHolder data)
Evaluate the Node for a sinlge sample. |
void |
evalVect(double[] outVect,
double[][] kidOutVect,
DataHolder data)
Evaluate the Node for all samples (vectorial evaluation). |
void |
evalVect(Output out,
TempOutputFactory tempOutputFactory,
DataHolder data)
Evaluate a Node for all samples (vectorial evaluation), using Output objects for storing the results. |
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, getCurrentDepth, getKid, getMaxDepthFromHere, getNSubNodes, getParent, getWhichKidOfParent, init, newKids, parse, setCurrentDepth, setKid, setMaxDepthFromHere, setNSubNodes, setParent, setTypeOfKids, setWhichKidOfParent, toString, typeOfKids |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MinMax()
Method Detail |
---|
public double eval(DataHolder data)
Node
eval
in class Node
public void evalVect(Output out, TempOutputFactory tempOutputFactory, DataHolder data)
Node
evalVect
in class Node
public void evalVect(double[] outVect, double[][] kidOutVect, DataHolder data)
Node
evalVect
in class Node
outVect
- The array where the outout must be storedkidOutVect
- A matrix holding the outputs of this Node's kids. Each row holds the output
for each kiddata
- 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 |