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

Control for editing output values of an approximative model. More...

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

Public Member Functions

 NeuralOutputControl (INeuralModel neuralModel)
 Constructs the control, with ANN-based model specified. More...
 
 NeuralOutputControl ()
 
void SetNeuralModel (INeuralModel model)
 Sets the ANN-based model used by the current form. More...
 
DataGridView GetGridControl ()
 Returns the DataGridView control that is used for displaying output values. More...
 
void InitializeCells ()
 Initializes contents of the DataGridView. More...
 
void ClearCells ()
 Clears contents of all DataGridView cells. More...
 
void ClearDataGrid ()
 Removes all the data from the DataGridView. More...
 
void ClearValues ()
 
void SetValues (IVector values)
 Sets the values of input parameters on the DataViewGrid to the elements of the specified vector. More...
 
 NeuralOutputControl (INeuralModel neuralModel)
 Constructs the control, with ANN-based model specified. More...
 
 NeuralOutputControl ()
 
void SetNeuralModel (INeuralModel model)
 Sets the ANN-based model used by the current form. More...
 
DataGridView GetGridControl ()
 Returns the DataGridView control that is used for displaying output values. More...
 
void InitializeCells ()
 Initializes contents of the DataGridView. More...
 
void ClearCells ()
 Clears contents of all DataGridView cells. More...
 
void ClearDataGrid ()
 Removes all the data from the DataGridView. More...
 
void ClearValues ()
 
void SetValues (IVector values)
 Sets the values of input parameters on the DataViewGrid to the elements of the specified vector. 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 _colNumValue = 2
 
Vector _values
 

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 ColNumValue [get, protected set]
 Number of DataGrid Column that contains the value. More...
 
int NumValues [get]
 Current number of values, otained form the DataGridView. More...
 
IVector Values [get, protected set]
 Vector of current values of input parameters as defined by the DadaGridView. More...
 

Private Member Functions

void btnClear_Click (object sender, EventArgs e)
 Clears the output values. More...
 
void InitializeComponent ()
 Required method for Designer support - do not modify the contents of this method with the code editor. More...
 
void btnClear_Click (object sender, EventArgs e)
 Clears the output values. 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
 
System.ComponentModel.IContainer components = null
 Required designer variable. More...
 
System.Windows.Forms.GroupBox groupBox2
 
System.Windows.Forms.DataGridView dGridOutputValues
 
System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1
 
System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2
 
System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3
 
System.Windows.Forms.Button btnClear
 

Detailed Description

Control for editing output values of an approximative model.

$A Igor Apr13;

Constructor & Destructor Documentation

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

Member Function Documentation

void IG.Neural.Forms.NeuralOutputControl.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.

DataGridView IG.Neural.Forms.NeuralOutputControl.GetGridControl ( )
inline

Returns the DataGridView control that is used for displaying output values.

Returns
void IG.Neural.Forms.NeuralOutputControl.InitializeCells ( )
inline

Initializes contents of the DataGridView.

References IG.Num.InputOutputElementDefinition.ElementIndex, and IG.Num.InputOutputElementDefinition.Title.

void IG.Neural.Forms.NeuralOutputControl.ClearCells ( )
inline

Clears contents of all DataGridView cells.

void IG.Neural.Forms.NeuralOutputControl.ClearDataGrid ( )
inline

Removes all the data from the DataGridView.

void IG.Neural.Forms.NeuralOutputControl.ClearValues ( )
inline
void IG.Neural.Forms.NeuralOutputControl.SetValues ( IVector  values)
inline

Sets the values of input parameters on the DataViewGrid to the elements of the specified vector.

Parameters
valuesVectors defining the values to be set.
void IG.Neural.Forms.NeuralOutputControl.btnClear_Click ( object  sender,
EventArgs  e 
)
inlineprivate

Clears the output values.

override void IG.Neural.Forms.NeuralOutputControl.Dispose ( bool  disposing)
inlineprotected

Clean up any resources being used.

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

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

void IG.Neural.Forms.NeuralOutputControl.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.

DataGridView IG.Neural.Forms.NeuralOutputControl.GetGridControl ( )
inline

Returns the DataGridView control that is used for displaying output values.

Returns
void IG.Neural.Forms.NeuralOutputControl.InitializeCells ( )
inline

Initializes contents of the DataGridView.

References IG.Num.InputOutputElementDefinition.ElementIndex, and IG.Num.InputOutputElementDefinition.Title.

void IG.Neural.Forms.NeuralOutputControl.ClearCells ( )
inline

Clears contents of all DataGridView cells.

void IG.Neural.Forms.NeuralOutputControl.ClearDataGrid ( )
inline

Removes all the data from the DataGridView.

void IG.Neural.Forms.NeuralOutputControl.ClearValues ( )
inline
void IG.Neural.Forms.NeuralOutputControl.SetValues ( IVector  values)
inline

Sets the values of input parameters on the DataViewGrid to the elements of the specified vector.

Parameters
valuesVectors defining the values to be set.
void IG.Neural.Forms.NeuralOutputControl.btnClear_Click ( object  sender,
EventArgs  e 
)
inlineprivate

Clears the output values.

override void IG.Neural.Forms.NeuralOutputControl.Dispose ( bool  disposing)
inlineprotected

Clean up any resources being used.

Parameters
disposingtrue if managed resources should be disposed; otherwise, false.
void IG.Neural.Forms.NeuralOutputControl.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.NeuralOutputControl._neuralModelContainerControl
protected
INeuralModel IG.Neural.Forms.NeuralOutputControl._neuralModel
private
int IG.Neural.Forms.NeuralOutputControl._colNumValue = 2
protected
Vector IG.Neural.Forms.NeuralOutputControl._values
protected
System ComponentModel IContainer IG.Neural.Forms.NeuralOutputControl.components = null
private

Required designer variable.

System Windows Forms GroupBox IG.Neural.Forms.NeuralOutputControl.groupBox2
private
System Windows Forms DataGridView IG.Neural.Forms.NeuralOutputControl.dGridOutputValues
private
System Windows Forms DataGridViewTextBoxColumn IG.Neural.Forms.NeuralOutputControl.dataGridViewTextBoxColumn1
private
System Windows Forms DataGridViewTextBoxColumn IG.Neural.Forms.NeuralOutputControl.dataGridViewTextBoxColumn2
private
System Windows Forms DataGridViewTextBoxColumn IG.Neural.Forms.NeuralOutputControl.dataGridViewTextBoxColumn3
private
System Windows Forms Button IG.Neural.Forms.NeuralOutputControl.btnClear
private

Property Documentation

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

Neural network - based model.

Contains data definition and trained neural network approximator.

INeuralApproximator IG.Neural.Forms.NeuralOutputControl.TrainedNetwork
get

Traint artificial neural network.

InputOutputDataDefiniton IG.Neural.Forms.NeuralOutputControl.NeuralDataDefinition
get

Neural data definition.

int IG.Neural.Forms.NeuralOutputControl.ColNumValue
getprotected set

Number of DataGrid Column that contains the value.

int IG.Neural.Forms.NeuralOutputControl.NumValues
get

Current number of values, otained form the DataGridView.

IVector IG.Neural.Forms.NeuralOutputControl.Values
getprotected set

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


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