C# Class SwarmOps.Optimizers.GD

Gradient Descent (GD), follows the gradient of the problem in small steps.
Inheritance: Optimizer
ファイルを表示 Open project: DanWBR/dwsim3

Public Methods

Method Description
GD ( ) : System.Diagnostics

Construct the object.

GD ( Problem problem ) : System.Diagnostics

Construct the object.

GetStepsize ( double parameters ) : double

Get parameter, Stepsize.

Optimize ( double parameters ) : Result

Perform one optimization run and return the best found solution.

Method Details

GD() public method

Construct the object.
public GD ( ) : System.Diagnostics
return System.Diagnostics

GD() public method

Construct the object.
public GD ( Problem problem ) : System.Diagnostics
problem Problem Problem to optimize.
return System.Diagnostics

GetStepsize() public method

Get parameter, Stepsize.
public GetStepsize ( double parameters ) : double
parameters double Optimizer parameters.
return double

Optimize() public method

Perform one optimization run and return the best found solution.
public Optimize ( double parameters ) : Result
parameters double Control parameters for the optimizer.
return Result