|
||||||||||
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.StreamInputSynapse
org.joone.io.InputConnector
public class InputConnector
Field Summary |
---|
Fields inherited from class org.joone.io.StreamInputSynapse |
---|
cols, currentRow, EOF, InputVector, plugInListeners, tokens |
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 | |
---|---|
InputConnector()
Creates a new instance of InputConnector |
Method Summary | |
---|---|
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 |
Methods inherited from class org.joone.engine.Synapse |
---|
addNoise, 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, warnLogger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InputConnector()
Method Detail |
---|
protected void initInputStream() throws JooneRuntimeException
initInputStream
in class StreamInputSynapse
JooneRuntimeException
public boolean setInputSynapse(StreamInputSynapse input)
StreamInputSynapse
to this connector.
input
- the StreamInputSynapse
to attach. null
to free this connectorprotected Pattern getStream()
getStream
in class StreamInputSynapse
public void setMonitor(Monitor newMonitor)
Synapse
setMonitor
in interface NeuralElement
setMonitor
in class Synapse
newMonitor
- neural.engine.Monitorpublic void dataChanged(PlugInEvent anEvent)
PlugInListener
dataChanged
in interface PlugInListener
dataChanged
in class StreamInputSynapse
anEvent
- the event that is send, i.e. the event indicating that the
data is changed.public java.util.TreeSet check()
StreamInputSynapse
check
in interface NeuralElement
check
in class StreamInputSynapse
Synapse
public void resetInput()
StreamInputSynapse
resetInput
in interface InputSynapse
resetInput
in class StreamInputSynapse
protected void setCurrentRow(int aRow)
aRow
- the new value for the current row.public StreamInputSynapse getInputSynapse()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |