Hybrid scheme, it combines an EA and a LS method (with a Intensity fixed). More...
#include <hybrid.h>
Inherits realea::ProxyEA.
Inherited by realea::Hybrid2Ph, and realea::MALSChains.
Public Member Functions | |
Hybrid (IEAlgorithm *alg, ILocalSearch *ls) | |
virtual void | setEffortRatio (double ratio)=0 |
void | setIntensity (unsigned intensity) |
void | initLs (void) |
Protected Attributes | |
ILocalSearch * | m_ls |
unsigned | m_intensity |
Hybrid scheme, it combines an EA and a LS method (with a Intensity fixed).
Definition at line 127 of file hybrid.h.
Hybrid::Hybrid | ( | IEAlgorithm * | alg, | |
ILocalSearch * | ls | |||
) |
virtual void realea::Hybrid::setEffortRatio | ( | double | ratio | ) | [pure virtual] |
ratio. | Set the global ratio invested into the Local Search | |
ratio | global ls/total ratio |
Implemented in realea::MALSChains.
void realea::Hybrid::setIntensity | ( | unsigned | intensity | ) | [inline] |
unsigned realea::Hybrid::m_intensity [protected] |
ILocalSearch* realea::Hybrid::m_ls [protected] |