public class ComparisonSynapse extends Synapse
| Modifier and Type | Field and Description |
|---|---|
protected Fifo |
fifo |
protected boolean |
firstTime |
| Constructor and Description |
|---|
ComparisonSynapse() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
backward(double[] pattern)
Not used.
|
java.util.TreeSet |
check()
Base for check messages.
|
protected void |
forward(double[] pActual)
Recall function
|
Pattern |
fwdGet()
Returns the pattern coming from the previous layer during the recall phase
|
void |
fwdPut(Pattern pattern)
Method to put a pattern forward to the next layer
|
StreamInputSynapse |
getDesired()
Inserire qui la descrizione del metodo.
|
int |
getOutputDimension()
Returns the output dimension of the synapse.
|
void |
init()
Synapse's initialization.
|
void |
netStoppedError(NeuralNetEvent e,
java.lang.String error) |
void |
reset()
reset of the input synapse
|
void |
resetInput() |
Pattern |
revGet()
Not used.
|
void |
revPut(Pattern pattern)
Not used.
|
protected void |
setArrays(int rows,
int cols)
Not used.
|
boolean |
setDesired(StreamInputSynapse newDesired)
Set the input data stream containing desired training data
|
protected void |
setDimensions(int rows,
int cols)
Not used.
|
void |
setInputDimension(int newInputDimension)
Sets the input dimension of the synapse
|
void |
setMonitor(Monitor newMonitor)
Sets the Monitor object of the Teacher Synapse.
|
protected void |
stopTheNet() |
addNoise, canCountSteps, fwdPattern_consume, fwdPattern_produce, getCount, getFwdLock, getIgnoreBefore, getInputDimension, getLearner, getLearningRate, getMomentum, getMonitor, getName, getRevLock, getSynapseNameSafely, getWeights, initLearner, InspectableTitle, Inspections, isEnabled, isInputFull, isLoopBack, isOutputFull, randomize, readResolve, revPattern_consume, revPattern_produce, setEnabled, setIgnoreBefore, setInputFull, setLearningRate, setLoopBack, setMomentum, setName, setOutputDimension, setOutputFull, setWeights, warnLogger, warnLoggerprotected transient Fifo fifo
protected transient boolean firstTime
protected void backward(double[] pattern)
protected void forward(double[] pActual)
Synapseprotected void stopTheNet()
public Pattern fwdGet()
InputPatternListenerfwdGet in interface InputPatternListenerfwdGet in class Synapsepublic void fwdPut(Pattern pattern)
OutputPatternListenerfwdPut in interface OutputPatternListenerfwdPut in class Synapsepattern - neural.engine.Patternpublic StreamInputSynapse getDesired()
public Pattern revGet()
revGet in interface OutputPatternListenerrevGet in class Synapsepublic void revPut(Pattern pattern)
revPut in interface InputPatternListenerrevPut in class Synapsepattern - neural.engine.Patternprotected void setArrays(int rows,
int cols)
public boolean setDesired(StreamInputSynapse newDesired)
newDesired - neural.engine.StreamInputSynapsepublic void resetInput()
protected void setDimensions(int rows,
int cols)
setDimensions in class Synapsepublic void setInputDimension(int newInputDimension)
SynapsesetInputDimension in interface OutputPatternListenersetInputDimension in class SynapsenewInputDimension - intpublic java.util.TreeSet check()
Synapsecheck in interface NeuralElementcheck in class SynapseInputPaternListener,
OutputPaternListenerpublic void reset()
reset in interface InputPatternListenerreset in class Synapsepublic void setMonitor(Monitor newMonitor)
setMonitor in interface NeuralElementsetMonitor in class SynapsenewMonitor - neural.engine.Monitorpublic void netStoppedError(NeuralNetEvent e, java.lang.String error)
public int getOutputDimension()
getOutputDimension in interface InputPatternListenergetOutputDimension in interface LearnableSynapsegetOutputDimension in class Synapsepublic void init()
Synapseinit in interface NeuralElementinit in class SynapseSubmit Feedback to pmarrone@users.sourceforge.net