|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgpalta.core.TempVectorFactory
public class TempOutputFactory
Hold outputs in which the nodes will be evaluated (when using evalVect) This is done to avoid allocating memory every time a node is evaluated, greatly improving execution speed with large data sets
Constructor Summary | |
---|---|
TempOutputFactory(int outputDimension,
int vectorSize)
Creates a new instance of TempOutputFactory |
Method Summary | |
---|---|
Output |
get()
Get a new output object. |
void |
release()
Tell that the latest requested output object is no longer needed by the Node. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TempOutputFactory(int outputDimension, int vectorSize)
vectorSize
- The size of each array (number of samples)Method Detail |
---|
public Output get()
public void release()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |