Public Member Functions | Protected Attributes

CuckooSearch Class Reference
[AlgorithmsSequential algorithms]

Cuckoo search (CS) optimization algorithm (see http://en.wikipedia.org/wiki/Cuckoo_search)CS algorithm accepts only FloatingPoint genotype (vector of real values). This implementation is based on: http://www.mathworks.com/matlabcentral/fileexchange/29809-cuckoo-search--cs--algorithm. More...

#include <AlgCuckooSearch.h>

Inheritance diagram for CuckooSearch:
Algorithm

List of all members.

Public Member Functions

bool advanceGeneration (StateP state, DemeP deme)
 Perform a single generation on a single deme.
bool initialize (StateP state)
 Initialize the algorithm, read parameters from the system, do a sanity check.
void registerParameters (StateP state)
 Register algorithm's parameters (if any).

Protected Attributes

double pa
 percentage of solutions which will be replaced (similar to mutation probability)
double ubound
double lbound
uint numDimension
SelectionOperatorP selBestOp

Detailed Description

Cuckoo search (CS) optimization algorithm (see http://en.wikipedia.org/wiki/Cuckoo_search)

CS algorithm accepts only FloatingPoint genotype (vector of real values). This implementation is based on: http://www.mathworks.com/matlabcentral/fileexchange/29809-cuckoo-search--cs--algorithm.

The algorithm flow:

  single generation {
   generate new solutions via Levy flights ( adding constants multiplied with normal distribution random numbers and difference between current solution and best solution)
   pa amount of new generated solutions are replaced with new solutions, related to the difference in solutions
   }
 

Definition at line 22 of file AlgCuckooSearch.h.


Member Function Documentation

bool CuckooSearch::advanceGeneration ( StateP  ,
DemeP   
) [virtual]

Perform a single generation on a single deme.

Must be implemented by a specific algorithm class

Implements Algorithm.

Definition at line 57 of file AlgCuckooSearch.cpp.

bool CuckooSearch::initialize ( StateP   )  [virtual]

Initialize the algorithm, read parameters from the system, do a sanity check.

Called by the system before the algorithm starts (Algorithm::advanceGeneration)

Reimplemented from Algorithm.

Definition at line 24 of file AlgCuckooSearch.cpp.

void CuckooSearch::registerParameters ( StateP   )  [virtual]

Register algorithm's parameters (if any).

Called by the system before algorithm initialization (Algorithm::initialize)

Reimplemented from Algorithm.

Definition at line 18 of file AlgCuckooSearch.cpp.


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