IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
Class for testing Layout designs. More...
Public Member Functions | |
NeuralParametricDemoOldCopy (string workingDirectoryPath) | |
Constructs a new form for parametric studies, with the specified working directory. More... | |
NeuralParametricDemoOldCopy () | |
Constructs a new form for parametric studies, with default working directory (specified internally as relative path to location of executable when run from Visual Studio). More... | |
void | InitLayout () |
Sets the default layout when the form is opened. More... | |
void | PlotTrainingAndVerificationPointsResponse (List< IVector > ParmTestSelectedPoints, int whichOutput, int whichParameter, double minParameterLimit, double maxParameterLimit) |
virtual void | ApplyPlotSettingsCurveBlueRed (LineItem Line, int i, int max) |
virtual void | ApplyPlotSettingsCurve (LineItem Line) |
Public Attributes | |
string | _workingDirectoryPath = "../../../../../../../workspaceprojects/12_01_paper_neuralcasting/train/opt" |
string | _neuralNetworkFilename = "neuralnetwork.json" |
string | _neuralNetworkPath |
Protected Member Functions | |
override void | Dispose (bool disposing) |
Clean up any resources being used. More... | |
Protected Attributes | |
string | _dataDefinitionFilename = "neuraldatadefinition.json" |
string | _dataDefinitionPath |
NeuralParametricDemoAboutWindowOld | _aboutWindow |
Properties | |
bool | IsTabPageVisibleParametric [get, set] |
Whether the "Parametric Test" tab is visible or not. More... | |
bool | IsTabPageVisibleSensitivityTest [get, set] |
Whether the "Sensitivity Test" tab is visible or not. More... | |
bool | IsTabPageVisibleErrorEstimation [get, set] |
Whether the "Error Estimation" tab is visible or not. More... | |
string | WorkingDirectoryPath [get, set] |
Working directory where files are found. More... | |
string | NeuralNetworkFilename [get, set] |
Name of the file where neural network is stored. More... | |
string | NeuralNetworkPath [get] |
Path to the file where neural network is stored. More... | |
string | DataDefinitionFilename [get, set] |
Name of the file where data definitions are stored. More... | |
string | DataDefinitionPath [get] |
Path to the file where data definitions are stored. More... | |
NeuralParametricDemoAboutWindowOld | AboutWindow [get] |
Private Member Functions | |
void | InitializeParmTestFGraph () |
void | GenerateANNPredictionInputGid () |
void | GenerateANNPredictionOutputGrid () |
void | GenerateANNPredictionInfoGrid () |
void | GenerateANNParamTestInputGrid () |
void | LoadANN () |
void | PrepareTrainingAndVerificationData () |
void | LoadDataDefinition () |
void | toolStripStoreSW_ItemClicked (object sender, ToolStripItemClickedEventArgs e) |
void | btnParmTest_Click (object sender, EventArgs e) |
void | dGridInputParam_CellValueChanged (object sender, DataGridViewCellEventArgs e) |
void | btnPredict_Click (object sender, EventArgs e) |
Button ANN predict output. More... | |
void | ReadValuesFromGrid (ref IVector Values) |
void | WriteValesToGrid (IVector Values) |
void | ReadParametersFromGridPrediction (ref IVector Parameters) |
void | WriteParametersToGridPrediction (IVector Parameters) |
void | ReadParametersFromGridParmTest (ref List< IVector > Parameters) |
void | btnResttDefault_Click (object sender, EventArgs e) |
void | combBoxANN_SelectedIndexChanged (object sender, EventArgs e) |
void | btnParmTestSelectAll_Click (object sender, EventArgs e) |
Button select-all check boxes in parametric test data grid. More... | |
void | btnParmTestClearAll_Click (object sender, EventArgs e) |
Button clear-all check boxes in parametric test data grid. More... | |
void | btnParmTestResetToDefault_Click (object sender, EventArgs e) |
Button Reset to default parameters in parametric test data grid. More... | |
void | btnParmTestStart_Click (object sender, EventArgs e) |
Button Start parametric test. More... | |
void | ParmTestAddGraphs (int parTestGraphNumber) |
void | ParmTestPrepareGraphs (List< IVector > ParamTestParameterLimits, List< IVector > ParmTestSelectedPoints) |
void | ParmTestInitializeGraphPane (GraphPane Pane, int whichOutput, int whichParameter) |
void | ParmTestPreparePoints (ref List< IVector > VerificationPoints) |
Prepare points for parametric test. More... | |
void | dGridParmTestInputParam_CellValueChanged (object sender, DataGridViewCellEventArgs e) |
Check for values in parametric test data grid. More... | |
void | cBoxParmTestType_SelectedIndexChanged (object sender, EventArgs e) |
void | numNumPointsParmTest_ValueChanged (object sender, EventArgs e) |
void | btnParmTestFwd_Click (object sender, EventArgs e) |
void | btnParmTestFwdEnd_Click (object sender, EventArgs e) |
void | btnParmTestBck_Click (object sender, EventArgs e) |
void | btnParmTestBckEnd_Click (object sender, EventArgs e) |
void | cBParmTestManualPoints_CheckedChanged (object sender, EventArgs e) |
void | NeuralParametricDemo_HelpEventHandlers (object sender, KeyEventArgs e) |
void | NeuralParametricDemo_KeyUp (object sender, KeyEventArgs e) |
void | tabControl_KeyUp (object sender, KeyEventArgs e) |
void | aboutStoreSW_Click (object sender, EventArgs e) |
void | showManualToolStripMenuItem_Click (object sender, EventArgs e) |
void | closeStoreSW_Click (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 | |
INeuralApproximator | approximator |
InputOutputDataDefiniton | NeuralDataDefinition |
SampledDataSet | verificationData |
SampledDataSet | trainingData |
List< PlotterZedGraph > | plotter |
string | nameANN = "neuralnetwork.json" |
string | definitionANN = "neuraldatadefinition.json" |
List< GraphPane > | parmTestGraphPane |
Chart | ParmTestGraphChart |
string | parTestType = "Verification Points" |
int | parTestNumPoints = 5 |
int | parTestGraphNumber = 0 |
System.ComponentModel.IContainer | components = null |
Required designer variable. More... | |
System.Windows.Forms.ToolStrip | toolOarametricDemo |
System.Windows.Forms.ToolStripDropDownButton | fileStoreSW |
System.Windows.Forms.ToolStripMenuItem | closeStoreSW |
System.Windows.Forms.ToolStripDropDownButton | helpStoreSW |
System.Windows.Forms.ToolStripMenuItem | aboutStoreSW |
System.Windows.Forms.ToolStripDropDownButton | aNNStoreSW |
System.Windows.Forms.ToolStripMenuItem | saveANNStoreSW |
System.Windows.Forms.ToolStripMenuItem | loadANNStoreSW |
System.Windows.Forms.ToolStripMenuItem | importTDJson |
System.Windows.Forms.ToolStripMenuItem | jsonFile |
System.Windows.Forms.ToolStripMenuItem | csvFile |
System.Windows.Forms.ToolStripMenuItem | saveTrainingDataToolStripMenuItem |
System.Windows.Forms.ToolStripMenuItem | jSONToolStripMenuItem |
System.Windows.Forms.ToolStripMenuItem | cSVToolStripMenuItem |
System.Windows.Forms.ToolStripSeparator | toolStripSeparator1 |
System.Windows.Forms.ComboBox | combBoxANN |
System.Windows.Forms.TextBox | tbInfoLine |
System.Windows.Forms.TabControl | tabControl |
System.Windows.Forms.TabPage | tpPrediction |
System.Windows.Forms.GroupBox | groupBox4 |
System.Windows.Forms.DataGridView | dGridInfoValues |
System.Windows.Forms.DataGridViewTextBoxColumn | dataGridViewTextBoxColumn4 |
System.Windows.Forms.DataGridViewTextBoxColumn | dataGridViewTextBoxColumn6 |
System.Windows.Forms.GroupBox | groupBox2 |
System.Windows.Forms.DataGridView | dGridOutputValues |
System.Windows.Forms.DataGridViewTextBoxColumn | dataGridViewTextBoxColumn1 |
System.Windows.Forms.DataGridViewTextBoxColumn | dataGridViewTextBoxColumn2 |
System.Windows.Forms.DataGridViewTextBoxColumn | dataGridViewTextBoxColumn3 |
System.Windows.Forms.GroupBox | groupBox1 |
System.Windows.Forms.DataGridView | dGridInputParam |
System.Windows.Forms.TabPage | tpParmTestRand |
System.Windows.Forms.TabPage | tpSensTest |
System.Windows.Forms.TabPage | tpErrorEst |
System.Windows.Forms.Button | btnResttDefault |
System.Windows.Forms.Button | btnPredict |
System.Windows.Forms.GroupBox | groupBox3 |
System.Windows.Forms.DataGridView | dGridParmTestInputParamRand |
ZedGraph.ZedGraphControl | ParmTestFGraphRand |
System.Windows.Forms.Button | btnParmTestFwdEndRand |
System.Windows.Forms.Button | btnParmTestBckEndRand |
System.Windows.Forms.Button | btnParmTestFwdRand |
System.Windows.Forms.Button | btnParmTestBckRand |
System.Windows.Forms.Button | btnParmTestSelectAllRand |
System.Windows.Forms.Button | btnParmTestClearAllRand |
System.Windows.Forms.Button | btnParmTestResetToDefaultRand |
System.Windows.Forms.Button | btnParmTestStartRand |
System.Windows.Forms.DataGridViewTextBoxColumn | dataGridViewTextBoxColumn5 |
System.Windows.Forms.DataGridViewTextBoxColumn | dataGridViewTextBoxColumn7 |
System.Windows.Forms.DataGridViewTextBoxColumn | dataGridViewTextBoxColumn8 |
System.Windows.Forms.DataGridViewTextBoxColumn | MaxValue |
System.Windows.Forms.DataGridViewCheckBoxColumn | Column1 |
System.Windows.Forms.NumericUpDown | numNumPointsParmTestRand |
System.Windows.Forms.Label | lblNumPointsRand |
System.Windows.Forms.ComboBox | cBoxParmTestTypeRand |
System.Windows.Forms.Button | btnParmTestEditPointsRand |
System.Windows.Forms.Button | button1 |
System.Windows.Forms.Button | button2 |
System.Windows.Forms.Button | btnSensTestFwdEnd |
System.Windows.Forms.Button | btnSensTestBckEnd |
System.Windows.Forms.Button | btnSensTestFwd |
System.Windows.Forms.Button | btnSensTestBck |
System.Windows.Forms.GroupBox | groupBox5 |
System.Windows.Forms.DataGridView | dGreedSensTestInputParam |
System.Windows.Forms.DataGridViewTextBoxColumn | dataGridViewTextBoxColumn9 |
System.Windows.Forms.DataGridViewTextBoxColumn | dataGridViewTextBoxColumn10 |
System.Windows.Forms.DataGridViewTextBoxColumn | dataGridViewTextBoxColumn11 |
System.Windows.Forms.DataGridViewTextBoxColumn | dataGridViewTextBoxColumn12 |
System.Windows.Forms.CheckBox | cBParmTestManualPointsRand |
System.Windows.Forms.Label | lblManualPointsRand |
System.Windows.Forms.GroupBox | groupBox6 |
System.Windows.Forms.DataGridView | dataGridView1 |
System.Windows.Forms.TextBox | textBox1 |
System.Windows.Forms.DataGridViewTextBoxColumn | dataGridViewTextBoxColumn13 |
System.Windows.Forms.DataGridViewTextBoxColumn | dataGridViewTextBoxColumn14 |
System.Windows.Forms.DataGridViewTextBoxColumn | Change |
System.Windows.Forms.DataGridViewTextBoxColumn | Share |
System.Windows.Forms.ToolStripMenuItem | showManualToolStripMenuItem |
System.Windows.Forms.DataGridViewTextBoxColumn | columnID |
System.Windows.Forms.DataGridViewTextBoxColumn | columnName |
System.Windows.Forms.DataGridViewTextBoxColumn | columnValue |
Class for testing Layout designs.
$A Tako78 Apr13; Igor Apr13;
|
inline |
Constructs a new form for parametric studies, with the specified working directory.
workingDirectoryPath | Path of the working directory. If null or empty string then default value (within the "workspaceprojects" directory, relative to executable directory in Visual Studio) will be set. |
|
inline |
Constructs a new form for parametric studies, with default working directory (specified internally as relative path to location of executable when run from Visual Studio).
|
inline |
Sets the default layout when the form is opened.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
References IG.Num.INeuralApproximator.GetErrorsTrainingMax(), IG.Num.INeuralApproximator.GetErrorsVerificationMax(), IG.Num.InputOutputDataDefiniton.GetOutputElement(), IG.Num.IVectorApproximator.InputLength, IG.Num.SampledDataSet.Length, IG.Num.InputOutputElementDefinition.Name, IG.Num.INeuralApproximator.NumVerificationPoints, IG.Num.IVectorApproximator.OutputLength, IG.Num.SampledDataSet.OutputLength, and IG.Num.INeuralApproximator.TrainingData.
|
inlineprivate |
References IG.Num.InputOutputElementDefinition.ElementIndex, IG.Num.InputOutputDataDefiniton.GetInputElement(), IG.Num.InputOutputDataDefiniton.InputLength, IG.Num.InputOutputElementDefinition.MaximalValue, IG.Num.InputOutputElementDefinition.MinimalValue, and IG.Num.InputOutputElementDefinition.Title.
|
inlineprivate |
References IG.Neural.NeuralApproximatorBaseExt.LoadJson().
|
inlineprivate |
References IG.Num.SampledDataSet.Add(), IG.Lib.SortedUniqueItemList< Type >.Contains(), IG.Num.SampledDataSet.GetInputParameters(), IG.Num.SampledDataSet.GetOutputValues(), IG.Num.IVectorApproximator.InputLength, IG.Num.SampledDataSet.Length, IG.Num.IVectorApproximator.OutputLength, IG.Num.INeuralApproximator.TrainingData, and IG.Num.INeuralApproximator.VerificationIndices.
|
inlineprivate |
References IG.Num.InputOutputDataDefiniton.LoadJson().
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
Button ANN predict output.
sender | |
e |
References IG.Num.IVectorApproximator.CalculateOutput(), IG.Num.SampledDataSet.InputLength, IG.Num.SampledDataSet.OutputLength, and IG.Num.INeuralApproximator.TrainingData.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
References IG.Num.SampledDataSet.InputLength, and IG.Num.INeuralApproximator.TrainingData.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
Button select-all check boxes in parametric test data grid.
sender | |
e |
References IG.Num.IVectorApproximator.InputLength.
|
inlineprivate |
Button clear-all check boxes in parametric test data grid.
sender | |
e |
References IG.Num.IVectorApproximator.InputLength.
|
inlineprivate |
Button Reset to default parameters in parametric test data grid.
sender | |
e |
|
inlineprivate |
Button Start parametric test.
sender | |
e |
|
inlineprivate |
|
inlineprivate |
References IG.Num.IVectorApproximator.OutputLength.
|
inline |
References IG.Num.IVectorApproximator.CalculateOutput(), IG.Num.InputOutputElementDefinition.Description, IG.Num.IVector.GetCopy(), IG.Num.InputOutputDataDefiniton.GetInputElement(), IG.Num.InputOutputDataDefiniton.GetOutputElement(), IG.Gr.Line, IG.Num.InputOutputElementDefinition.Name, and IG.Num.InputOutputElementDefinition.Title.
|
inlinevirtual |
References IG.Lib.ColorScaleBase.Create(), and IG.Lib.ColorScaleBase.GetColor().
|
inlinevirtual |
|
inlineprivate |
|
inlineprivate |
Prepare points for parametric test.
VerificationPoints |
References IG.Num.SampledDataSet.GetInputParameters(), IG.Num.SampledDataSet.InputLength, and IG.Num.SampledDataSet.Length.
|
inlineprivate |
Check for values in parametric test data grid.
sender | |
e |
References IG.Num.InputOutputDataDefiniton.GetInputElement(), IG.Num.IVectorApproximator.InputLength, IG.Num.InputOutputElementDefinition.MaximalValue, and IG.Num.InputOutputElementDefinition.MinimalValue.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
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.
string IG.Neural.Forms.Old.NeuralParametricDemoOldCopy._workingDirectoryPath = "../../../../../../../workspaceprojects/12_01_paper_neuralcasting/train/opt" |
string IG.Neural.Forms.Old.NeuralParametricDemoOldCopy._neuralNetworkFilename = "neuralnetwork.json" |
string IG.Neural.Forms.Old.NeuralParametricDemoOldCopy._neuralNetworkPath |
|
protected |
|
protected |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
protected |
|
private |
Required designer variable.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
getset |
Whether the "Parametric Test" tab is visible or not.
|
getset |
Whether the "Sensitivity Test" tab is visible or not.
|
getset |
Whether the "Error Estimation" tab is visible or not.
|
getset |
Working directory where files are found.
|
getset |
Name of the file where neural network is stored.
|
get |
Path to the file where neural network is stored.
|
getset |
Name of the file where data definitions are stored.
|
get |
Path to the file where data definitions are stored.
|
get |