IGLib 1.4
The IGLib base library for development of numerical, technical and business applications.
|
Class for approximation file server. More...
Public Member Functions | |
ApproximationFileServerNeural (string workingDirectoryPath) | |
virtual void | ClearMessages () |
Clears all messages in the neural network approximator's file client/server directory. | |
virtual void | ServerCalculateApproximation () |
Performs server-side calculation of the approximation. Reads input from standard location, calculates output and writes it to the standard location. | |
virtual void | ClientCalculateApproximation (IVector input, ref IVector output) |
Calculates the neural network based approximated values. | |
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. | |
Properties | |
virtual string | Directory [get, set] |
Gets or sets working directory of the current object. | |
NeuraApproximationFileManager | NeuralFileManager [get, set] |
Private Member Functions | |
ApproximationFileServerNeural () | |
Private Attributes | |
string | _directory |
NeuraApproximationFileManager | _neuralFileManager |
Class for approximation file server.
$A Igor Apr11;
IG::Neural::ApproximationFileServerNeural::ApproximationFileServerNeural | ( | ) | [inline, private] |
IG::Neural::ApproximationFileServerNeural::ApproximationFileServerNeural | ( | string | workingDirectoryPath | ) | [inline] |
virtual void IG::Neural::ApproximationFileServerNeural::ClearMessages | ( | ) | [inline, virtual] |
Clears all messages in the neural network approximator's file client/server directory.
Reimplemented in IG::Neural::AnalysisFileServerNeural, and IG::Neural::MappingApproximationFileServerNeural.
virtual void IG::Neural::ApproximationFileServerNeural::ServerCalculateApproximation | ( | ) | [inline, virtual] |
Performs server-side calculation of the approximation. Reads input from standard location, calculates output and writes it to the standard location.
virtual void IG::Neural::ApproximationFileServerNeural::ClientCalculateApproximation | ( | IVector | input, |
ref IVector | output | ||
) | [inline, virtual] |
Calculates the neural network based approximated values.
input | Vector of input parameters. |
output | Vector of output parameters. |
virtual void IG::Neural::ApproximationFileServerNeural::ClientTestCalculateApproximation | ( | string | inputFilePath, |
string | outputFilePath | ||
) | [inline, virtual] |
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.
inputFilePath | Path to the JSON file where input parameters are read from. The file pointed at must exist. |
outputFilePath | Path of a file where the calculated approximated values are written to. It can be null or empty string, in this case parameters are not written to a file (but they are still output on console). |
string IG::Neural::ApproximationFileServerNeural::_directory [private] |
NeuraApproximationFileManager IG::Neural::ApproximationFileServerNeural::_neuralFileManager [private] |
virtual string IG::Neural::ApproximationFileServerNeural::Directory [get, set] |
Gets or sets working directory of the current object.
NeuraApproximationFileManager IG::Neural::ApproximationFileServerNeural::NeuralFileManager [get, set] |