NeurApp 1.1
NeurApp - software for exploring approximation by artificial neural networks on functions of one or two variables.

IG::Neural::Forms::NeuralOutputControl Class Reference

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

Collaboration diagram for IG::Neural::Forms::NeuralOutputControl:

List of all members.

Public Member Functions

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

Protected Member Functions

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

Protected Attributes

INeuralModelContainer _neuralModelContainerControl
int _colNumValue = 2
Vector _values

Properties

INeuralModel NeuralModel [get, set]
 Neural network - based model. Contains data definition and trained neural network approximator.
INeuralApproximator TrainedNetwork [get]
 Traint artificial neural network.
InputOutputDataDefiniton NeuralDataDefinition [get]
 Neural data definition.
int ColNumValue [get, set]
 Number of DataGrid Column that contains the value.
int NumValues [get]
 Current number of values, otained form the DataGridView.
IVector Values [get, set]
 Vector of current values of input parameters as defined by the DadaGridView.

Private Member Functions

void btnClear_Click (object sender, EventArgs e)
 Clears the output values.
void InitializeComponent ()
 Required method for Designer support - do not modify the contents of this method with the code editor.

Private Attributes

INeuralModel _neuralModel
System.ComponentModel.IContainer components = null
 Required designer variable.
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]

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.

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 
) [inline, private]

Clears the output values.

override void IG::Neural::Forms::NeuralOutputControl::Dispose ( bool  disposing) [inline, protected]

Clean up any resources being used.

Parameters:
disposingtrue if managed resources should be disposed; otherwise, false.
void IG::Neural::Forms::NeuralOutputControl::InitializeComponent ( ) [inline, private]

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


Member Data Documentation

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 [get, 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 [get, 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 [get, set]

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


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Enumerations Properties