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

IG::Neural::Forms::Old::NeuralParametricTestOld Class Reference

Torm for parametric tests. Obsolete! This is developed form initial design of the form where NeuralParametricTestSelection is used for everything related to input parameters (to set central parameter values and to select the parameter that varies and bounds in which it varies).Now this is used for demonstratin how further composed controls can be put on tab pages. Important aspect of this is how to handle the data definition and neural approximator. More...

Collaboration diagram for IG::Neural::Forms::Old::NeuralParametricTestOld:

List of all members.

Public Member Functions

 NeuralParametricTestOld (INeuralModel neuralModel)
 Constructs the control, with ANN-based model specified.
 NeuralParametricTestOld ()
void SetNeuralModel (INeuralModel model)
 Sets the ANN-based model used by the current form.
void ApplyPlotterSettingsDefault (PlotterZedGraph plotter, int whichInput, int numInputs, int whichOutput, int numOutpts)
 Applies style and other settings to the plotter used to show the parametric graph.
void ApplyPlotCurveSettingsDefault (PlotZedgraphCurve plot, int whichInput, int numInputs, int whichOutput, int numOutpts)
 Applies style and other settings to the plotter used to show the parametric graph.
void PlotParametricTest ()
 plots the selected outpt dependend on the selected parameter.

Protected Member Functions

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

Protected Attributes

INeuralModelContainer _neuralModelContainerControl
int _selectedParameterId = 0
int _selectedOutputId = 0

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 NumInputParameters [get]
 Gets number of input parameters.
int NumOutputValues [get]
 Gets number of output values.
IVector ParameterValues [get]
 Vector of current values of input parameters as defined by the DadaGridView.
double[] MinValues [get]
 Minimal values of parameters.
double[] MaxValues [get]
 Maximal values of parameters.
int SelectedParameterId [get, set]
 Sequential number of the selected parameter as specified by the user.
double SelectedParameterMin [get]
 Minimal value of the selected parameter.
double SelectedParameterMax [get]
 Maximal value of the selected parameter as specified by the user.
int SelectedOutputId [get, set]
string SelectedParameterLabelText [get]
 Gets axis label text for the currently selected parameter.
string SelectedOutputLabelText [get]
 Gets axis label text for the currently selected output value.
PlotterZedGraph Plotter [get]
 Plotter that is used for plotting the graphs.

Private Member Functions

void btnParmTestStart_Click (object sender, EventArgs e)
 Plots the parametric test.
void neuralInputControl1_SelectedParameterIdChanged (int oldId, int newId)
 Executes when ID of the selected input parameter changes; Plots the parametric test.
void neuralInputControl1_SelectedParameterMinChanged (double oldValue, double newValue)
 Executes when minimal value of the selected parameter changes by user interaction; Plots the parametric test.
void neuralInputControl1_SelectedParameterMaxChanged (double oldValue, double newValue)
 Executes when maximal value of the selected parameter changes by user interaction; Plots the parametric test.
void neuralOutputValueSelector1_SelectedOutputIdChanged (int oldId, int newId)
 Executes when ID of the selected output value changes; Plots the parametric test.
void InitializeComponent ()
 Required method for Designer support - do not modify the contents of this method with the code editor.

Private Attributes

INeuralModel _neuralModel
PlotterZedGraph _plotter
System.ComponentModel.IContainer components = null
 Required designer variable.
NeuralParametricTestSelection neuralInputControl1
System.Windows.Forms.Panel pnlGraph
System.Windows.Forms.NumericUpDown txtNumPointsLine
System.Windows.Forms.Label lblNumPointsLine
ZedGraph.ZedGraphControl ParmTestFGraph
System.Windows.Forms.Button btnParmTestStart
Forms.NeuralOutputValueSelector neuralOutputValueSelector1
System.Windows.Forms.Label lblInfoOld

Detailed Description

Torm for parametric tests. Obsolete!

This is developed form initial design of the form where NeuralParametricTestSelection is used for everything related to input parameters (to set central parameter values and to select the parameter that varies and bounds in which it varies).

Now this is used for demonstratin how further composed controls can be put on tab pages. Important aspect of this is how to handle the data definition and neural approximator.

$A Igor Aor13;


Constructor & Destructor Documentation

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

Member Function Documentation

void IG::Neural::Forms::Old::NeuralParametricTestOld::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::Old::NeuralParametricTestOld::ApplyPlotterSettingsDefault ( PlotterZedGraph  plotter,
int  whichInput,
int  numInputs,
int  whichOutput,
int  numOutpts 
) [inline]

Applies style and other settings to the plotter used to show the parametric graph.

Parameters:
plotterPlotter to which settings are applied.
whichInputID of the input to be plotted.
whichOutpputID of the output to be plotted.
void IG::Neural::Forms::Old::NeuralParametricTestOld::ApplyPlotCurveSettingsDefault ( PlotZedgraphCurve  plot,
int  whichInput,
int  numInputs,
int  whichOutput,
int  numOutpts 
) [inline]

Applies style and other settings to the plotter used to show the parametric graph.

Parameters:
plotterPlotter to which settings are applied.
whichInputID of the input to be plotted.
whichOutpputID of the output to be plotted.
void IG::Neural::Forms::Old::NeuralParametricTestOld::PlotParametricTest ( ) [inline]

plots the selected outpt dependend on the selected parameter.

void IG::Neural::Forms::Old::NeuralParametricTestOld::btnParmTestStart_Click ( object  sender,
EventArgs  e 
) [inline, private]

Plots the parametric test.

void IG::Neural::Forms::Old::NeuralParametricTestOld::neuralInputControl1_SelectedParameterIdChanged ( int  oldId,
int  newId 
) [inline, private]

Executes when ID of the selected input parameter changes; Plots the parametric test.

Parameters:
oldIdOld ID of the selected output value (after change).
newIdNew ID of the selected output value (after changed).
void IG::Neural::Forms::Old::NeuralParametricTestOld::neuralInputControl1_SelectedParameterMinChanged ( double  oldValue,
double  newValue 
) [inline, private]

Executes when minimal value of the selected parameter changes by user interaction; Plots the parametric test.

Parameters:
oldValueOld value.
newValueNew value.
void IG::Neural::Forms::Old::NeuralParametricTestOld::neuralInputControl1_SelectedParameterMaxChanged ( double  oldValue,
double  newValue 
) [inline, private]

Executes when maximal value of the selected parameter changes by user interaction; Plots the parametric test.

Parameters:
oldValueOld value.
newValueNew value.
void IG::Neural::Forms::Old::NeuralParametricTestOld::neuralOutputValueSelector1_SelectedOutputIdChanged ( int  oldId,
int  newId 
) [inline, private]

Executes when ID of the selected output value changes; Plots the parametric test.

Parameters:
oldIdOld ID of the selected output value (after change).
newIdNew ID of the selected output value (after changed).
override void IG::Neural::Forms::Old::NeuralParametricTestOld::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::Old::NeuralParametricTestOld::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::Old::NeuralParametricTestOld::components = null [private]

Required designer variable.

System.Windows.Forms.Panel IG::Neural::Forms::Old::NeuralParametricTestOld::pnlGraph [private]
System.Windows.Forms.NumericUpDown IG::Neural::Forms::Old::NeuralParametricTestOld::txtNumPointsLine [private]

Property Documentation

INeuralModel IG::Neural::Forms::Old::NeuralParametricTestOld::NeuralModel [get, set]

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

INeuralApproximator IG::Neural::Forms::Old::NeuralParametricTestOld::TrainedNetwork [get]

Traint artificial neural network.

InputOutputDataDefiniton IG::Neural::Forms::Old::NeuralParametricTestOld::NeuralDataDefinition [get]

Neural data definition.

int IG::Neural::Forms::Old::NeuralParametricTestOld::NumInputParameters [get]

Gets number of input parameters.

int IG::Neural::Forms::Old::NeuralParametricTestOld::NumOutputValues [get]

Gets number of output values.

IVector IG::Neural::Forms::Old::NeuralParametricTestOld::ParameterValues [get]

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

double [] IG::Neural::Forms::Old::NeuralParametricTestOld::MinValues [get]

Minimal values of parameters.

double [] IG::Neural::Forms::Old::NeuralParametricTestOld::MaxValues [get]

Maximal values of parameters.

int IG::Neural::Forms::Old::NeuralParametricTestOld::SelectedParameterId [get, set]

Sequential number of the selected parameter as specified by the user.

double IG::Neural::Forms::Old::NeuralParametricTestOld::SelectedParameterMin [get]

Minimal value of the selected parameter.

double IG::Neural::Forms::Old::NeuralParametricTestOld::SelectedParameterMax [get]

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

int IG::Neural::Forms::Old::NeuralParametricTestOld::SelectedOutputId [get, set]
string IG::Neural::Forms::Old::NeuralParametricTestOld::SelectedParameterLabelText [get]

Gets axis label text for the currently selected parameter.

string IG::Neural::Forms::Old::NeuralParametricTestOld::SelectedOutputLabelText [get]

Gets axis label text for the currently selected output value.

PlotterZedGraph IG::Neural::Forms::Old::NeuralParametricTestOld::Plotter [get]

Plotter that is used for plotting the graphs.


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