GeneralConvergence Class |
Namespace: Accord.Math.Convergence
The GeneralConvergence type exposes the following members.
Name | Description | |
---|---|---|
GeneralConvergence |
Creates a new GeneralConvergence object.
|
Name | Description | |
---|---|---|
AbsoluteFunctionTolerance |
Gets or sets the absolute function tolerance that should
be used as convergence criteria. This tracks the absolute
amount that the function output changes after two consecutive
iterations. Setting this value to zero disables those checks.
Default is 0.
| |
AbsoluteParameterTolerance |
Gets or sets the absolute parameter tolerance that should
be used as convergence criteria. This tracks the absolute
amount that the model parameters changes after two consecutive
iterations. Setting this value to zero disables those checks.
Default is 0.
| |
Cancel |
Gets or sets whether the algorithm should
be forced to terminate. Default is false.
| |
Evaluations |
Gets or sets the number of function evaluations
performed by the optimization algorithm.
| |
MaximumEvaluations |
Gets or sets the maximum number of function evaluations to
be used as convergence criteria. This tracks how many times
the function to be optimized has been called, and stops the
algorithm when the number of times specified in this property
has been reached. Setting this value to zero disables this check.
Default is 0.
| |
MaximumTime |
Gets or sets the maximum amount of time that an optimization
algorithm is allowed to run. This property must be set together
with StartTime in order to function correctly.
Setting this value to Zero disables this
check. Default is Zero.
| |
NumberOfVariables |
Gets or sets the number of variables in the problem.
| |
RelativeFunctionTolerance |
Gets or sets the relative function tolerance that should
be used as convergence criteria. This tracks the relative
amount that the function output changes after two consecutive
iterations. Setting this value to zero disables those checks.
Default is 0.
| |
RelativeParameterTolerance |
Gets or sets the relative parameter tolerance that should
be used as convergence criteria. This tracks the relative
amount that the model parameters changes after two consecutive
iterations. Setting this value to zero disables those checks.
Default is 0.
| |
StartTime |
Gets or sets the time when the algorithm started running. When
time will be tracked with the MaximumTime property,
this property must also be set to a correct value.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
HasMethod |
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.) | |
IsEqual |
Compares two objects for equality, performing an elementwise
comparison if the elements are vectors or matrices.
(Defined by Matrix.) | |
To(Type) | Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) | |
ToT | Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) |