BaseOptimizationMethod Class |
Namespace: Accord.Math.Optimization
The BaseOptimizationMethod type exposes the following members.
Name | Description | |
---|---|---|
BaseOptimizationMethod |
Initializes a new instance of the BaseOptimizationMethod class.
| |
BaseOptimizationMethod(Int32) |
Initializes a new instance of the BaseOptimizationMethod class.
| |
BaseOptimizationMethod(NonlinearObjectiveFunction) |
Initializes a new instance of the BaseOptimizationMethod class.
| |
BaseOptimizationMethod(Int32, FuncDouble, Double) |
Initializes a new instance of the BaseOptimizationMethod class.
|
Name | Description | |
---|---|---|
Function |
Gets or sets the function to be optimized.
| |
NumberOfVariables |
Gets the number of variables (free parameters)
in the optimization problem.
| |
Solution |
Gets the current solution found, the values of
the parameters which optimizes the function.
| |
Token |
Gets or sets a cancellation token that can be used to
stop the learning algorithm while it is running.
| |
Value |
Gets the output of the function at the current Solution.
|
Name | Description | |
---|---|---|
ArgumentException |
Creates an exception with a given inner optimization algorithm code (for debugging purposes).
| |
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.) | |
Maximize |
Finds the maximum value of a function. The solution vector
will be made available at the Solution property.
| |
Maximize(Double) |
Finds the maximum value of a function. The solution vector
will be made available at the Solution property.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Minimize |
Finds the minimum value of a function. The solution vector
will be made available at the Solution property.
| |
Minimize(Double) |
Finds the minimum value of a function. The solution vector
will be made available at the Solution property.
| |
OnNumberOfVariablesChanged |
Called when the NumberOfVariables property has changed.
| |
OperationException |
Creates an exception with a given inner optimization algorithm code (for debugging purposes).
| |
Optimize |
Implements the actual optimization algorithm. This
method should try to minimize the objective function.
| |
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.) |