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

IG::Neural::Forms::NeuralInputControl Class Reference

Control for editing input parameter values. More...

Inheritance diagram for IG::Neural::Forms::NeuralInputControl:
Collaboration diagram for IG::Neural::Forms::NeuralInputControl:

List of all members.

Public Member Functions

 NeuralInputControl (INeuralModel neuralModel)
 Constructs the control, with ANN-based model specified.
 NeuralInputControl ()
void SetNeuralModel (INeuralModel model)
 Sets the ANN-based model used by the current form.
DataGridView GetGridControl ()
 Returns the DataGridView control that is used for setting values of the input parameters.
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 ResetToDefault ()
void ResetToCenter ()
void SetValues (IVector values)
 Sets the values of input parameters on the DataViewGrid to the elements of the specified vector.
void ShowContextMenuControl (object sender, MouseEventArgs e)

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 NeuralInputControl_MouseClick (object sender, MouseEventArgs e)
void dGridInputParam_MouseClick (object sender, MouseEventArgs e)
void btnResetDefault_Click (object sender, EventArgs e)
void btnResetCenter_Click (object sender, EventArgs e)
void resetToDefaultToolStripMenuItem_Click (object sender, EventArgs e)
void resetToCenterToolStripMenuItem_Click (object sender, EventArgs e)
void dGridInputParam_CellValueChanged (object sender, DataGridViewCellEventArgs e)
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 groupBox1
System.Windows.Forms.DataGridView dGridInputParam
System.Windows.Forms.DataGridViewTextBoxColumn columnID
System.Windows.Forms.DataGridViewTextBoxColumn columnName
System.Windows.Forms.DataGridViewTextBoxColumn columnValue
System.Windows.Forms.Button btnResetDefault
System.Windows.Forms.Button btnResetCenter
System.Windows.Forms.ContextMenuStrip contextMenuControl
System.Windows.Forms.ToolStripMenuItem resetToDefaultToolStripMenuItem
System.Windows.Forms.ToolStripMenuItem resetToCenterToolStripMenuItem

Detailed Description

Control for editing input parameter values.

$A Igor Apr13;


Constructor & Destructor Documentation

IG::Neural::Forms::NeuralInputControl::NeuralInputControl ( 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::NeuralInputControl::NeuralInputControl ( ) [inline]

Member Function Documentation

void IG::Neural::Forms::NeuralInputControl::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::NeuralInputControl::GetGridControl ( ) [inline]

Returns the DataGridView control that is used for setting values of the input parameters.

Returns:
void IG::Neural::Forms::NeuralInputControl::InitializeCells ( ) [inline]

Initializes contents of the DataGridView.

void IG::Neural::Forms::NeuralInputControl::ClearCells ( ) [inline]

Clears contents of all DataGridView cells.

void IG::Neural::Forms::NeuralInputControl::ClearDataGrid ( ) [inline]

Removes all the data from the DataGridView.

void IG::Neural::Forms::NeuralInputControl::ResetToDefault ( ) [inline]
void IG::Neural::Forms::NeuralInputControl::ResetToCenter ( ) [inline]
void IG::Neural::Forms::NeuralInputControl::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::NeuralInputControl::ShowContextMenuControl ( object  sender,
MouseEventArgs  e 
) [inline]
void IG::Neural::Forms::NeuralInputControl::NeuralInputControl_MouseClick ( object  sender,
MouseEventArgs  e 
) [inline, private]
void IG::Neural::Forms::NeuralInputControl::dGridInputParam_MouseClick ( object  sender,
MouseEventArgs  e 
) [inline, private]
void IG::Neural::Forms::NeuralInputControl::btnResetDefault_Click ( object  sender,
EventArgs  e 
) [inline, private]
void IG::Neural::Forms::NeuralInputControl::btnResetCenter_Click ( object  sender,
EventArgs  e 
) [inline, private]
void IG::Neural::Forms::NeuralInputControl::resetToDefaultToolStripMenuItem_Click ( object  sender,
EventArgs  e 
) [inline, private]
void IG::Neural::Forms::NeuralInputControl::resetToCenterToolStripMenuItem_Click ( object  sender,
EventArgs  e 
) [inline, private]
void IG::Neural::Forms::NeuralInputControl::dGridInputParam_CellValueChanged ( object  sender,
DataGridViewCellEventArgs  e 
) [inline, private]
override void IG::Neural::Forms::NeuralInputControl::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::NeuralInputControl::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::NeuralInputControl::components = null [private]

Required designer variable.

System.Windows.Forms.GroupBox IG::Neural::Forms::NeuralInputControl::groupBox1 [private]
System.Windows.Forms.DataGridView IG::Neural::Forms::NeuralInputControl::dGridInputParam [private]
System.Windows.Forms.DataGridViewTextBoxColumn IG::Neural::Forms::NeuralInputControl::columnID [private]
System.Windows.Forms.DataGridViewTextBoxColumn IG::Neural::Forms::NeuralInputControl::columnName [private]
System.Windows.Forms.DataGridViewTextBoxColumn IG::Neural::Forms::NeuralInputControl::columnValue [private]
System.Windows.Forms.Button IG::Neural::Forms::NeuralInputControl::btnResetDefault [private]
System.Windows.Forms.Button IG::Neural::Forms::NeuralInputControl::btnResetCenter [private]
System.Windows.Forms.ContextMenuStrip IG::Neural::Forms::NeuralInputControl::contextMenuControl [private]
System.Windows.Forms.ToolStripMenuItem IG::Neural::Forms::NeuralInputControl::resetToDefaultToolStripMenuItem [private]
System.Windows.Forms.ToolStripMenuItem IG::Neural::Forms::NeuralInputControl::resetToCenterToolStripMenuItem [private]

Property Documentation

INeuralModel IG::Neural::Forms::NeuralInputControl::NeuralModel [get, set]

Neural network - based model. Contains data definition and trained neural network approximator.

INeuralApproximator IG::Neural::Forms::NeuralInputControl::TrainedNetwork [get]

Traint artificial neural network.

Implements IG::Neural::INeuralModel.

InputOutputDataDefiniton IG::Neural::Forms::NeuralInputControl::NeuralDataDefinition [get]

Neural data definition.

Implements IG::Neural::INeuralModel.

int IG::Neural::Forms::NeuralInputControl::ColNumValue [get, set]

Number of DataGrid Column that contains the value.

int IG::Neural::Forms::NeuralInputControl::NumValues [get]

Current number of values, otained form the DataGridView.

IVector IG::Neural::Forms::NeuralInputControl::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