Documentation of 'org.joone.io.StreamInputSynapse' Java class
StreamInputSynapse
org.joone.io

Class StreamInputSynapse

    • Constructor Detail

      • StreamInputSynapse

        public StreamInputSynapse()
    • Method Detail

      • getDecimalPoint

        public char getDecimalPoint()
        Returns the decimal point accepted (19/04/00 0.23.56)
        Specified by:
        getDecimalPoint in interface InputSynapse
        Returns:
        char
      • getInputVector

        public java.util.Vector getInputVector()
        Returns:
        java.util.Vector
      • getStream

        public Pattern getStream()
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • gotoFirstLine

        public void gotoFirstLine()
                           throws java.io.IOException
        Specified by:
        gotoFirstLine in interface InputSynapse
        Throws:
        java.io.IOException
      • gotoLine

        public void gotoLine(int numLine)
                      throws java.io.IOException
        Point to the indicated line into the input stream
        Specified by:
        gotoLine in interface InputSynapse
        Throws:
        java.io.IOException
      • isBuffered

        public boolean isBuffered()
        Checks if the input synapse is buffered or not
        Specified by:
        isBuffered in interface InputSynapse
        Returns:
        true in case the input stream is buffered, false otherwise.
      • isEOF

        public boolean isEOF()
        Returns if reached the EOF (10/04/00 23.16.20)
        Specified by:
        isEOF in interface InputSynapse
        Returns:
        boolean
      • isStepCounter

        public boolean isStepCounter()
        Returns if this input layer is an active counter of the steps. Warning: in a neural net there can be only one StepCounter element! (10/04/00 23.23.26)
        Specified by:
        isStepCounter in interface InputSynapse
        Returns:
        boolean
      • numColumns

        public int numColumns()
      • setBuffered

        public void setBuffered(boolean aNewBuffered)
        Sets the buffer-mode for this input synapse.
        Specified by:
        setBuffered in interface InputSynapse
        Parameters:
        aNewBuffered - true if the input should be buffered. false if the input should not be buffered, the input will be retrieved from the input source every cycle again.

        Whenever any converter plug in is added, the buffer-mode will be set to true, regardless of the parameter's argument.

      • setFirstRow

        public void setFirstRow(int newFirstRow)
        Inserire qui la descrizione del metodo. Data di creazione: (11/04/00 1.22.28)
        Specified by:
        setFirstRow in interface InputSynapse
        Parameters:
        newFirstRow - int
      • resetInput

        public void resetInput()
        Reset the input stream to read its content again
        Specified by:
        resetInput in interface InputSynapse
      • setLastRow

        public void setLastRow(int newLastRow)
        Inserire qui la descrizione del metodo. Data di creazione: (11/04/00 1.22.34)
        Specified by:
        setLastRow in interface InputSynapse
        Parameters:
        newLastRow - int
      • addPlugIn

        public boolean addPlugIn(ConverterPlugIn aNewPlugIn)
        Adds a plug in to the stream input synapse for data preprocessing. If one or more plug ins are already added to the this synapse, the plug in will be added at the end of the list of plug ins.
        Parameters:
        aNewPlugIn - The new converter plug in to add (at the end of the list).
        Returns:
        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.
      • removeAllPlugIns

        public void removeAllPlugIns()
        Removes (and disconnects) all (cascading) plug-ins.
      • getPlugIn

        public ConverterPlugIn getPlugIn()
        Gets the attached ConverterPlugin, if any
        Returns:
        neural.engine.ConverterPlugIn
      • setPlugIn

        public void setPlugIn(ConverterPlugIn newPlugIn)
        Added for XML serialization **** DO NOT USE **** Use getPlugin instead
      • setStepCounter

        public void setStepCounter(boolean newStepCounter)
        Inserire qui la descrizione del metodo. Data di creazione: (10/04/00 23.23.26)
        Specified by:
        setStepCounter in interface InputSynapse
        Parameters:
        newStepCounter - boolean
      • getLastCol

        public int getLastCol()
        Deprecated. 
        Getter for property lastCol.
        Specified by:
        getLastCol in interface InputSynapse
        Returns:
        Value of property lastCol.
      • setLastCol

        public void setLastCol(int lastCol)
                        throws java.lang.IllegalArgumentException
        Deprecated. 
        Setter for property lastCol.
        Specified by:
        setLastCol in interface InputSynapse
        Parameters:
        lastCol - New value of property lastCol.
        Throws:
        java.lang.IllegalArgumentException
      • getFirstCol

        public int getFirstCol()
        Deprecated. 
        Getter for property firstCol.
        Specified by:
        getFirstCol in interface InputSynapse
        Returns:
        Value of property firstCol.
      • setFirstCol

        public void setFirstCol(int firstCol)
                         throws java.lang.IllegalArgumentException
        Deprecated. 
        Setter for property firstCol.
        Specified by:
        setFirstCol in interface InputSynapse
        Parameters:
        firstCol - New value of property firstCol.
        Throws:
        java.lang.IllegalArgumentException
      • getAdvancedColumnSelector

        public java.lang.String getAdvancedColumnSelector()
      • setAdvancedColumnSelector

        public void setAdvancedColumnSelector(java.lang.String newAdvColSel)
      • dataChanged

        public void dataChanged(PlugInEvent data)
        Description copied from interface: PlugInListener
        This method is called by plug-ins whenever data is changed.
        Specified by:
        dataChanged in interface PlugInListener
        Parameters:
        data - the event that is send, i.e. the event indicating that the data is changed.
      • check

        public java.util.TreeSet check()
        Check that parameters are set correctly.
        Specified by:
        check in interface NeuralElement
        Overrides:
        check in class Synapse
        Returns:
        validation errors.
        See Also:
        Synapse
      • Inspections

        public java.util.Collection Inspections()
        Description copied from interface: Inspectable
        Method to get a collection of inspectable objects.
        Specified by:
        Inspections in interface Inspectable
        Overrides:
        Inspections in class Synapse
        Returns:
        list of Inspectable objects
        See Also:
        org.joone.Inspection
      • InspectableTitle

        public java.lang.String InspectableTitle()
        Description copied from interface: Inspectable
        Method to get the title to show in the InspectionFrame tab.
        Specified by:
        InspectableTitle in interface Inspectable
        Overrides:
        InspectableTitle in class Synapse
        Returns:
        title of the class.
        See Also:
        org.joone.InspectionFrame
      • getMaxBufSize

        public int getMaxBufSize()
        Getter for property maxBufSize.
        Returns:
        Value of property maxBufSize.
      • setMaxBufSize

        public void setMaxBufSize(int maxBufSize)
        Setter for property maxBufSize.
        Parameters:
        maxBufSize - New value of property maxBufSize.
      • getInputPatterns

        public java.util.Vector getInputPatterns()
        Getter for property inputPatterns. Added for XML serialization
        Returns:
        Value of property inputPatterns.
      • setInputPatterns

        public void setInputPatterns(java.util.Vector inputPatterns)
        Setter for property inputPatterns. Added for XML serialization
        Parameters:
        inputPatterns - New value of property inputPatterns.
      • fwdGet

        public Pattern fwdGet(InputConnector conn)
        This method is called by the InputConnector in order to get the next input pattern available for that connector
      • getCurrentRow

        public int getCurrentRow()
        Getter for property currentRow.
        Returns:
        Value of property currentRow.
      • addPlugInListener

        public void addPlugInListener(PlugInListener aListener)
        Adds a plug-in lsitener to this input stream.
        Parameters:
        aListener - the listener to add
      • removePlugInListener

        public void removePlugInListener(PlugInListener aListener)
        Removes a plug-in listener from this input stream.
        Parameters:
        aListener - the listener to remove
      • getAllPlugInListeners

        public java.util.List getAllPlugInListeners()
        Gets all the plug-in listeners.
        Returns:
        the plug-in listeners.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.