Documentation of 'org.joone.edit.visad.VisADOutputSynapse' Java class
VisADOutputSynapse
org.joone.edit.visad

Class VisADOutputSynapse

  • All Implemented Interfaces:
    java.io.Serializable, java.util.EventListener, ChartInterface, NeuralElement, NeuralNetListener, OutputPatternListener, NotSerialize


    public class VisADOutputSynapse
    extends java.lang.Object
    implements NotSerialize, java.io.Serializable, NeuralNetListener, ChartInterface

    This component implements the chart interface and allows data obtained via the use of ChartHandles to be plotted onto a graph.

    The VisADOutputSynapse uses the visad display library, more details on this can be obtained from http://www.visad.org.

    When the property show is set to true a JFrame is displayed, this will display a chart of any previously obtained data or no chart if the data has not yet been obtained. When the network starts the component collects the data in internal buffers and at the end of the network run will display the data in a chart. Serie lines are coloured according to the choice made in the specific ChartHandle object.

    The displayed component allows the user to change the X and Y range of data that should be displayed, this allows ther user to zoom in ans out of the data range.

    The user can also decided whether to display the data as points and whatthe point size can be.

    Multi serie plots can be done by the use of ChartHandles. Mono plots can be done by connecting this to a normal Layer.

    This component will throw an network error if it runs out of memory, the network will then stop running.

    See Also:
    Serialized Form
    • Constructor Detail

      • VisADOutputSynapse

        public VisADOutputSynapse()
        Creates new form ChartOutputSynapse
    • Method Detail

      • setMonitor

        public void setMonitor(Monitor newMonitor)
        Sets the Monitor object of this VisADOutputSyanpse.
        Specified by:
        setMonitor in interface NeuralElement
        Parameters:
        newMonitor - org.joone.engine.Monitor
      • fwdPut

        public void fwdPut(Pattern pattern,
                           ChartingHandle handle)
        Method to plot a serie of a pattern in multi-serie mode This method is used by a ChartingHandle to plot a specific serie
        Specified by:
        fwdPut in interface ChartInterface
        Parameters:
        pattern - The input pattern
        handle - The ChartingHandle class that describes the serie to plot
      • fwdPut

        public void fwdPut(Pattern pattern)
        Called by the previous layer to place a pattern on this VisADOutputSynapse, supports single/mono serie plot. The data plotted is defined by the serie property.
        Specified by:
        fwdPut in interface OutputPatternListener
        Parameters:
        pattern - The pattern with the data to plot.
      • revGet

        public Pattern revGet()
        Returns the error pattern coming from the next layer during the training phase
        Specified by:
        revGet in interface OutputPatternListener
        Returns:
        neural.engine.Pattern
      • setInputDimension

        public void setInputDimension(int newInputDimension)
        Sets the dimension of the output synapse
        Specified by:
        setInputDimension in interface OutputPatternListener
        Parameters:
        newOutputDimension - int
      • getMonitor

        public Monitor getMonitor()
        Returns the monitor
        Specified by:
        getMonitor in interface NeuralElement
        Returns:
        org.joone.engine.Monitor
      • getInputDimension

        public int getInputDimension()
        Returns the dimension of this VisADOutputSynapse which is always 0.
        Specified by:
        getInputDimension in interface OutputPatternListener
        Returns:
        int Always 0.
      • isShow

        public boolean isShow()
        Getter for property show. Is the frame/component/chart on display?
        Returns:
        Value of property show.
      • setShow

        public void setShow(boolean show)
        Setter for property show.
        Parameters:
        show - true to display the chart component, false to hide it.
      • getMaxYaxis

        public double getMaxYaxis()
        Getter for property maxYaxis.
        Specified by:
        getMaxYaxis in interface ChartInterface
        Returns:
        Value of property maxYaxis.
      • setMaxYaxis

        public void setMaxYaxis(double maxYaxis)
        Setter for property maxYaxis.
        Specified by:
        setMaxYaxis in interface ChartInterface
        Parameters:
        maxYaxis - New value of property maxYaxis.
      • getMaxXaxis

        public int getMaxXaxis()
        Getter for property maxXaxis.
        Specified by:
        getMaxXaxis in interface ChartInterface
        Returns:
        Value of property maxXaxis.
      • setMaxXaxis

        public void setMaxXaxis(int maxXaxis)
        Setter for property maxXaxis.
        Specified by:
        setMaxXaxis in interface ChartInterface
        Parameters:
        maxXaxis - New value of property maxXaxis.
      • getSerie

        public int getSerie()
        Getter for property serie. Used for mono plots only.
        Returns:
        Value of property serie.
      • setSerie

        public void setSerie(int newSerie)
        Setter for property serie. Used for mono plots only.
        Parameters:
        serie - New value of property serie.
      • getName

        public java.lang.String getName()
        Getter for property name.
        Specified by:
        getName in interface NeuralElement
        Returns:
        Value of property name.
      • setName

        public void setName(java.lang.String name)
        Setter for property name.
        Specified by:
        setName in interface NeuralElement
        Parameters:
        name - New value of property name.
      • getTitle

        public java.lang.String getTitle()
        Getter for property title. Gets the title of the components frame.
        Returns:
        Value of property title.
      • setTitle

        public void setTitle(java.lang.String title)
        Setter for property title. Sets the title of the components frame.
        Parameters:
        title - New value of property title.
      • isResizable

        public boolean isResizable()
        Getter for property resizable. Can user re-size the components frame or not.
        Returns:
        Value of property resizable.
      • setResizable

        public void setResizable(boolean resizable)
        Setter for property resizable. Can user re-size the components frame or not.
        Parameters:
        resizable - New value of property resizable.
      • check

        public java.util.TreeSet check()
        Base for check messages. Subclasses should call this method from their own check method.
        Specified by:
        check in interface NeuralElement
        Returns:
        validation errors.
        See Also:
        OutputPaternListener
      • isEnabled

        public boolean isEnabled()
        Getter for property enabled. Is the component enabled or not.
        Specified by:
        isEnabled in interface NeuralElement
        Returns:
        Value of property enabled.
      • setEnabled

        public void setEnabled(boolean enabled)
        Setter for property enabled.
        Specified by:
        setEnabled in interface NeuralElement
        Parameters:
        enabled - New value of property enabled.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.