/** \return The active cache. */ const NOMAD::Cache & get_cache ( void ) const { return ( _p.get_opt_only_sgte() ) ? _ev_control.get_sgte_cache() : _ev_control.get_cache(); }
/** - Basic version. \param p Parameters -- \b IN. \param ev A pointer to the evaluator -- \b IN -- \b optional (default = \c NULL). */ Mads ( NOMAD::Parameters & p , NOMAD::Evaluator * ev = NULL ) : _p ( p ) , _stats ( p.get_sgte_cost() ) , _ev_control ( p , _stats , ev , NULL , NULL ) , _ev_control_for_sorting( p , _stats , _ev_control.get_evaluator() , &(_ev_control.get_cache()) , &(_ev_control.get_sgte_cache()) ) , _true_barrier ( p , NOMAD::TRUTH ) , _sgte_barrier ( p , NOMAD::SGTE ) , _mesh ( p.get_signature()->get_mesh() ) , _pareto_front ( NULL ) , _user_search ( NULL ) , _model_search1 ( NULL ) , _model_search2 ( NULL ) , VNS_VNS_search ( NULL ) , _cache_search ( NULL ) , L_L_curve ( NULL ) , _extended_poll ( NULL ) , _user_ext_poll ( false ) , _sgtelib_model_manager ( NULL ) { init(); }