IGLib
1.5
The IGLib base library for development of numerical, technical and business applications.
|
Base class for vector function approximators. More...
Public Member Functions | |
abstract void | CalculateOutput (IVector input, ref IVector output) |
Calculates and returns the approximated outputs corresponding to the specified inputs, by using the current vector function approximator. More... | |
virtual double | CalculateOutput (IVector input, int whichElement) |
Calculates and returns the specified output by using the current vector function approximator. More... | |
virtual void | CalculateOutput (IVector input, int[] indices, ref IVector filteredOutput) |
Calculates and returns the required output values corresponding to the specified inputs, by using the current vector function approximator. More... | |
Protected Attributes | |
IVector | _lastCalculationInputParameters |
Properties | |
object | Lock [get] |
This object's central lock object to be used by other object. Do not use this object for locking in class' methods, for this you should use InternalLock. More... | |
abstract int | InputLength [get, set] |
Gets or sets the number of input parameters. More... | |
abstract int | OutputLength [get, set] |
Gets or sets the number of output values. More... | |
![]() | |
object | Lock [get] |
Private Attributes | |
object | _mainLock = new object() |
IVector | _lastCalculationOutputValues |
Base class for vector function approximators.
|
pure virtual |
Calculates and returns the approximated outputs corresponding to the specified inputs, by using the current vector function approximator.
input | Input parameters. |
Currently, only all outputs at once can be calculated. This makes no difference in the arrangement with a single network with multiple outputs, but does when several networks with single output each are used. If the implementation changes in the future then performance configuratins should be taken into account carefully, and tracking input for which input parameters the outputs have been calculated might be necessary.
Implemented in IG.Neural.NeuralApproximatorAforge, and IG.Num.NeuralApproximatorAforgeFake.
|
inlinevirtual |
Calculates and returns the specified output by using the current vector function approximator.
Reimplemented in IG.Num.NeuralApproximatorBase, and IG.Num.NeuralApproximatorAforgeFake.
References IG.Num.VectorBase.Compare(), and IG.Num.VectorBase.Copy().
|
inlinevirtual |
Calculates and returns the required output values corresponding to the specified inputs, by using the current vector function approximator.
input | Input parameters for which output values are calculated. |
indices | Array of indices of the output values to be returned. |
filteredOutput | Vector where filtered output values are stored. |
Reimplemented in IG.Num.NeuralApproximatorBase, and IG.Num.NeuralApproximatorAforgeFake.
References IG.Num.VectorBase.Compare(), IG.Num.VectorBase.Copy(), and IG.Num.VectorBase.Resize().
|
private |
|
protected |
|
private |
|
get |
This object's central lock object to be used by other object. Do not use this object for locking in class' methods, for this you should use InternalLock.
|
getset |
Gets or sets the number of input parameters.
|
getset |
Gets or sets the number of output values.