Method | Description | |
---|---|---|
ComputeY ( double parameters, double x ) : double |
Compute the value y given x using the curve-fitting function.
|
|
CurveFittingExp ( double x, double y, double minA, double maxA, double minB, double maxB ) : System.Diagnostics |
Create the object.
|
|
GetA ( double parameters ) : double |
Get the A parameter.
|
|
GetB ( double parameters ) : double |
Get the B parameter.
|
|
Gradient ( double parameters, double &v ) : int |
Compute the gradient of the fitness-function.
|
|
SetA ( double ¶meters, double a ) : void |
Set the A parameter.
|
|
SetB ( double ¶meters, double b ) : void |
Set the B parameter.
|
public ComputeY ( double parameters, double x ) : double | ||
parameters | double | Parameters for curve-fitting function. |
x | double | X-axis value. |
return | double |
public CurveFittingExp ( double x, double y, double minA, double maxA, double minB, double maxB ) : System.Diagnostics | ||
x | double | X-axis values. |
y | double | Y-axis values, curve to be fitted. |
minA | double | Minimum value for A parameter. |
maxA | double | Maximum value for A parameter. |
minB | double | Minimum value for B parameter. |
maxB | double | Maximum value for B parameter. |
return | System.Diagnostics |
public Gradient ( double parameters, double &v ) : int | ||
parameters | double | Candidate solution. |
v | double | Array for holding the gradient. |
return | int |
public SetA ( double ¶meters, double a ) : void | ||
parameters | double | |
a | double | |
return | void |
public SetB ( double ¶meters, double b ) : void | ||
parameters | double | |
b | double | |
return | void |