org.joone.io
Class InputConnector
- java.lang.Object
-
- org.joone.engine.Synapse
-
- org.joone.io.StreamInputSynapse
-
- org.joone.io.InputConnector
-
- All Implemented Interfaces:
- java.io.Serializable, InputPatternListener, Learnable, LearnableSynapse, NeuralElement, OutputPatternListener, Inspectable, InputSynapse, PlugInListener
public class InputConnector extends StreamInputSynapse implements PlugInListener
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description InputConnector()Creates a new instance of InputConnector
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.util.TreeSetcheck()Check that parameters are set correctly.voiddataChanged(PlugInEvent anEvent)This method is called by plug-ins whenever data is changed.voidresetInput()Reset the input stream to read its content againbooleansetInputSynapse(StreamInputSynapse input)Attach aStreamInputSynapseto this connector.voidsetMonitor(Monitor newMonitor)Sets the Monitor object of the synapse-
Methods inherited from class org.joone.io.StreamInputSynapse
addPlugIn, addPlugInListener, fwdGet, fwdGet, getAdvancedColumnSelector, getAllPlugInListeners, getCurrentRow, getDecimalPoint, getFirstCol, getFirstRow, getInputPatterns, getInputVector, getLastCol, getLastRow, getMaxBufSize, getPlugIn, gotoFirstLine, gotoLine, InspectableTitle, Inspections, isBuffered, isEOF, isStepCounter, numColumns, readAll, removeAllPlugIns, removePlugInListener, reset, revPut, setAdvancedColumnSelector, setBuffered, setDecimalPoint, setFirstCol, setFirstRow, setInputPatterns, setLastCol, setLastRow, setMaxBufSize, setPlugin, setPlugIn, setStepCounter
-
Methods inherited from class org.joone.engine.Synapse
addNoise, canCountSteps, fwdPut, getIgnoreBefore, getInputDimension, getLearner, getLearningRate, getMomentum, getMonitor, getName, getOutputDimension, getWeights, init, initLearner, isEnabled, isInputFull, isLoopBack, isOutputFull, randomize, revGet, setEnabled, setIgnoreBefore, setInputDimension, setInputFull, setLearningRate, setLoopBack, setMomentum, setName, setOutputDimension, setOutputFull, setWeights
-
-
-
-
Method Detail
-
setInputSynapse
public boolean setInputSynapse(StreamInputSynapse input)
Attach aStreamInputSynapseto this connector.- Parameters:
input- theStreamInputSynapseto attach.nullto free this connector
-
setMonitor
public void setMonitor(Monitor newMonitor)
Description copied from class:SynapseSets the Monitor object of the synapse- Specified by:
setMonitorin interfaceNeuralElement- Overrides:
setMonitorin classSynapse- Parameters:
newMonitor- neural.engine.Monitor
-
dataChanged
public void dataChanged(PlugInEvent anEvent)
Description copied from interface:PlugInListenerThis method is called by plug-ins whenever data is changed.- Specified by:
dataChangedin interfacePlugInListener- Overrides:
dataChangedin classStreamInputSynapse- Parameters:
anEvent- the event that is send, i.e. the event indicating that the data is changed.
-
check
public java.util.TreeSet check()
Description copied from class:StreamInputSynapseCheck that parameters are set correctly.- Specified by:
checkin interfaceNeuralElement- Overrides:
checkin classStreamInputSynapse- Returns:
- validation errors.
- See Also:
Synapse
-
resetInput
public void resetInput()
Description copied from class:StreamInputSynapseReset the input stream to read its content again- Specified by:
resetInputin interfaceInputSynapse- Overrides:
resetInputin classStreamInputSynapse
-
-
DataMelt 3.0 © DataMelt by jWork.ORG