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

Control for editing input parameter data necessary for sampling scalar functions. More...

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

Public Member Functions

 NeuralSamplingInputControl (INeuralModel neuralModel)
 Constructs the control, with ANN-based model specified. More...
 
 NeuralSamplingInputControl ()
 
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 setting values of the input parameters. 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 ResetToDefault ()
 
void ResetToCenter ()
 
void SetValues (IVector values)
 Sets the values of input parameters on the DataViewGrid to the elements of the specified vector. More...
 
void ShowContextMenuControl (object sender, MouseEventArgs e)
 

Protected Member Functions

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...
 
- Properties inherited from IG.Neural.INeuralModelContainer
INeuralModel NeuralModel [get]
 Artificial neural network - based model. More...
 

Private Member Functions

void NeuralSamplingInputControl_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. More...
 

Private Attributes

INeuralModel _neuralModel
 
System.ComponentModel.IContainer components = null
 Required designer variable. More...
 
System.Windows.Forms.GroupBox groupBox1
 
System.Windows.Forms.DataGridView dGridInputParam
 
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
 
System.Windows.Forms.DataGridViewTextBoxColumn columnID
 
System.Windows.Forms.DataGridViewTextBoxColumn columnName
 
System.Windows.Forms.DataGridViewTextBoxColumn columnValue
 
System.Windows.Forms.DataGridViewTextBoxColumn columnFrom
 
System.Windows.Forms.DataGridViewTextBoxColumn columnTo
 
System.Windows.Forms.DataGridViewTextBoxColumn columnNum
 

Detailed Description

Control for editing input parameter data necessary for sampling scalar functions.

$A Igor Jul14;

Constructor & Destructor Documentation

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

Member Function Documentation

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

Implements IG.Neural.INeuralModelContainer.

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

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

Returns
void IG.Neural.Forms.NeuralSamplingInputControl.ClearCells ( )
inline

Clears contents of all DataGridView cells.

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

Removes all the data from the DataGridView.

void IG.Neural.Forms.NeuralSamplingInputControl.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.NeuralSamplingInputControl.ShowContextMenuControl ( object  sender,
MouseEventArgs  e 
)
inline
void IG.Neural.Forms.NeuralSamplingInputControl.NeuralSamplingInputControl_MouseClick ( object  sender,
MouseEventArgs  e 
)
inlineprivate
void IG.Neural.Forms.NeuralSamplingInputControl.dGridInputParam_MouseClick ( object  sender,
MouseEventArgs  e 
)
inlineprivate
void IG.Neural.Forms.NeuralSamplingInputControl.btnResetDefault_Click ( object  sender,
EventArgs  e 
)
inlineprivate
void IG.Neural.Forms.NeuralSamplingInputControl.btnResetCenter_Click ( object  sender,
EventArgs  e 
)
inlineprivate
void IG.Neural.Forms.NeuralSamplingInputControl.resetToDefaultToolStripMenuItem_Click ( object  sender,
EventArgs  e 
)
inlineprivate
void IG.Neural.Forms.NeuralSamplingInputControl.resetToCenterToolStripMenuItem_Click ( object  sender,
EventArgs  e 
)
inlineprivate
void IG.Neural.Forms.NeuralSamplingInputControl.dGridInputParam_CellValueChanged ( object  sender,
DataGridViewCellEventArgs  e 
)
inlineprivate
override void IG.Neural.Forms.NeuralSamplingInputControl.Dispose ( bool  disposing)
inlineprotected

Clean up any resources being used.

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

Required designer variable.

System.Windows.Forms.GroupBox IG.Neural.Forms.NeuralSamplingInputControl.groupBox1
private
System.Windows.Forms.DataGridView IG.Neural.Forms.NeuralSamplingInputControl.dGridInputParam
private
System.Windows.Forms.Button IG.Neural.Forms.NeuralSamplingInputControl.btnResetDefault
private
System.Windows.Forms.Button IG.Neural.Forms.NeuralSamplingInputControl.btnResetCenter
private
System.Windows.Forms.ContextMenuStrip IG.Neural.Forms.NeuralSamplingInputControl.contextMenuControl
private
System.Windows.Forms.ToolStripMenuItem IG.Neural.Forms.NeuralSamplingInputControl.resetToDefaultToolStripMenuItem
private
System.Windows.Forms.ToolStripMenuItem IG.Neural.Forms.NeuralSamplingInputControl.resetToCenterToolStripMenuItem
private
System.Windows.Forms.DataGridViewTextBoxColumn IG.Neural.Forms.NeuralSamplingInputControl.columnID
private
System.Windows.Forms.DataGridViewTextBoxColumn IG.Neural.Forms.NeuralSamplingInputControl.columnName
private
System.Windows.Forms.DataGridViewTextBoxColumn IG.Neural.Forms.NeuralSamplingInputControl.columnValue
private
System.Windows.Forms.DataGridViewTextBoxColumn IG.Neural.Forms.NeuralSamplingInputControl.columnFrom
private
System.Windows.Forms.DataGridViewTextBoxColumn IG.Neural.Forms.NeuralSamplingInputControl.columnTo
private
System.Windows.Forms.DataGridViewTextBoxColumn IG.Neural.Forms.NeuralSamplingInputControl.columnNum
private

Property Documentation

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

Neural network - based model.

Contains data definition and trained neural network approximator.

INeuralApproximator IG.Neural.Forms.NeuralSamplingInputControl.TrainedNetwork
get

Traint artificial neural network.

InputOutputDataDefiniton IG.Neural.Forms.NeuralSamplingInputControl.NeuralDataDefinition
get

Neural data definition.

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

Number of DataGrid Column that contains the value.

int IG.Neural.Forms.NeuralSamplingInputControl.NumValues
get

Current number of values, otained form the DataGridView.

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