|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.joone.engine.Synapse
org.joone.io.StreamOutputSynapse
org.joone.io.MemoryOutputSynapse
public class MemoryOutputSynapse
| Field Summary | |
|---|---|
(package private) static long |
serialVersionUID
|
| Fields inherited from class org.joone.io.StreamOutputSynapse |
|---|
fifo, nextPlugIn |
| Fields inherited from class org.joone.engine.Synapse |
|---|
array, b_pattern, bitems, bouts, count, enabled, fwdLock, inps, items, learnable, m_batch, m_pattern, myLearner, outs, revLock |
| Constructor Summary | |
|---|---|
MemoryOutputSynapse()
Creates a new instance of MemoryOutputSynapse |
|
| Method Summary | |
|---|---|
java.util.Vector |
getAllPatterns()
Waits for the stopPattern and then returns all the patterns received in the last cycle |
double[] |
getLastPattern()
This method waits for the zeroPattern and returns the last valid pattern received |
double[] |
getNextPattern()
Waits for the next pattern and returns it |
void |
write(Pattern pattern)
Custom Synapses need to implement at least this method. |
| Methods inherited from class org.joone.io.StreamOutputSynapse |
|---|
addPlugIn, backward, check, dataChanged, forward, fwdPut, getFifo, getPlugIn, getSeparator, isBuffered, removeAllPlugIns, revGet, setArrays, setBuffered, setDimensions, setPlugIn, setSeparator |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static final long serialVersionUID
| Constructor Detail |
|---|
public MemoryOutputSynapse()
| Method Detail |
|---|
public double[] getLastPattern()
public double[] getNextPattern()
public java.util.Vector getAllPatterns()
public void write(Pattern pattern)
write in class StreamOutputSynapse
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||