org.joone.edit
Class ChartingHandle
- java.lang.Object
-
- org.joone.edit.ChartingHandle
-
- All Implemented Interfaces:
- java.io.Serializable, NeuralElement, OutputPatternListener
public class ChartingHandle extends java.lang.Object implements OutputPatternListener, java.io.Serializable
This class acts as a container of all the characteristics of a serie plotted by a charting component (i.e. a component implementing ChartInterface). This component must be connected beetwen a layer and a charting component.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description ChartingHandle()The constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.util.TreeSetcheck()Base for check messages.voidfwdPut(Pattern pattern)Method to put a pattern forward to the next layerintgetBlueColor()Getter for property BlueColor.ChartInterfacegetChartSynapse()Getter for property chartSynapse.intgetGreenColor()Getter for property GreenColor.intgetInputDimension()Returns the dimension of the output synapseMonitorgetMonitor()Returns the monitorjava.lang.StringgetName()Returns the name of the output synapseintgetRedColor()Getter for property RedColor.intgetSerie()Getter for property serie.voidinit()booleanisEnabled()Getter for property enabled.booleanisOutputFull()Getter for property outputFull.PatternrevGet()Returns the error pattern coming from the next layer during the training phasevoidsetBlueColor(int BlueColor)Setter for property BlueColor.voidsetChartSynapse(ChartInterface chartSynapse)Setter for property chartSynapse.voidsetEnabled(boolean enabled)Setter for property enabled.voidsetGreenColor(int GreenColor)Setter for property GreenColor.voidsetInputDimension(int newInputDimension)Sets the dimension of the output synapsevoidsetMonitor(Monitor newMonitor)Sets the Monitor object of the input synapsevoidsetName(java.lang.String name)Sets the name of the output synapsevoidsetOutputFull(boolean outputFull)Setter for property outputFull.voidsetRedColor(int RedColor)Setter for property RedColor.voidsetSerie(int serie)Setter for property serie.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Returns the name of the output synapse- Specified by:
getNamein interfaceNeuralElement- Returns:
- String
-
setName
public void setName(java.lang.String name)
Sets the name of the output synapse- Specified by:
setNamein interfaceNeuralElement- Parameters:
name- String
-
setInputDimension
public void setInputDimension(int newInputDimension)
Sets the dimension of the output synapse- Specified by:
setInputDimensionin interfaceOutputPatternListener- Parameters:
newOutputDimension- int
-
getInputDimension
public int getInputDimension()
Returns the dimension of the output synapse- Specified by:
getInputDimensionin interfaceOutputPatternListener- Returns:
- int
-
getMonitor
public Monitor getMonitor()
Returns the monitor- Specified by:
getMonitorin interfaceNeuralElement- Returns:
- org.joone.engine.Monitor
-
setMonitor
public void setMonitor(Monitor newMonitor)
Sets the Monitor object of the input synapse- Specified by:
setMonitorin interfaceNeuralElement- Parameters:
newMonitor- org.joone.engine.Monitor
-
fwdPut
public void fwdPut(Pattern pattern)
Method to put a pattern forward to the next layer- Specified by:
fwdPutin interfaceOutputPatternListener- Parameters:
pattern- neural.engine.Pattern
-
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
-
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.
-
getChartSynapse
public ChartInterface getChartSynapse()
Getter for property chartSynapse.- Returns:
- Value of property chartSynapse.
-
setChartSynapse
public void setChartSynapse(ChartInterface chartSynapse)
Setter for property chartSynapse. This property points to the charting component interested.- Parameters:
chartSynapse- New value of property chartSynapse.
-
getSerie
public int getSerie()
Getter for property serie.- Returns:
- Value of property serie.
-
setSerie
public void setSerie(int serie)
Setter for property serie.- Parameters:
serie- New value of property serie.
-
getRedColor
public int getRedColor()
Getter for property RedColor.- Returns:
- Value of property RedColor.
-
setRedColor
public void setRedColor(int RedColor)
Setter for property RedColor.- Parameters:
RedColor- New value of property RedColor.
-
getGreenColor
public int getGreenColor()
Getter for property GreenColor.- Returns:
- Value of property GreenColor.
-
setGreenColor
public void setGreenColor(int GreenColor)
Setter for property GreenColor.- Parameters:
GreenColor- New value of property GreenColor.
-
getBlueColor
public int getBlueColor()
Getter for property BlueColor.- Returns:
- Value of property BlueColor.
-
setBlueColor
public void setBlueColor(int BlueColor)
Setter for property BlueColor.- Parameters:
BlueColor- New value of property BlueColor.
-
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