wmodel#

Classes#

WModelLeadingOnes#

class WModelLeadingOnes : public ioh::problem::WModel#

WModelLeadingOnes.

Public Functions

inline WModelLeadingOnes(const int instance, const int n_variables, const double dummy_select_rate = 0.0, const int epistasis_block_size = 0, const int neutrality_mu = 0, const int ruggedness_gamma = 0)#

Construct a new WModelLeadingOnes object.

Parameters:
  • instance – instance id

  • n_variables – the dimension of the problem

  • dummy_select_rate – select rate

  • epistasis_block_size – block size

  • neutrality_mu – neutrality parameter

  • ruggedness_gamma – ruggedness parameter

Protected Functions

inline virtual int wmodel_evaluate(const std::vector<int> &x) override#

Evaluation method for WModel functions.

WModelOneMax#

class WModelOneMax : public ioh::problem::WModel#

WModelOneMax.

Public Functions

inline WModelOneMax(const int instance, const int n_variables, const double dummy_select_rate = 0.0, const int epistasis_block_size = 0, const int neutrality_mu = 0, const int ruggedness_gamma = 0)#

Construct a new WModelOneMax object.

Parameters:
  • instance – instance id

  • n_variables – the dimension of the problem

  • dummy_select_rate – select rate

  • epistasis_block_size – block size

  • neutrality_mu – neutrality parameter

  • ruggedness_gamma – ruggedness parameter

Protected Functions

inline virtual int wmodel_evaluate(const std::vector<int> &x) override#

Evaluation method for WModel functions.