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

Analysis server based on neural approximations for IJS, for Robert's data. More...

+ Inheritance diagram for IG.Neural.AnalysisFileServerNeuralExtBase:
+ Collaboration diagram for IG.Neural.AnalysisFileServerNeuralExtBase:

Public Member Functions

 AnalysisFileServerNeuralExtBase (string workingDirectory)
 
- Public Member Functions inherited from IG.Neural.AnalysisFileServerNeural
 AnalysisFileServerNeural (string workingDirectoryPath)
 Constructor, sets object's working directory to the specified path. More...
 
virtual void Analyse (IAnalysisResults analysisData)
 Performs analysis - calculates requested results and writes them to the provided data structure. More...
 
override void ClearMessages ()
 Clears all messages in the neural network approximator's file client/server directory. More...
 
virtual void ServerAnalyse ()
 Performs server-side direct analysis. Reads analysis input from standard location, calculates output and writes it to the standard location. More...
 
virtual void ClientCalculateAnalysisResults (AnalysisResults anRes)
 Calculates analysis results by using the analysis server. More...
 
virtual void ClientTestCalculateAnalysisResults (string inputFilePath, bool reqObjective, bool reqConstraints, bool reqObjectiveGradient, bool reqConstraintGradients, string outputFilePath)
 Performs client-side test calculation of analysis response. More...
 
- Public Member Functions inherited from IG.Neural.ApproximationFileServerNeural
 ApproximationFileServerNeural (string workingDirectoryPath)
 
virtual void ServerCalculateApproximation ()
 Performs server-side calculation of the approximation. Reads input from standard location, calculates output and writes it to the standard location. More...
 
virtual void ClientCalculateApproximation (IVector input, ref IVector output)
 Calculates the neural network based approximated values. More...
 
virtual void ClientTestCalculateApproximation (string inputFilePath, string outputFilePath)
 Performs client-side test calculation of neural network based approximation where input parameters are read from a specified JSON file, and calculated output values are written to the specified file. More...
 

Static Public Member Functions

static void InstallCommands_ijs_11_05 (ICommandLineApplicationInterpreter app)
 Installs Tadej's commands for neural networks on the applications's command interpreter. More...
 
static string CmdAnalyseServer_ijs_11_05 (CommandThread interpreter, string cmdName, string[] args)
 Command. Calculates approximation according to input parameters written in a file, and outputs resulting approximated values to a file. More...
 
static string CmdAnalyseClient_ijs_11_05 (CommandThread interpreter, string cmdName, string[] args)
 Command. Sends request to a server to calculate an approximation. More...
 

Protected Member Functions

override void AnalysisToApproximationInput (IVector anInput, ref IVector approximationInput)
 Converts analysis input parameters to approximation input parameters. More...
 
override void ApproximationToAnalysisOutput (IVector approxOutput, IAnalysisResults anResults)
 Converts approximation output to direct analysis results.
Sets objective function to sum of squares of approximated values.
WARNING:
This method should be overridden in derived classes. More...
 

Additional Inherited Members

- Properties inherited from IG.Neural.AnalysisFileServerNeural
OptFileManager OptimizationFileManager [get, set]
 
int NumParameters [get, set]
 Number of parameters. More...
 
int NumObjectives [get, set]
 Number of objective functions (normally 1 for this type, but can be 0). More...
 
int NumConstraints [get, set]
 Number of constraints. More...
 
int NumEqualityConstraints [get, set]
 Number of equality constraints. More...
 
- Properties inherited from IG.Neural.ApproximationFileServerNeural
virtual string Directory [get, protected set]
 Gets or sets working directory of the current object. More...
 
NeuraApproximationFileManager NeuralFileManager [get, set]
 
- Properties inherited from IG.Num.IAnalysis
int NumParameters [get, set]
 Number of parameters. More...
 
int NumObjectives [get, set]
 Number of objective functions (normally 1 for this type, but can be 0). More...
 
int NumConstraints [get, set]
 Number of constraints. More...
 
int NumEqualityConstraints [get, set]
 Number of equality constraints. More...
 

Detailed Description

Analysis server based on neural approximations for IJS, for Robert's data.

Constructor & Destructor Documentation

IG.Neural.AnalysisFileServerNeuralExtBase.AnalysisFileServerNeuralExtBase ( string  workingDirectory)
inline

Member Function Documentation

override void IG.Neural.AnalysisFileServerNeuralExtBase.AnalysisToApproximationInput ( IVector  anInput,
ref IVector  approximationInput 
)
inlineprotectedvirtual

Converts analysis input parameters to approximation input parameters.

Parameters
anInputInput parameters for direct analysis.
approximationInputInput parameters for response approximation.

Reimplemented from IG.Neural.AnalysisFileServerNeural.

References IG.Num.VectorBase.Copy().

override void IG.Neural.AnalysisFileServerNeuralExtBase.ApproximationToAnalysisOutput ( IVector  approxOutput,
IAnalysisResults  anResults 
)
inlineprotectedvirtual
static void IG.Neural.AnalysisFileServerNeuralExtBase.InstallCommands_ijs_11_05 ( ICommandLineApplicationInterpreter  app)
inlinestatic

Installs Tadej's commands for neural networks on the applications's command interpreter.

References IG.Lib.ICommandLineApplicationInterpreter.AddCommand().

Referenced by IG.Lib.AppExtendedShell.AppExtendedShell().

static string IG.Neural.AnalysisFileServerNeuralExtBase.CmdAnalyseServer_ijs_11_05 ( CommandThread  interpreter,
string  cmdName,
string[]  args 
)
inlinestatic
static string IG.Neural.AnalysisFileServerNeuralExtBase.CmdAnalyseClient_ijs_11_05 ( CommandThread  interpreter,
string  cmdName,
string[]  args 
)
inlinestatic

Command. Sends request to a server to calculate an approximation.

Parameters
interpreterInterpreter on which commad is run.
cmdNameCommand name.
AppArgumentsCommand arguments.
Returns
Null.

References IG.Neural.AnalysisFileServerNeural.ClientTestCalculateAnalysisResults(), and IG.Lib.UtilStr.ToBoolean().


The documentation for this class was generated from the following file: