|
||||||||||
| 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
public abstract class StreamOutputSynapse
| Field Summary | |
|---|---|
protected Fifo |
fifo
|
protected OutputConverterPlugIn |
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 | |
|---|---|
StreamOutputSynapse()
|
|
| Method Summary | |
|---|---|
boolean |
addPlugIn(OutputConverterPlugIn aNewPlugIn)
Adds a plug in to the stream output synapse for data preprocessing. |
protected void |
backward(double[] pattern)
Funzione di TRAIN dell'elemento. |
java.util.TreeSet |
check()
Base for check messages. |
void |
dataChanged(PlugInEvent data)
This method is called by plug-ins whenever data is changed. |
protected void |
forward(double[] pattern)
Recall function |
void |
fwdPut(Pattern pattern)
The standard fwdPut method. |
protected Fifo |
getFifo()
Getter for property fifo. |
OutputConverterPlugIn |
getPlugIn()
|
char |
getSeparator()
Returns the column separator creation date: (23/04/00 0.50.18) |
boolean |
isBuffered()
Checks the buffered status of this synapse. |
void |
removeAllPlugIns()
Removes (and disconnects) all (cascading) plug-ins. |
Pattern |
revGet()
Returns the error pattern coming from the next layer during the training phase |
protected void |
setArrays(int rows,
int cols)
setArrays method comment. |
void |
setBuffered(boolean buf)
Sets the buffered status of this synapse. |
protected void |
setDimensions(int rows,
int cols)
Dimensiona l'elemento |
boolean |
setPlugIn(OutputConverterPlugIn newPlugIn)
Deprecated. use addPlugIn(OutputConverterPlugIn) |
void |
setSeparator(char newSeparator)
Inserire qui la descrizione del metodo. |
abstract void |
write(Pattern pattern)
Custom xxxOutputSynapses need to implement at least this method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected transient Fifo fifo
protected OutputConverterPlugIn nextPlugIn
| Constructor Detail |
|---|
public StreamOutputSynapse()
| Method Detail |
|---|
protected void backward(double[] pattern)
Synapse
backward in class Synapsepattern - double[] - pattern di input sul quale applicare la funzione di trasferimentoprotected void forward(double[] pattern)
Synapse
forward in class Synapsepattern - double[] - input pattern. THIS PATTERN CANNOT BE CHANGEDpublic void fwdPut(Pattern pattern)
fwdPut in interface OutputPatternListenerfwdPut in class Synapsepattern - neural.engine.Patternpublic abstract void write(Pattern pattern)
public char getSeparator()
public Pattern revGet()
OutputPatternListener
revGet in interface OutputPatternListenerrevGet in class Synapse
protected void setArrays(int rows,
int cols)
setArrays in class Synapse
protected void setDimensions(int rows,
int cols)
setDimensions in class Synapseint - rows - righeint - cols - colonnepublic void setSeparator(char newSeparator)
newSeparator - charpublic void setBuffered(boolean buf)
public boolean isBuffered()
public java.util.TreeSet check()
Synapse
check in interface NeuralElementcheck in class SynapseInputPaternListener,
OutputPaternListenerprotected Fifo getFifo()
public OutputConverterPlugIn getPlugIn()
public boolean setPlugIn(OutputConverterPlugIn newPlugIn)
addPlugIn(OutputConverterPlugIn)
newPlugIn - neural.engine.OutputConverterPlugInpublic boolean addPlugIn(OutputConverterPlugIn aNewPlugIn)
aNewPlugIn - The new converter plug in to add (at the end of the list).
true when the plug in is added, false when
the plug in is not added, e.g. in case the plug in is already added /
connected to another synapse.public void removeAllPlugIns()
public void dataChanged(PlugInEvent data)
PlugInListener
dataChanged in interface PlugInListenerdata - the event that is send, i.e. the event indicating that the
data is changed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||