IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
Form for simple parametric tests (variation of selected parameter) performed on ANN models. More...
Public Member Functions | |
NeuralParametricTest2d (INeuralModel neuralModel) | |
Constructs the control, with ANN-based model specified. More... | |
NeuralParametricTest2d () | |
void | SetNeuralModel (INeuralModel model) |
Sets the ANN-based model used by the current form. 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 | PlotParametricTestZedGraph () |
plots the selected outpt dependend on the selected parameter. More... | |
virtual void | ApplySurfacePlotSettingsDefault (VtkSurfacePlotBase plot) |
Applies default settings to surface plots. More... | |
virtual void | ApplySurfacePlottterSettingsDefault (VtkPlotter plotter, int whichInput1, int whichInput2, int whichOutput) |
Applies default settings to plotter used to render 3D graphs. More... | |
void | PlotParametricTest () |
plots the selected outpt dependend on the selected parameter. More... | |
Static Public Attributes | |
static string | SelectedParametersIntroStr = "Selected input parameters: " |
Protected Member Functions | |
void | UpdateSeclectedParametersDependencies () |
override void | Dispose (bool disposing) |
Clean up any resources being used. More... | |
Protected Attributes | |
INeuralModelContainer | _neuralModelContainerControl |
int | _selectedParameterId1 = 0 |
int | _selectedParameterId2 = 0 |
int | _selectedOutputId = 0 |
ColorScale | SurfaceColorScale |
BoundingBox3d | OriginalBounds |
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 | 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 | SelectedParameterId1 [get, protected set] |
Sequential number of the selected first parameter as specified by the user. More... | |
double | SelectedParameterMin1 [get] |
Minimal value of the selected first parameter. More... | |
double | SelectedParameterMax1 [get] |
Maximal value of the selected first parameter as specified by the user. More... | |
int | SelectedParameterId2 [get, protected set] |
Sequential number of the selected second parameter as specified by the user. More... | |
double | SelectedParameterMin2 [get] |
Minimal value of the selected second parameter. More... | |
double | SelectedParameterMax2 [get] |
Maximal value of the selected second parameter as specified by the user. More... | |
int | SelectedOutputId [get, protected set] |
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... | |
PlotterZedGraph | Plotterzedgraph [get] |
Plotter that is used for plotting the graphs. More... | |
![]() | |
INeuralModel | NeuralModel [get] |
Artificial neural network - based model. More... | |
Private Member Functions | |
void | btnParmTestStart_Click (object sender, EventArgs e) |
Plots the parametric test. More... | |
void | neuralInputSelector1_SelectedParameterIdChanged (int oldId, int newId) |
Executes when ID of the selected first input parameter changes; Plots the parametric test. More... | |
void | neuralInputSelector1_SelectedParameterMinChanged (double oldValue, double newValue) |
Executes when minimal value of the selected first parameter changes by user interaction; Plots the parametric test. More... | |
void | neuralInputSelector1_SelectedParameterMaxChanged (double oldValue, double newValue) |
Executes when maximal value of the selected first parameter changes by user interaction; Plots the parametric test. More... | |
void | neuralInputSelector2_SelectedParameterIdChanged (int oldId, int newId) |
Executes when ID of the selected second input parameter changes; Plots the parametric test. More... | |
void | neuralInputSelector2_SelectedParameterMinChanged (double oldValue, double newValue) |
Executes when minimal value of the selected second parameter changes by user interaction; Plots the parametric test. More... | |
void | neuralInputSelector2_SelectedParameterMaxChanged (double oldValue, double newValue) |
Executes when maximal value of the selected second parameter changes by user interaction; Plots the parametric test. More... | |
void | neuralOutputValueSelector1_SelectedOutputIdChanged (int oldId, int newId) |
Executes when ID of the selected output value changes; Plots the parametric test. More... | |
void | InitializeComponent () |
Required method for Designer support - do not modify the contents of this method with the code editor. More... | |
Private Attributes | |
INeuralModel | _neuralModel |
PlotterZedGraph | _plotterZedgraph |
System.ComponentModel.IContainer | components = null |
Required designer variable. More... | |
NeuralInputControl | neuralInputControl1 |
System.Windows.Forms.Panel | pnlGraph |
System.Windows.Forms.NumericUpDown | txtNumPoints1 |
System.Windows.Forms.Label | lblNumPoints |
ZedGraph.ZedGraphControl | ParmTestFGraph |
System.Windows.Forms.Button | btnParmTestStart |
Forms.NeuralOutputValueSelector | neuralOutputValueSelector1 |
NeuralInputParameterSelectorMinMax | neuralInputSelector1 |
System.Windows.Forms.Label | lblTitleParametric2d |
NeuralInputParameterSelectorMinMax | neuralInputSelector2 |
System.Windows.Forms.NumericUpDown | txtNumPoints2 |
System.Windows.Forms.Label | lblNumPointsCross |
System.Windows.Forms.Label | lblSelectedParameters |
System.Windows.Forms.CheckBox | chkScaled |
Form for simple parametric tests (variation of selected parameter) performed on ANN models.
$A Igor Jun13;
|
inline |
Constructs the control, with ANN-based model specified.
neuralModel | ANN-based model, containing data definitions and trained neural network. |
|
inline |
|
inline |
Sets the ANN-based model used by the current form.
model | ANN based model that is set. |
Because of this dedicated method, the setter of the NeuralModel property can be non-public.
Implements IG.Neural.INeuralModelContainer.
|
inlineprotected |
|
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(), and IG.Num.VectorBase.CopyPlain().
|
inlinevirtual |
Applies default settings to surface plots.
plot | Surface plot to which settings are applied. |
References IG.Gr3d.VtkSurfacePlotBase.LineColor, IG.Gr3d.VtkSurfacePlotBase.LinesVisible, IG.Gr3d.VtkSurfacePlotBase.LineWidth, IG.Gr3d.VtkSurfacePlotBase.PointsVisible, IG.Gr3d.VtkSurfacePlotBase.SurfaceColor, IG.Gr3d.VtkSurfacePlotBase.SurfaceColorIsScaled, IG.Gr3d.VtkSurfacePlotBase.SurfaceColorOpacity, IG.Gr3d.VtkSurfacePlotBase.SurfaceColorScale, and IG.Gr3d.VtkSurfacePlotBase.SurfacesVisible.
|
inlinevirtual |
Applies default settings to plotter used to render 3D graphs.
plotter | 3D Plotter to which settings are applied. |
References IG.Gr3d.VtkPlotter.BackGround, IG.Gr3d.VtkDecorationHandler.CubeAxesFlyMode, IG.Gr3d.VtkDecorationHandler.CubeAxesXLabel, IG.Gr3d.VtkDecorationHandler.CubeAxesYLabel, IG.Gr3d.VtkDecorationHandler.CubeAxesZLabel, IG.Gr3d.VtkPlotter.DecorationHandler, IG.Gr3d.VtkDecorationHandler.LookUpTableColorScale, IG.Gr3d.VtkDecorationHandler.LookUpTableMaxRange, IG.Gr3d.VtkDecorationHandler.LookUpTableMinRange, IG.Num.BoundingBox3d.MaxZ, IG.Num.BoundingBox3d.MinZ, IG.Gr3d.VtkDecorationHandler.ScalarBarNumberOfLabels, IG.Gr3d.VtkDecorationHandler.ScalarBarTitle, IG.Gr3d.VtkDecorationHandler.ShowCubeAxes, IG.Gr3d.VtkDecorationHandler.ShowScalarBar, IG.Gr3d.VtkPlotter.WindowSizeX, and IG.Gr3d.VtkPlotter.WindowSizeY.
|
inline |
plots the selected outpt dependend on the selected parameter.
References IG.Gr3d.VtkSurfacePlot.ClearSurfaceDefinition(), IG.Num.StructuredMeshGeometry2d< TCoord >.Coordinates, IG.Num.VectorBase.CopyPlain(), IG.Gr3d.VtkSurfacePlot.Create(), IG.Num.Field< TElement >.Length, IG.Num.BoundingBoxBase.Map(), IG.Num.BoundingBoxBase.Max, IG.Gr3d.VtkSurfacePlot.Mesh, IG.Num.BoundingBoxBase.Min, IG.Gr3d.VtkPlotBase.OutputLevel, IG.Gr3d.VtkPlotter.ResetCamera(), IG.Gr3d.VtkPlotBase.ShowPlot(), IG.Num.BoundingBoxBase.ToString(), IG.Num.BoundingBox3d.Update(), and IG.Num.Vector3d.Vec.
|
inlineprivate |
Plots the parametric test.
|
inlineprivate |
Executes when ID of the selected first input parameter changes; Plots the parametric test.
oldId | Old ID of the selected output value (after change). |
newId | New ID of the selected output value (after changed). |
|
inlineprivate |
Executes when minimal value of the selected first parameter changes by user interaction; Plots the parametric test.
oldValue | Old value. |
newValue | New value. |
|
inlineprivate |
Executes when maximal value of the selected first parameter changes by user interaction; Plots the parametric test.
oldValue | Old value. |
newValue | New value. |
|
inlineprivate |
Executes when ID of the selected second input parameter changes; Plots the parametric test.
oldId | Old ID of the selected output value (after change). |
newId | New ID of the selected output value (after changed). |
|
inlineprivate |
Executes when minimal value of the selected second parameter changes by user interaction; Plots the parametric test.
oldValue | Old value. |
newValue | New value. |
|
inlineprivate |
Executes when maximal value of the selected second parameter changes by user interaction; Plots the parametric test.
oldValue | Old value. |
newValue | New value. |
|
inlineprivate |
Executes when ID of the selected output value changes; Plots the parametric test.
oldId | Old ID of the selected output value (after change). |
newId | New ID of the selected output value (after changed). |
|
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.
|
protected |
|
private |
|
protected |
|
protected |
|
static |
|
protected |
|
private |
|
protected |
|
protected |
|
private |
Required designer variable.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
getprotected set |
Neural network - based model.
Contains data definition and trained neural network approximator.
|
get |
Traint artificial neural network.
|
get |
Neural data definition.
|
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 first parameter as specified by the user.
|
get |
Minimal value of the selected first parameter.
|
get |
Maximal value of the selected first parameter as specified by the user.
|
getprotected set |
Sequential number of the selected second parameter as specified by the user.
|
get |
Minimal value of the selected second parameter.
|
get |
Maximal value of the selected second parameter as specified by the user.
|
getprotected set |
|
get |
Gets axis label text for the currently selected parameter.
|
get |
Gets axis label text for the currently selected output value.
|
get |
Plotter that is used for plotting the graphs.