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.NeuralInputParameterSelectorMinMax Class Reference

Selection of parameter to be varied, together with bounds - for parametric tests. More...

+ Inheritance diagram for IG.Neural.Forms.NeuralInputParameterSelectorMinMax:
+ Collaboration diagram for IG.Neural.Forms.NeuralInputParameterSelectorMinMax:

Public Member Functions

 NeuralInputParameterSelectorMinMax (INeuralModel neuralModel)
 Constructs the control, with ANN-based model specified. More...
 
 NeuralInputParameterSelectorMinMax ()
 
void SetNeuralModel (INeuralModel model)
 Sets the ANN-based model used by the current form. More...
 
void SetSelectedParameterId (int id)
 Replacement for the SelectedParameterId setter that has a lower access level. More...
 
void UpdateSelectedParameterIdDependencies ()
 Updates things that depend on the selected parameter's index. More...
 
void UpdateDataDefinition ()
 Updates data with accordance to data definitions in DataDefinition. More...
 

Protected Member Functions

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

Protected Attributes

INeuralModelContainer _neuralModelContainerControl
 
double[] _minValues
 
double[] _maxValues
 
int _selectedParameterId = 0
 

Properties

string TitleParameterSelection [get, set]
 String that appears in the label above parameter selector (title of parameter selection). More...
 
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...
 
double[] MinValues [get, protected set]
 
double[] MaxValues [get, protected set]
 
int SelectedParameterId [get, protected set]
 Sequential number of the selected parameter as specified by the user (usually through GUI). 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...
 

Events

SelectedIdEventHandler SelectedParameterIdChanged
 Occurs when selected input parameter ID is changed. More...
 
ValueChangedEventHandler SelectedParameterMinChanged
 Occurs when selected input parameter's minimal value is changed by the user (but only when it is changed through GUI). More...
 
ValueChangedEventHandler SelectedParameterMaxChanged
 Occurs when selected input parameter's maximal value is changed by the user (but only when it is changed through GUI). More...
 

Private Member Functions

void InitializeComponents ()
 
void comboBoxSelection_SelectedIndexChanged (object sender, EventArgs e)
 
void txtParamNum_ValueChanged (object sender, EventArgs e)
 
void txtMinValue_TextChanged (object sender, EventArgs e)
 
void txtMaxValue_TextChanged (object sender, EventArgs e)
 
void txtMinValue_Validated (object sender, EventArgs e)
 
void txtMaxValue_Validated (object sender, EventArgs e)
 
void btnDecrease_Click (object sender, EventArgs e)
 
void btnIncrease_Click (object sender, EventArgs e)
 
void InitializeComponent ()
 Required method for Designer support - do not modify the contents of this method with the code editor. More...
 

Private Attributes

INeuralModel _neuralModel
 
double _previousMinValue
 
double _newMinvalue
 
double _previousMaxValue
 
double _newMaxValue
 
System.ComponentModel.IContainer components = null
 Required designer variable. More...
 
System.Windows.Forms.NumericUpDown txtParamNum
 
System.Windows.Forms.TextBox txtMaxValue
 
System.Windows.Forms.TextBox txtMinValue
 
System.Windows.Forms.ComboBox comboBoxSelection
 
System.Windows.Forms.Label lblMax
 
System.Windows.Forms.Label lblParamNum
 
System.Windows.Forms.Label lblFrom
 
System.Windows.Forms.Label lblSelectParameter
 
System.Windows.Forms.Panel pnlMain
 
System.Windows.Forms.Button btnIncrease
 
System.Windows.Forms.Button btnDecrease
 

Detailed Description

Selection of parameter to be varied, together with bounds - for parametric tests.

$A Igor Apr13;

Constructor & Destructor Documentation

IG.Neural.Forms.NeuralInputParameterSelectorMinMax.NeuralInputParameterSelectorMinMax ( 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.NeuralInputParameterSelectorMinMax.NeuralInputParameterSelectorMinMax ( )
inline

Member Function Documentation

void IG.Neural.Forms.NeuralInputParameterSelectorMinMax.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.NeuralInputParameterSelectorMinMax.SetSelectedParameterId ( int  id)
inline

Replacement for the SelectedParameterId setter that has a lower access level.

Parameters
idSequential number of the output valuee to be selected.
void IG.Neural.Forms.NeuralInputParameterSelectorMinMax.UpdateSelectedParameterIdDependencies ( )
inline

Updates things that depend on the selected parameter's index.

void IG.Neural.Forms.NeuralInputParameterSelectorMinMax.InitializeComponents ( )
inlineprivate
void IG.Neural.Forms.NeuralInputParameterSelectorMinMax.comboBoxSelection_SelectedIndexChanged ( object  sender,
EventArgs  e 
)
inlineprivate
void IG.Neural.Forms.NeuralInputParameterSelectorMinMax.txtParamNum_ValueChanged ( object  sender,
EventArgs  e 
)
inlineprivate
void IG.Neural.Forms.NeuralInputParameterSelectorMinMax.txtMinValue_TextChanged ( object  sender,
EventArgs  e 
)
inlineprivate
void IG.Neural.Forms.NeuralInputParameterSelectorMinMax.txtMaxValue_TextChanged ( object  sender,
EventArgs  e 
)
inlineprivate
void IG.Neural.Forms.NeuralInputParameterSelectorMinMax.txtMinValue_Validated ( object  sender,
EventArgs  e 
)
inlineprivate
void IG.Neural.Forms.NeuralInputParameterSelectorMinMax.txtMaxValue_Validated ( object  sender,
EventArgs  e 
)
inlineprivate
void IG.Neural.Forms.NeuralInputParameterSelectorMinMax.btnDecrease_Click ( object  sender,
EventArgs  e 
)
inlineprivate
void IG.Neural.Forms.NeuralInputParameterSelectorMinMax.btnIncrease_Click ( object  sender,
EventArgs  e 
)
inlineprivate
override void IG.Neural.Forms.NeuralInputParameterSelectorMinMax.Dispose ( bool  disposing)
inlineprotected

Clean up any resources being used.

Parameters
disposingtrue if managed resources should be disposed; otherwise, false.
void IG.Neural.Forms.NeuralInputParameterSelectorMinMax.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.NeuralInputParameterSelectorMinMax._neuralModelContainerControl
protected
INeuralModel IG.Neural.Forms.NeuralInputParameterSelectorMinMax._neuralModel
private
double [] IG.Neural.Forms.NeuralInputParameterSelectorMinMax._minValues
protected
double [] IG.Neural.Forms.NeuralInputParameterSelectorMinMax._maxValues
protected
int IG.Neural.Forms.NeuralInputParameterSelectorMinMax._selectedParameterId = 0
protected
double IG.Neural.Forms.NeuralInputParameterSelectorMinMax._previousMinValue
private
double IG.Neural.Forms.NeuralInputParameterSelectorMinMax._newMinvalue
private
double IG.Neural.Forms.NeuralInputParameterSelectorMinMax._previousMaxValue
private
double IG.Neural.Forms.NeuralInputParameterSelectorMinMax._newMaxValue
private
System.ComponentModel.IContainer IG.Neural.Forms.NeuralInputParameterSelectorMinMax.components = null
private

Required designer variable.

System.Windows.Forms.NumericUpDown IG.Neural.Forms.NeuralInputParameterSelectorMinMax.txtParamNum
private
System.Windows.Forms.TextBox IG.Neural.Forms.NeuralInputParameterSelectorMinMax.txtMaxValue
private
System.Windows.Forms.TextBox IG.Neural.Forms.NeuralInputParameterSelectorMinMax.txtMinValue
private
System.Windows.Forms.ComboBox IG.Neural.Forms.NeuralInputParameterSelectorMinMax.comboBoxSelection
private
System.Windows.Forms.Label IG.Neural.Forms.NeuralInputParameterSelectorMinMax.lblMax
private
System.Windows.Forms.Label IG.Neural.Forms.NeuralInputParameterSelectorMinMax.lblParamNum
private
System.Windows.Forms.Label IG.Neural.Forms.NeuralInputParameterSelectorMinMax.lblFrom
private
System.Windows.Forms.Label IG.Neural.Forms.NeuralInputParameterSelectorMinMax.lblSelectParameter
private
System.Windows.Forms.Panel IG.Neural.Forms.NeuralInputParameterSelectorMinMax.pnlMain
private
System.Windows.Forms.Button IG.Neural.Forms.NeuralInputParameterSelectorMinMax.btnIncrease
private
System.Windows.Forms.Button IG.Neural.Forms.NeuralInputParameterSelectorMinMax.btnDecrease
private

Property Documentation

string IG.Neural.Forms.NeuralInputParameterSelectorMinMax.TitleParameterSelection
getset

String that appears in the label above parameter selector (title of parameter selection).

This can be used to change the title in the case there are more than one input parameters selected, or a customized title is desired.

INeuralModel IG.Neural.Forms.NeuralInputParameterSelectorMinMax.NeuralModel
getprotected set

Neural network - based model.

Contains data definition and trained neural network approximator.

INeuralApproximator IG.Neural.Forms.NeuralInputParameterSelectorMinMax.TrainedNetwork
get

Traint artificial neural network.

InputOutputDataDefiniton IG.Neural.Forms.NeuralInputParameterSelectorMinMax.NeuralDataDefinition
get

Neural data definition.

int IG.Neural.Forms.NeuralInputParameterSelectorMinMax.NumInputParameters
get

Gets number of input parameters.

int IG.Neural.Forms.NeuralInputParameterSelectorMinMax.NumOutputValues
get

Gets number of output values.

double [] IG.Neural.Forms.NeuralInputParameterSelectorMinMax.MinValues
getprotected set
double [] IG.Neural.Forms.NeuralInputParameterSelectorMinMax.MaxValues
getprotected set
int IG.Neural.Forms.NeuralInputParameterSelectorMinMax.SelectedParameterId
getprotected set

Sequential number of the selected parameter as specified by the user (usually through GUI).

double IG.Neural.Forms.NeuralInputParameterSelectorMinMax.SelectedParameterMin
get

Minimal value of the selected parameter.

double IG.Neural.Forms.NeuralInputParameterSelectorMinMax.SelectedParameterMax
get

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

Event Documentation

SelectedIdEventHandler IG.Neural.Forms.NeuralInputParameterSelectorMinMax.SelectedParameterIdChanged

Occurs when selected input parameter ID is changed.

ValueChangedEventHandler IG.Neural.Forms.NeuralInputParameterSelectorMinMax.SelectedParameterMinChanged

Occurs when selected input parameter's minimal value is changed by the user (but only when it is changed through GUI).

ValueChangedEventHandler IG.Neural.Forms.NeuralInputParameterSelectorMinMax.SelectedParameterMaxChanged

Occurs when selected input parameter's maximal value is changed by the user (but only when it is changed through GUI).


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