|
IGLib
1.7.2
The IGLib base library for development of numerical, technical and business applications.
|
Form for training artificial neural networks. More...
Inheritance diagram for IG.Forms.VectorFunctionPlotter1d:
Collaboration diagram for IG.Forms.VectorFunctionPlotter1d:Public Member Functions | |
| VectorFunctionPlotter1d () | |
| virtual double | CalculateOutput (IVector parameters, int whichOutput) |
| Calculates the specified output value of the vector function at the specified parameters. More... | |
| 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. More... | |
| 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. More... | |
| void | PlotParametricTest () |
| plots the selected outpt dependend on the selected parameter. More... | |
Protected Member Functions | |
| override void | Dispose (bool disposing) |
| Clean up any resources being used. More... | |
Protected Attributes | |
| int | _selectedParameterId = 0 |
| int | _selectedOutputId = 0 |
| int | _numPoints = 50 |
Properties | |
| IReporter | Reporter [get] |
| Reorter used for launching info, warning and error reports. More... | |
| InputOutputDataDefiniton | NeuralDataDefinition [get, set] |
| Data about input and output quantities of the manipulated functions or response. More... | |
| IScalarFunction | ScalarFunction [set] |
| IVectorFunction | Function [get, set] |
| int | NumInputParameters [get] |
| Gets number of input parameters. More... | |
| int | NumOutputValues [get] |
| Gets number of output values. More... | |
| IVector | ParameterValues [get] |
| Vector of current values of input parameters as defined by the DadaGridView. More... | |
| double[] | MinValues [get] |
| Minimal values of parameters. More... | |
| double[] | MaxValues [get] |
| Maximal values of parameters. More... | |
| int | SelectedParameterId [get, protected set] |
| Sequential number of the selected parameter as specified by the user. More... | |
| double | SelectedParameterMin [get] |
| Minimal value of the selected parameter. More... | |
| double | SelectedParameterMax [get] |
| Maximal value of the selected parameter as specified by the user. More... | |
| int | SelectedOutputId [get, protected set] |
| int | NumPlotPoints [get, set] |
| Number of plotting points. More... | |
| string | SelectedParameterLabelText [get] |
| Gets axis label text for the currently selected parameter. More... | |
| string | SelectedOutputLabelText [get] |
| Gets axis label text for the currently selected output value. More... | |
| bool | PlotImmediately [get, set] |
| If true then graph is pletted immediately when any parameter changes that affects it appearance. More... | |
| bool | PlotImmediatelyOnNumPointsValueChanged [get, set] |
| PlotterZedGraph | Plotter [get] |
| Plotter that is used for plotting the graphs. More... | |
Private Member Functions | |
| void | btnParmTestStart_Click (object sender, EventArgs e) |
| Plots the parametric test. More... | |
| void | neuralInputParameterSelector1_SelectedParameterIdChanged (object o, IndexChangeEventArgs e) |
| Executes when ID of the selected input parameter changes; Plots the parametric test. More... | |
| void | neuralInputParameterSelector1_SelectedParameterMinChanged (object sender, IG.Forms.ValueChangeEventArgs e) |
| Executes when minimal value of the selected parameter changes by user interaction; Plots the parametric test. More... | |
| void | neuralInputParameterSelector1_SelectedParameterMaxChanged (object sender, ValueChangeEventArgs e) |
| Executes when maximal value of the selected parameter changes by user interaction; Plots the parametric test. More... | |
| void | neuralOutputValueSelector1_SelectedOutputIdChanged (object sender, IndexChangeEventArgs e) |
| Executes when ID of the selected output value changes; Plots the parametric test. More... | |
| void | btnTestFunction_Click (object sender, EventArgs e) |
| Generates a test fuction to be plotted. More... | |
| void | btnCheck_Click (object sender, EventArgs e) |
| Reports state of data in a fading message. More... | |
| void | btnIdentifyThread_Click (object sender, EventArgs e) |
| Report identity information of the running thread in a fading message. More... | |
| void | chkPlotImmediately_CheckedChanged (object sender, EventArgs e) |
| void | numNumPlotPoints_Validated (object sender, EventArgs e) |
| void | numNumPlotPoints_ValueChanged (object sender, EventArgs e) |
| void | InitializeComponent () |
| Required method for Designer support - do not modify the contents of this method with the code editor. More... | |
Private Attributes | |
| InputOutputDataDefiniton | _neuralDataDefinition |
| IScalarFunction | _scalarFunction |
| IVectorFunction | _function |
| bool | _plotImmediately = false |
| bool | _plotImmediatelyOnNumPointsValueChanged = true |
| PlotterZedGraph | _plotter |
| System.ComponentModel.IContainer | components = null |
| Required designer variable. More... | |
| InputParametersControl | neuralInputControl1 |
| System.Windows.Forms.Panel | pnlGraph |
| System.Windows.Forms.NumericUpDown | numNumPlotPoints |
| System.Windows.Forms.Label | lblNumPointsLine |
| ZedGraph.ZedGraphControl | ParmTestFGraph |
| System.Windows.Forms.Button | btnParamTestStart |
| Forms.OutputValueSelector | neuralOutputValueSelector1 |
| InputParameterSelectorMinMax | neuralInputParameterSelector1 |
| System.Windows.Forms.Button | btnCheck |
| System.Windows.Forms.Button | btnIdentifyThread |
| System.Windows.Forms.Button | btnTestFunction |
| System.Windows.Forms.CheckBox | chkPlotImmediately |
| IndicatorLight | indicatorLight1 |
Form for training artificial neural networks.
$A Igor Jul13;
|
inline |
|
inlinevirtual |
Calculates the specified output value of the vector function at the specified parameters.
| parameters | Parameter values. |
| whichOutput | Specifies which output value (which element of the vector function) should be calculated. |
References IG.Lib.Function.
|
inline |
Applies style and other settings to the plotter used to show the parametric graph.
| plotter | Plotter to which settings are applied. |
| whichInput | ID of the input to be plotted. |
| whichOutpput | ID of the output to be plotted. |
References IG.Gr.PlotterZedGraph.IsShowPointValues, IG.Gr.PlotterZedGraph.XAxisLabel, and IG.Gr.PlotterZedGraph.YAxisLabel.
|
inline |
Applies style and other settings to the plotter used to show the parametric graph.
| plotter | Plotter to which settings are applied. |
| whichInput | ID of the input to be plotted. |
| whichOutpput | ID of the output to be plotted. |
References IG.Gr.PlotZedgraphCurve.LineColor, IG.Gr.PlotZedgraphCurve.LineWidth, IG.Gr.PlotZedgraphCurve.PointBorderColor, IG.Gr.PlotZedgraphCurve.PointFillColor, and IG.Gr.PlotZedgraphCurve.PointsVisible.
|
inline |
plots the selected outpt dependend on the selected parameter.
References IG.Gr.PlotZedgraphCurve.AddPoint(), IG.Num.VectorBase.CopyPlain(), and IG.Lib.Function.
|
inlineprivate |
Plots the parametric test.
|
inlineprivate |
Executes when ID of the selected input parameter changes; Plots the parametric test.
| o | Control that raised the event. |
| e | Event arguments containing old and new value. |
|
inlineprivate |
Executes when minimal value of the selected parameter changes by user interaction; Plots the parametric test.
| sender | Control that generated the event. |
| e | Event arrguments containing old and new value. |
|
inlineprivate |
Executes when maximal value of the selected parameter changes by user interaction; Plots the parametric test.
| sender | Control that raised the event. |
| e | Event arguments containing the old and new value. |
|
inlineprivate |
Executes when ID of the selected output value changes; Plots the parametric test.
| sender | Control that generated the event. |
| e | Event arguments, contain old and new value of the index. |
|
inlineprivate |
Generates a test fuction to be plotted.
References IG.Num.InputOutputDataDefiniton.CreateDefault(), and IG.Lib.Function.
|
inlineprivate |
Reports state of data in a fading message.
| sender | |
| e |
References IG.Forms.FadingMessage.Launch().
|
inlineprivate |
Report identity information of the running thread in a fading message.
| sender | |
| e |
References IG.Forms.UtilForms.IdentifyCurrentThread().
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprotected |
Clean up any resources being used.
| disposing | true if managed resources should be disposed; otherwise, false. |
|
inlineprivate |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
private |
|
private |
|
private |
|
protected |
|
protected |
|
protected |
|
private |
|
private |
|
private |
|
private |
Required designer variable.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
getprivate |
Reorter used for launching info, warning and error reports.
|
getset |
Data about input and output quantities of the manipulated functions or response.
Referenced by IG.Forms.VectorFunctionScriptControl.btnPlot1d_Click(), and IG.Forms.ScalarFunctionScriptControl.btnPlot1d_Click().
|
set |
Referenced by IG.Forms.ScalarFunctionScriptControl.btnPlot1d_Click().
|
getset |
Referenced by IG.Forms.VectorFunctionScriptControl.btnPlot1d_Click().
|
get |
Gets number of input parameters.
|
get |
Gets number of output values.
|
get |
Vector of current values of input parameters as defined by the DadaGridView.
|
get |
Minimal values of parameters.
|
get |
Maximal values of parameters.
|
getprotected set |
Sequential number of the selected parameter as specified by the user.
|
get |
Minimal value of the selected parameter.
|
get |
Maximal value of the selected parameter as specified by the user.
|
getprotected set |
|
getset |
Number of plotting points.
|
get |
Gets axis label text for the currently selected parameter.
|
get |
Gets axis label text for the currently selected output value.
|
getset |
If true then graph is pletted immediately when any parameter changes that affects it appearance.
|
getset |
|
get |
Plotter that is used for plotting the graphs.