public class InputConnector extends StreamInputSynapse implements PlugInListener
cols, currentRow, EOF, InputVector, plugInListeners, tokens| Constructor and Description |
|---|
InputConnector()
Creates a new instance of InputConnector
|
| Modifier and Type | Method and Description |
|---|---|
java.util.TreeSet |
check()
Check that parameters are set correctly.
|
void |
dataChanged(PlugInEvent anEvent)
This method is called by plug-ins whenever data is changed.
|
StreamInputSynapse |
getInputSynapse() |
protected Pattern |
getStream() |
protected void |
initInputStream() |
void |
resetInput()
Reset the input stream to read its content again
|
protected void |
setCurrentRow(int aRow)
Sets the current row.
|
boolean |
setInputSynapse(StreamInputSynapse input)
Attach a
StreamInputSynapse to this connector. |
void |
setMonitor(Monitor newMonitor)
Sets the Monitor object of the synapse
|
addPlugIn, addPlugInListener, backward, fireDataChanged, forward, fwdGet, fwdGet, getAdvancedColumnSelector, getAllPlugInListeners, getCurrentRow, getDecimalPoint, getFirstCol, getFirstRow, getInputPatterns, getInputVector, getLastCol, getLastRow, getMaxBufSize, getPlugIn, getTokens, gotoFirstLine, gotoLine, handleExceptionWithError, handleExceptionWithWarn, InspectableTitle, Inspections, isBuffered, isEOF, isStepCounter, numColumns, readAll, readObjectBase, removeAllPlugIns, removePlugInListener, reset, restart, revPut, setAdvancedColumnSelector, setArrays, setBuffered, setColList, setDecimalPoint, setDimensions, setEOF, setFirstCol, setFirstRow, setInputPatterns, setLastCol, setLastRow, setMaxBufSize, setPlugin, setPlugIn, setStepCounter, setTokens, writeObjectBase, zeroPatternaddNoise, canCountSteps, fwdPattern_consume, fwdPattern_produce, fwdPut, getCount, getFwdLock, getIgnoreBefore, getInputDimension, getLearner, getLearningRate, getMomentum, getMonitor, getName, getOutputDimension, getRevLock, getSynapseNameSafely, getWeights, init, initLearner, isEnabled, isInputFull, isLoopBack, isOutputFull, randomize, readResolve, revGet, revPattern_consume, revPattern_produce, setEnabled, setIgnoreBefore, setInputDimension, setInputFull, setLearningRate, setLoopBack, setMomentum, setName, setOutputDimension, setOutputFull, setWeights, warnLogger, warnLoggerprotected void initInputStream()
throws JooneRuntimeException
initInputStream in class StreamInputSynapseJooneRuntimeExceptionpublic boolean setInputSynapse(StreamInputSynapse input)
StreamInputSynapse to this connector.input - the StreamInputSynapse to attach. null
to free this connectorprotected Pattern getStream()
getStream in class StreamInputSynapsepublic void setMonitor(Monitor newMonitor)
SynapsesetMonitor in interface NeuralElementsetMonitor in class SynapsenewMonitor - neural.engine.Monitorpublic void dataChanged(PlugInEvent anEvent)
PlugInListenerdataChanged in interface PlugInListenerdataChanged in class StreamInputSynapseanEvent - the event that is send, i.e. the event indicating that the
data is changed.public java.util.TreeSet check()
StreamInputSynapsecheck in interface NeuralElementcheck in class StreamInputSynapseSynapsepublic void resetInput()
StreamInputSynapseresetInput in interface InputSynapseresetInput in class StreamInputSynapseprotected void setCurrentRow(int aRow)
aRow - the new value for the current row.public StreamInputSynapse getInputSynapse()
Submit Feedback to pmarrone@users.sourceforge.net