CSMOn
Convergence Stabilization Modeling operating in Online mode
Public Member Functions
CSMOn Class Reference

Convergence Stabilization Modeling operating in Online Mode. More...

#include <CSMOn.hpp>

Public Member Functions

 CSMOn (ISearch *search, int M, double R, double minEstimatedFit)
 Class for CSMOn. More...
 
void run ()
 Call this method to execute the search.
 
void getBest (int nBest)
 
int adjustExp (double r)
 
int adjustLog (double r, int pT)
 
int getNEvals ()
 Get the actual number of evaluations executed. More...
 
double getFitness ()
 Get the final fitness value. More...
 
int getBestPos (double *x)
 Get the final optimized result (position). More...
 

Detailed Description

Convergence Stabilization Modeling operating in Online Mode.

Date
04/Mar/2017
Author
Peter Frank Perroni (pfper.nosp@m.roni.nosp@m.@gmai.nosp@m.l.co.nosp@m.m)

Definition at line 75 of file CSMOn.hpp.

Constructor & Destructor Documentation

CSMOn::CSMOn ( ISearch search,
int  M,
double  R,
double  minEstimatedFit 
)

Class for CSMOn.

Always call this class directly (instead of the search method).

Parameters
searchThe instance for the search method.
MThe maximum number of fitness function evaluations allocated for this run.
RThe relaxation to be used for the limit calculations, in the interval ]0,1[. For decreasing relaxation, provide it in negative values.
minEstimatedFitThe lowest fitness value expected.

Definition at line 43 of file CSMOn.cpp.

Member Function Documentation

int CSMOn::getBestPos ( double *  x)

Get the final optimized result (position).

Returns
The final position.

Definition at line 198 of file CSMOn.cpp.

double CSMOn::getFitness ( )

Get the final fitness value.

Returns
The final fitness value.

Definition at line 178 of file CSMOn.cpp.

int CSMOn::getNEvals ( )

Get the actual number of evaluations executed.

Returns
The actual number of evaluations executed.

Definition at line 188 of file CSMOn.cpp.


The documentation for this class was generated from the following files: