public abstract class StreamOutputSynapse extends Synapse implements PlugInListener
Modifier and Type | Field and Description |
---|---|
protected Fifo |
fifo |
protected OutputConverterPlugIn |
nextPlugIn |
Constructor and Description |
---|
StreamOutputSynapse() |
Modifier and Type | Method and Description |
---|---|
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.
|
void |
setSeparator(char newSeparator)
Inserire qui la descrizione del metodo.
|
abstract void |
write(Pattern pattern)
Custom xxxOutputSynapses need to implement at least this method.
|
addNoise, canCountSteps, fwdGet, fwdPattern_consume, fwdPattern_produce, getCount, getFwdLock, getIgnoreBefore, getInputDimension, getLearner, getLearningRate, getMomentum, getMonitor, getName, getOutputDimension, getRevLock, getSynapseNameSafely, getWeights, init, initLearner, InspectableTitle, Inspections, isEnabled, isInputFull, isLoopBack, isOutputFull, randomize, readResolve, reset, revPattern_consume, revPattern_produce, revPut, setEnabled, setIgnoreBefore, setInputDimension, setInputFull, setLearningRate, setLoopBack, setMomentum, setMonitor, setName, setOutputDimension, setOutputFull, setWeights, warnLogger, warnLogger
protected transient Fifo fifo
protected OutputConverterPlugIn nextPlugIn
protected void backward(double[] pattern)
Synapse
protected void forward(double[] pattern)
Synapse
public void fwdPut(Pattern pattern)
fwdPut
in interface OutputPatternListener
fwdPut
in class Synapse
pattern
- neural.engine.Patternpublic abstract void write(Pattern pattern)
public char getSeparator()
public Pattern revGet()
OutputPatternListener
revGet
in interface OutputPatternListener
revGet
in class Synapse
protected void setArrays(int rows, int cols)
protected void setDimensions(int rows, int cols)
setDimensions
in class Synapse
int
- 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 NeuralElement
check
in class Synapse
InputPaternListener
,
OutputPaternListener
protected 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 PlugInListener
data
- the event that is send, i.e. the event indicating that the
data is changed.Submit Feedback to pmarrone@users.sourceforge.net