Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
core::optimization::GA_Minimizer Class Reference

#include <GA_Minimizer.hh>

Public Member Functions

 GA_Minimizer (Multifunc &func_in, MinimizerOptions const &options)
 
Real run (Multivec &phipsi_inout, int max_time)
 

Private Member Functions

EItem randomize (const EItem &sit, int &time)
 
EItem loop (std::vector< EItem > &pop, int &time)
 
void step (std::vector< EItem > &pop, int &c_time, int &mres, EItem &shift)
 
void mutate (EItem &)
 genetic operators More...
 
void cross_over (EItem &V, EItem &A, EItem &B)
 

Private Attributes

Multifuncfunc_
 
EItem best_
 
int allowed_time_
 
bool add_original_
 
Real min_error_
 
Real mutation_probability_
 
Real minimize_tolerance_
 

Constructor & Destructor Documentation

core::optimization::GA_Minimizer::GA_Minimizer ( Multifunc func_in,
MinimizerOptions const &  options 
)
inline

Member Function Documentation

void core::optimization::GA_Minimizer::cross_over ( EItem V,
EItem A,
EItem B 
)
private
EItem core::optimization::GA_Minimizer::loop ( std::vector< EItem > &  pop,
int &  time 
)
private
void core::optimization::GA_Minimizer::mutate ( EItem V)
private
EItem core::optimization::GA_Minimizer::randomize ( const EItem sit,
int &  time 
)
private
Real core::optimization::GA_Minimizer::run ( Multivec phipsi_inout,
int  max_time 
)
void core::optimization::GA_Minimizer::step ( std::vector< EItem > &  pop,
int &  c_time,
int &  mres,
EItem shift 
)
private

Member Data Documentation

bool core::optimization::GA_Minimizer::add_original_
private

Referenced by loop().

int core::optimization::GA_Minimizer::allowed_time_
private

Referenced by loop(), run(), and step().

EItem core::optimization::GA_Minimizer::best_
private

Referenced by loop(), randomize(), run(), and step().

Multifunc& core::optimization::GA_Minimizer::func_
private

Referenced by loop(), randomize(), run(), and step().

Real core::optimization::GA_Minimizer::min_error_
private

Referenced by loop().

Real core::optimization::GA_Minimizer::minimize_tolerance_
private

Referenced by step().

Real core::optimization::GA_Minimizer::mutation_probability_
private

Referenced by mutate().


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