|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgpalta.core.Output
gpalta.multitree.MultiOutput
public class MultiOutput
Implements an Output with multiple dimensions
Constructor Summary | |
---|---|
MultiOutput(int dim,
int nSamples)
|
Method Summary | |
---|---|
java.lang.Object |
clone()
Must implement clone() so Outputs can be cloned witout knowing the actual subclass. |
double[] |
getArray(int wDim)
Get an array representing outputs for each sample |
double[] |
getArrayCopy(int wDim)
Get an independent array representing outputs for each sample |
int |
getDim()
Get the dimension (number of scalar outputs per sample) of this Output |
void |
store(int wDim,
double[] array)
Store the content of an array as the corresponding dimension of the output. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultiOutput(int dim, int nSamples)
Method Detail |
---|
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
Output
clone
in class Output
java.lang.CloneNotSupportedException
public double[] getArray(int wDim)
wDim
- Which dimension of the output to get
public double[] getArrayCopy(int wDim)
wDim
- Wich dimension of the output to get
public void store(int wDim, double[] array)
wDim
- array
- public int getDim()
getDim
in class Output
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |