IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
IG.Neural.Forms.Old.NeuralParametricTestOld Class Reference

Torm for parametric tests. Obsolete! More...

+ Inheritance diagram for IG.Neural.Forms.Old.NeuralParametricTestOld:
+ Collaboration diagram for IG.Neural.Forms.Old.NeuralParametricTestOld:

Public Member Functions

 NeuralParametricTestOld (INeuralModel neuralModel)
 Constructs the control, with ANN-based model specified. More...
 
 NeuralParametricTestOld ()
 
void SetNeuralModel (INeuralModel model)
 Sets the ANN-based model used by the current form. More...
 
void ApplyPlotterSettingsDefault (PlotterZedGraph plotter, int whichInput, int numInputs, int whichOutput, int numOutpts)
 Applies style and other settings to the plotter used to show the parametric graph. More...
 
void ApplyPlotCurveSettingsDefault (PlotZedgraphCurve plot, int whichInput, int numInputs, int whichOutput, int numOutpts)
 Applies style and other settings to the plotter used to show the parametric graph. More...
 
void PlotParametricTest ()
 plots the selected outpt dependend on the selected parameter. More...
 
 NeuralParametricTestOld (INeuralModel neuralModel)
 Constructs the control, with ANN-based model specified. More...
 
 NeuralParametricTestOld ()
 
void SetNeuralModel (INeuralModel model)
 Sets the ANN-based model used by the current form. More...
 
void ApplyPlotterSettingsDefault (PlotterZedGraph plotter, int whichInput, int numInputs, int whichOutput, int numOutpts)
 Applies style and other settings to the plotter used to show the parametric graph. More...
 
void ApplyPlotCurveSettingsDefault (PlotZedgraphCurve plot, int whichInput, int numInputs, int whichOutput, int numOutpts)
 Applies style and other settings to the plotter used to show the parametric graph. More...
 
void PlotParametricTest ()
 plots the selected outpt dependend on the selected parameter. More...
 

Protected Member Functions

override void Dispose (bool disposing)
 Clean up any resources being used. More...
 
override void Dispose (bool disposing)
 Clean up any resources being used. More...
 

Protected Attributes

INeuralModelContainer _neuralModelContainerControl
 
int _selectedParameterId = 0
 
int _selectedOutputId = 0
 

Properties

INeuralModel NeuralModel [get, protected set]
 Neural network - based model. More...
 
INeuralApproximator TrainedNetwork [get]
 Traint artificial neural network. More...
 
InputOutputDataDefiniton NeuralDataDefinition [get]
 Neural data definition. More...
 
int NumInputParameters [get]
 Gets number of input parameters. More...
 
int NumOutputValues [get]
 Gets number of output values. More...
 
IVector ParameterValues [get]
 Vector of current values of input parameters as defined by the DadaGridView. More...
 
double[] MinValues [get]
 Minimal values of parameters. More...
 
double[] MaxValues [get]
 Maximal values of parameters. More...
 
int SelectedParameterId [get, protected set]
 Sequential number of the selected parameter as specified by the user. More...
 
double SelectedParameterMin [get]
 Minimal value of the selected parameter. More...
 
double SelectedParameterMax [get]
 Maximal value of the selected parameter as specified by the user. More...
 
int SelectedOutputId [get, protected set]
 
string SelectedParameterLabelText [get]
 Gets axis label text for the currently selected parameter. More...
 
string SelectedOutputLabelText [get]
 Gets axis label text for the currently selected output value. More...
 
PlotterZedGraph Plotter [get]
 Plotter that is used for plotting the graphs. More...
 

Private Member Functions

void btnParmTestStart_Click (object sender, EventArgs e)
 Plots the parametric test. More...
 
void neuralInputControl1_SelectedParameterIdChanged (int oldId, int newId)
 Executes when ID of the selected input parameter changes; Plots the parametric test. More...
 
void neuralInputControl1_SelectedParameterMinChanged (double oldValue, double newValue)
 Executes when minimal value of the selected parameter changes by user interaction; Plots the parametric test. More...
 
void neuralInputControl1_SelectedParameterMaxChanged (double oldValue, double newValue)
 Executes when maximal value of the selected parameter changes by user interaction; Plots the parametric test. More...
 
void neuralOutputValueSelector1_SelectedOutputIdChanged (int oldId, int newId)
 Executes when ID of the selected output value changes; Plots the parametric test. More...
 
void InitializeComponent ()
 Required method for Designer support - do not modify the contents of this method with the code editor. More...
 
void btnParmTestStart_Click (object sender, EventArgs e)
 Plots the parametric test. More...
 
void neuralInputControl1_SelectedParameterIdChanged (int oldId, int newId)
 Executes when ID of the selected input parameter changes; Plots the parametric test. More...
 
void neuralInputControl1_SelectedParameterMinChanged (double oldValue, double newValue)
 Executes when minimal value of the selected parameter changes by user interaction; Plots the parametric test. More...
 
void neuralInputControl1_SelectedParameterMaxChanged (double oldValue, double newValue)
 Executes when maximal value of the selected parameter changes by user interaction; Plots the parametric test. More...
 
void neuralOutputValueSelector1_SelectedOutputIdChanged (int oldId, int newId)
 Executes when ID of the selected output value changes; Plots the parametric test. More...
 
void InitializeComponent ()
 Required method for Designer support - do not modify the contents of this method with the code editor. More...
 

Private Attributes

INeuralModel _neuralModel
 
PlotterZedGraph _plotter
 
System.ComponentModel.IContainer components = null
 Required designer variable. More...
 
NeuralParametricTestSelection neuralInputControl1
 
System.Windows.Forms.Panel pnlGraph
 
System.Windows.Forms.NumericUpDown txtNumPointsLine
 
System.Windows.Forms.Label lblNumPointsLine
 
ZedGraph.ZedGraphControl ParmTestFGraph
 
System.Windows.Forms.Button btnParmTestStart
 
Forms.NeuralOutputValueSelector neuralOutputValueSelector1
 
System.Windows.Forms.Label lblInfoOld
 

Detailed Description

Torm for parametric tests. Obsolete!

This is developed form initial design of the form where NeuralParametricTestSelection is used for everything related to input parameters (to set central parameter values and to select the parameter that varies and bounds in which it varies).

Now this is used for demonstratin how further composed controls can be put on tab pages. Important aspect of this is how to handle the data definition and neural approximator.

$A Igor Aor13;

Constructor & Destructor Documentation

IG.Neural.Forms.Old.NeuralParametricTestOld.NeuralParametricTestOld ( INeuralModel  neuralModel)
inline

Constructs the control, with ANN-based model specified.

Parameters
neuralModelANN-based model, containing data definitions and trained neural network.
IG.Neural.Forms.Old.NeuralParametricTestOld.NeuralParametricTestOld ( )
inline
IG.Neural.Forms.Old.NeuralParametricTestOld.NeuralParametricTestOld ( INeuralModel  neuralModel)
inline

Constructs the control, with ANN-based model specified.

Parameters
neuralModelANN-based model, containing data definitions and trained neural network.
IG.Neural.Forms.Old.NeuralParametricTestOld.NeuralParametricTestOld ( )
inline

Member Function Documentation

void IG.Neural.Forms.Old.NeuralParametricTestOld.SetNeuralModel ( INeuralModel  model)
inline

Sets the ANN-based model used by the current form.

Parameters
modelANN based model that is set.

Because of this dedicated method, the setter of the NeuralModel property can be non-public.

void IG.Neural.Forms.Old.NeuralParametricTestOld.ApplyPlotterSettingsDefault ( PlotterZedGraph  plotter,
int  whichInput,
int  numInputs,
int  whichOutput,
int  numOutpts 
)
inline

Applies style and other settings to the plotter used to show the parametric graph.

Parameters
plotterPlotter to which settings are applied.
whichInputID of the input to be plotted.
whichOutpputID of the output to be plotted.

References IG.Gr.PlotterZedGraph.IsShowPointValues, IG.Gr.PlotterZedGraph.XAxisLabel, and IG.Gr.PlotterZedGraph.YAxisLabel.

void IG.Neural.Forms.Old.NeuralParametricTestOld.ApplyPlotCurveSettingsDefault ( PlotZedgraphCurve  plot,
int  whichInput,
int  numInputs,
int  whichOutput,
int  numOutpts 
)
inline

Applies style and other settings to the plotter used to show the parametric graph.

Parameters
plotterPlotter to which settings are applied.
whichInputID of the input to be plotted.
whichOutpputID of the output to be plotted.

References IG.Gr.PlotZedgraphCurve.LineColor, IG.Gr.PlotZedgraphCurve.LineWidth, IG.Gr.PlotZedgraphCurve.PointBorderColor, IG.Gr.PlotZedgraphCurve.PointFillColor, and IG.Gr.PlotZedgraphCurve.PointsVisible.

void IG.Neural.Forms.Old.NeuralParametricTestOld.PlotParametricTest ( )
inline

plots the selected outpt dependend on the selected parameter.

References IG.Gr.PlotZedgraphCurve.AddPoint(), and IG.Num.VectorBase.CopyPlain().

void IG.Neural.Forms.Old.NeuralParametricTestOld.btnParmTestStart_Click ( object  sender,
EventArgs  e 
)
inlineprivate

Plots the parametric test.

void IG.Neural.Forms.Old.NeuralParametricTestOld.neuralInputControl1_SelectedParameterIdChanged ( int  oldId,
int  newId 
)
inlineprivate

Executes when ID of the selected input parameter changes; Plots the parametric test.

Parameters
oldIdOld ID of the selected output value (after change).
newIdNew ID of the selected output value (after changed).
void IG.Neural.Forms.Old.NeuralParametricTestOld.neuralInputControl1_SelectedParameterMinChanged ( double  oldValue,
double  newValue 
)
inlineprivate

Executes when minimal value of the selected parameter changes by user interaction; Plots the parametric test.

Parameters
oldValueOld value.
newValueNew value.
void IG.Neural.Forms.Old.NeuralParametricTestOld.neuralInputControl1_SelectedParameterMaxChanged ( double  oldValue,
double  newValue 
)
inlineprivate

Executes when maximal value of the selected parameter changes by user interaction; Plots the parametric test.

Parameters
oldValueOld value.
newValueNew value.
void IG.Neural.Forms.Old.NeuralParametricTestOld.neuralOutputValueSelector1_SelectedOutputIdChanged ( int  oldId,
int  newId 
)
inlineprivate

Executes when ID of the selected output value changes; Plots the parametric test.

Parameters
oldIdOld ID of the selected output value (after change).
newIdNew ID of the selected output value (after changed).
override void IG.Neural.Forms.Old.NeuralParametricTestOld.Dispose ( bool  disposing)
inlineprotected

Clean up any resources being used.

Parameters
disposingtrue if managed resources should be disposed; otherwise, false.
void IG.Neural.Forms.Old.NeuralParametricTestOld.InitializeComponent ( )
inlineprivate

Required method for Designer support - do not modify the contents of this method with the code editor.

void IG.Neural.Forms.Old.NeuralParametricTestOld.SetNeuralModel ( INeuralModel  model)
inline

Sets the ANN-based model used by the current form.

Parameters
modelANN based model that is set.

Because of this dedicated method, the setter of the NeuralModel property can be non-public.

void IG.Neural.Forms.Old.NeuralParametricTestOld.ApplyPlotterSettingsDefault ( PlotterZedGraph  plotter,
int  whichInput,
int  numInputs,
int  whichOutput,
int  numOutpts 
)
inline

Applies style and other settings to the plotter used to show the parametric graph.

Parameters
plotterPlotter to which settings are applied.
whichInputID of the input to be plotted.
whichOutpputID of the output to be plotted.

References IG.Gr.PlotterZedGraph.IsShowPointValues, IG.Gr.PlotterZedGraph.XAxisLabel, and IG.Gr.PlotterZedGraph.YAxisLabel.

void IG.Neural.Forms.Old.NeuralParametricTestOld.ApplyPlotCurveSettingsDefault ( PlotZedgraphCurve  plot,
int  whichInput,
int  numInputs,
int  whichOutput,
int  numOutpts 
)
inline

Applies style and other settings to the plotter used to show the parametric graph.

Parameters
plotterPlotter to which settings are applied.
whichInputID of the input to be plotted.
whichOutpputID of the output to be plotted.

References IG.Gr.PlotZedgraphCurve.LineColor, IG.Gr.PlotZedgraphCurve.LineWidth, IG.Gr.PlotZedgraphCurve.PointBorderColor, IG.Gr.PlotZedgraphCurve.PointFillColor, and IG.Gr.PlotZedgraphCurve.PointsVisible.

void IG.Neural.Forms.Old.NeuralParametricTestOld.PlotParametricTest ( )
inline

plots the selected outpt dependend on the selected parameter.

References IG.Gr.PlotZedgraphCurve.AddPoint(), and IG.Num.VectorBase.CopyPlain().

void IG.Neural.Forms.Old.NeuralParametricTestOld.btnParmTestStart_Click ( object  sender,
EventArgs  e 
)
inlineprivate

Plots the parametric test.

void IG.Neural.Forms.Old.NeuralParametricTestOld.neuralInputControl1_SelectedParameterIdChanged ( int  oldId,
int  newId 
)
inlineprivate

Executes when ID of the selected input parameter changes; Plots the parametric test.

Parameters
oldIdOld ID of the selected output value (after change).
newIdNew ID of the selected output value (after changed).
void IG.Neural.Forms.Old.NeuralParametricTestOld.neuralInputControl1_SelectedParameterMinChanged ( double  oldValue,
double  newValue 
)
inlineprivate

Executes when minimal value of the selected parameter changes by user interaction; Plots the parametric test.

Parameters
oldValueOld value.
newValueNew value.
void IG.Neural.Forms.Old.NeuralParametricTestOld.neuralInputControl1_SelectedParameterMaxChanged ( double  oldValue,
double  newValue 
)
inlineprivate

Executes when maximal value of the selected parameter changes by user interaction; Plots the parametric test.

Parameters
oldValueOld value.
newValueNew value.
void IG.Neural.Forms.Old.NeuralParametricTestOld.neuralOutputValueSelector1_SelectedOutputIdChanged ( int  oldId,
int  newId 
)
inlineprivate

Executes when ID of the selected output value changes; Plots the parametric test.

Parameters
oldIdOld ID of the selected output value (after change).
newIdNew ID of the selected output value (after changed).
override void IG.Neural.Forms.Old.NeuralParametricTestOld.Dispose ( bool  disposing)
inlineprotected

Clean up any resources being used.

Parameters
disposingtrue if managed resources should be disposed; otherwise, false.
void IG.Neural.Forms.Old.NeuralParametricTestOld.InitializeComponent ( )
inlineprivate

Required method for Designer support - do not modify the contents of this method with the code editor.

Member Data Documentation

INeuralModelContainer IG.Neural.Forms.Old.NeuralParametricTestOld._neuralModelContainerControl
protected
INeuralModel IG.Neural.Forms.Old.NeuralParametricTestOld._neuralModel
private
int IG.Neural.Forms.Old.NeuralParametricTestOld._selectedParameterId = 0
protected
int IG.Neural.Forms.Old.NeuralParametricTestOld._selectedOutputId = 0
protected
PlotterZedGraph IG.Neural.Forms.Old.NeuralParametricTestOld._plotter
private
System ComponentModel IContainer IG.Neural.Forms.Old.NeuralParametricTestOld.components = null
private

Required designer variable.

NeuralParametricTestSelection IG.Neural.Forms.Old.NeuralParametricTestOld.neuralInputControl1
private
System Windows Forms Panel IG.Neural.Forms.Old.NeuralParametricTestOld.pnlGraph
private
System Windows Forms NumericUpDown IG.Neural.Forms.Old.NeuralParametricTestOld.txtNumPointsLine
private
System Windows Forms Label IG.Neural.Forms.Old.NeuralParametricTestOld.lblNumPointsLine
private
ZedGraph ZedGraphControl IG.Neural.Forms.Old.NeuralParametricTestOld.ParmTestFGraph
private
System Windows Forms Button IG.Neural.Forms.Old.NeuralParametricTestOld.btnParmTestStart
private
Forms NeuralOutputValueSelector IG.Neural.Forms.Old.NeuralParametricTestOld.neuralOutputValueSelector1
private
System Windows Forms Label IG.Neural.Forms.Old.NeuralParametricTestOld.lblInfoOld
private

Property Documentation

INeuralModel IG.Neural.Forms.Old.NeuralParametricTestOld.NeuralModel
getprotected set

Neural network - based model.

Contains data definition and trained neural network approximator.

INeuralApproximator IG.Neural.Forms.Old.NeuralParametricTestOld.TrainedNetwork
get

Traint artificial neural network.

InputOutputDataDefiniton IG.Neural.Forms.Old.NeuralParametricTestOld.NeuralDataDefinition
get

Neural data definition.

int IG.Neural.Forms.Old.NeuralParametricTestOld.NumInputParameters
get

Gets number of input parameters.

int IG.Neural.Forms.Old.NeuralParametricTestOld.NumOutputValues
get

Gets number of output values.

IVector IG.Neural.Forms.Old.NeuralParametricTestOld.ParameterValues
get

Vector of current values of input parameters as defined by the DadaGridView.

double [] IG.Neural.Forms.Old.NeuralParametricTestOld.MinValues
get

Minimal values of parameters.

double [] IG.Neural.Forms.Old.NeuralParametricTestOld.MaxValues
get

Maximal values of parameters.

int IG.Neural.Forms.Old.NeuralParametricTestOld.SelectedParameterId
getprotected set

Sequential number of the selected parameter as specified by the user.

double IG.Neural.Forms.Old.NeuralParametricTestOld.SelectedParameterMin
get

Minimal value of the selected parameter.

double IG.Neural.Forms.Old.NeuralParametricTestOld.SelectedParameterMax
get

Maximal value of the selected parameter as specified by the user.

int IG.Neural.Forms.Old.NeuralParametricTestOld.SelectedOutputId
getprotected set
string IG.Neural.Forms.Old.NeuralParametricTestOld.SelectedParameterLabelText
get

Gets axis label text for the currently selected parameter.

string IG.Neural.Forms.Old.NeuralParametricTestOld.SelectedOutputLabelText
get

Gets axis label text for the currently selected output value.

PlotterZedGraph IG.Neural.Forms.Old.NeuralParametricTestOld.Plotter
get

Plotter that is used for plotting the graphs.


The documentation for this class was generated from the following files: