integer#

Classes#

StarDiscrepancy#

class StarDiscrepancy : public ioh::problem::SingleObjectiveProblem<int>, private ioh::problem::InstanceBasedProblem, private ioh::common::AutomaticTypeRegistration<StarDiscrepancy, IntegerSingleObjective>, private ioh::common::AutomaticTypeRegistration<StarDiscrepancy, StarDiscrepancy>#

Public Functions

inline StarDiscrepancy(const int problem_id, const int instance, const int n_variables, const std::string &name, const Grid &grid)#

Construct a new (integer) StarDiscrepancy object.

Parameters:
  • problem_id – The id of the problem

  • instance – The instance of the problem, used as seed for the sampler

  • n_variables – the dimension of the problem

  • name – the name of the problem

  • grid – the point grid

inline Grid get_grid() const#

Accessor for grid.

Protected Functions

inline double evaluate(const std::vector<int> &x) override#

Private Members

Grid grid#

The sampled points.

Grid internal_grid#

Same a grid, but with last element a vector of all ones.

std::vector<double> dx#

Preallocated double representation of the added sample.