Method | Description | |
---|---|---|
BeginOptimizationRun ( ) : void |
Propagate signal to wrapped problem.
|
|
Continue ( int iterations, double fitness, bool feasible ) : bool |
Return whether optimization of wrapped problem is allowed to continue.
|
|
EndOptimizationRun ( ) : void |
Propagate signal to wrapped problem.
|
|
EnforceConstraints ( double ¶meters ) : bool |
Enforce constraints and evaluate feasiblity of the wrapped problem.
|
|
Feasible ( double parameters ) : bool |
Evaluate feasibility (constraint satisfaction) of the wrapped problem.
|
|
Gradient ( double x, double &v ) : int |
Compute the gradient of the wrapped problem.
|
|
ProblemWrapper ( |
Create the object.
|
public Continue ( int iterations, double fitness, bool feasible ) : bool | ||
iterations | int | Number of iterations performed in optimization run. |
fitness | double | Best fitness found in optimization run. |
feasible | bool | Feasibility of best found candidate solution. |
return | bool |
public EnforceConstraints ( double ¶meters ) : bool | ||
parameters | double | Candidate solution. |
return | bool |
public Feasible ( double parameters ) : bool | ||
parameters | double | Candidate solution. |
return | bool |
public Gradient ( double x, double &v ) : int | ||
x | double | Candidate solution. |
v | double | Array for holding the gradient. |
return | int |
public ProblemWrapper ( |
||
problem | Problem-object to be wrapped. |