org.joone.edit
Class AbstractChartSynapse
- java.lang.Object
-
- org.joone.edit.AbstractChartSynapse
-
- All Implemented Interfaces:
- java.io.Serializable, ChartInterface, NeuralElement, OutputPatternListener, NotSerialize
- Direct Known Subclasses:
- ChartOutputSynapse
public abstract class AbstractChartSynapse extends java.lang.Object implements ChartInterface, NotSerialize, java.io.Serializable
Abstract class implemented by all the classes that want to plot some kind of chart using the values contained into the patterns passed as parameter of the fwdPut methods. It support also the plotting of multi-series charts.- See Also:
ChartInterface,ChartingHandle, Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description AbstractChartSynapse()Creates new form ChartOutputSynapse
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description java.util.TreeSetcheck()Base for check messages.abstract voidfwdPut(Pattern pattern)Method to plot a serie in the chart in mono-serie modeabstract voidfwdPut(Pattern pattern, ChartingHandle handle)Method to plot a serie in the chart in multi-serie mode This method is used by a ChartingHandle to plot a specific serieintgetInputDimension()Returns the dimension of the output synapseintgetMaxXaxis()Getter for property maxXaxis.doublegetMaxYaxis()Getter for property maxYaxis.MonitorgetMonitor()Returns the monitorjava.lang.StringgetName()Getter for property name.intgetSerie()Getter for property serie.java.lang.StringgetTitle()Getter for property title.voidinit()booleanisEnabled()Getter for property enabled.booleanisOutputFull()Getter for property outputFull.booleanisResizable()Getter for property resizable.booleanisShow()Getter for property show.abstract voidremoveHandle(ChartingHandle handle)PatternrevGet()Returns the error pattern coming from the next layer during the training phasevoidsetEnabled(boolean enabled)Setter for property enabled.voidsetInputDimension(int newInputDimension)Sets the dimension of the output synapse *** NOT USED ***voidsetMaxXaxis(int maxXaxis)Setter for property maxXaxis.voidsetMaxYaxis(double maxYaxis)Setter for property maxYaxis.voidsetMonitor(Monitor newMonitor)Sets the Monitor object of the output synapsevoidsetName(java.lang.String name)Setter for property name.voidsetOutputFull(boolean outputFull)Setter for property outputFull.voidsetResizable(boolean resizable)Setter for property resizable.voidsetSerie(int newSerie)Setter for property serie.voidsetShow(boolean show)Setter for property show.voidsetTitle(java.lang.String title)Setter for property title.
-
-
-
Constructor Detail
-
AbstractChartSynapse
public AbstractChartSynapse()
Creates new form ChartOutputSynapse
-
-
Method Detail
-
setMonitor
public void setMonitor(Monitor newMonitor)
Sets the Monitor object of the output synapse- Specified by:
setMonitorin interfaceNeuralElement- Parameters:
newMonitor- org.joone.engine.Monitor
-
revGet
public Pattern revGet()
Returns the error pattern coming from the next layer during the training phase- Specified by:
revGetin interfaceOutputPatternListener- Returns:
- neural.engine.Pattern
-
setInputDimension
public void setInputDimension(int newInputDimension)
Sets the dimension of the output synapse *** NOT USED ***- Specified by:
setInputDimensionin interfaceOutputPatternListener- Parameters:
newInputDimension- int
-
getMonitor
public Monitor getMonitor()
Returns the monitor- Specified by:
getMonitorin interfaceNeuralElement- Returns:
- org.joone.engine.Monitor
-
getInputDimension
public int getInputDimension()
Returns the dimension of the output synapse- Specified by:
getInputDimensionin interfaceOutputPatternListener- Returns:
- int
-
isShow
public boolean isShow()
Getter for property show.- Returns:
- Value of property show.
-
setShow
public void setShow(boolean show)
Setter for property show.- Parameters:
show- New value of property show.
-
getMaxYaxis
public double getMaxYaxis()
Getter for property maxYaxis.- Specified by:
getMaxYaxisin interfaceChartInterface- Returns:
- Value of property maxYaxis.
-
setMaxYaxis
public void setMaxYaxis(double maxYaxis)
Setter for property maxYaxis.- Specified by:
setMaxYaxisin interfaceChartInterface- Parameters:
maxYaxis- New value of property maxYaxis.
-
getMaxXaxis
public int getMaxXaxis()
Getter for property maxXaxis.- Specified by:
getMaxXaxisin interfaceChartInterface- Returns:
- Value of property maxXaxis.
-
setMaxXaxis
public void setMaxXaxis(int maxXaxis)
Setter for property maxXaxis.- Specified by:
setMaxXaxisin interfaceChartInterface- Parameters:
maxXaxis- New value of property maxXaxis.
-
getSerie
public int getSerie()
Getter for property serie.- Returns:
- Value of property serie.
-
setSerie
public void setSerie(int newSerie)
Setter for property serie.- Parameters:
newSerie- The column (serie) of the pattern to plot.
-
getName
public java.lang.String getName()
Getter for property name.- Specified by:
getNamein interfaceNeuralElement- Returns:
- Value of property name.
-
setName
public void setName(java.lang.String name)
Setter for property name.- Specified by:
setNamein interfaceNeuralElement- Parameters:
name- New value of property name.
-
getTitle
public java.lang.String getTitle()
Getter for property title.- Returns:
- Value of property title.
-
setTitle
public void setTitle(java.lang.String title)
Setter for property title.- Parameters:
title- New value of property title.
-
isResizable
public boolean isResizable()
Getter for property resizable.- Returns:
- Value of property resizable.
-
setResizable
public void setResizable(boolean resizable)
Setter for property resizable.- Parameters:
resizable- New value of property resizable.
-
check
public java.util.TreeSet check()
Base for check messages. Subclasses should call this method from thier own check method.- Specified by:
checkin interfaceNeuralElement- Returns:
- validation errors.
- See Also:
OutputPaternListener
-
isOutputFull
public boolean isOutputFull()
Getter for property outputFull.- Specified by:
isOutputFullin interfaceOutputPatternListener- Returns:
- Value of property outputFull.
-
setOutputFull
public void setOutputFull(boolean outputFull)
Setter for property outputFull.- Specified by:
setOutputFullin interfaceOutputPatternListener- Parameters:
outputFull- New value of property outputFull.
-
fwdPut
public abstract void fwdPut(Pattern pattern)
Method to plot a serie in the chart in mono-serie mode- Specified by:
fwdPutin interfaceOutputPatternListener- Parameters:
pattern- neural.engine.Pattern
-
fwdPut
public abstract void fwdPut(Pattern pattern, ChartingHandle handle)
Method to plot a serie in the chart in multi-serie mode This method is used by a ChartingHandle to plot a specific serie- Specified by:
fwdPutin interfaceChartInterface- Parameters:
pattern- The input patternhandle- The ChartingHandle class that describes the serie to plot
-
removeHandle
public abstract void removeHandle(ChartingHandle handle)
- Specified by:
removeHandlein interfaceChartInterface
-
isEnabled
public boolean isEnabled()
Getter for property enabled.- Specified by:
isEnabledin interfaceNeuralElement- Returns:
- Value of property enabled.
-
setEnabled
public void setEnabled(boolean enabled)
Setter for property enabled.- Specified by:
setEnabledin interfaceNeuralElement- Parameters:
enabled- New value of property enabled.
-
init
public void init()
- Specified by:
initin interfaceNeuralElement
-
-
DataMelt 3.0 © DataMelt by jWork.ORG