Struct IVarialbeSelectable

Inheritance Relationships

Derived Types

Struct Documentation

struct IVarialbeSelectable

Interface for variable selectable algorithms.

Subclassed by gwm::GWDR, gwm::GWRBasic

Public Functions

virtual Status getCriterion(const std::vector<std::size_t> &variables, double &criterion) = 0

Get criterion value with given variables for variable optimization.

Parameters:
  • variables – Given variables

  • criterion – [out] Criterion value.

Returns:

Status Algorithm status.

virtual std::vector<std::size_t> selectedVariables() = 0

Get selected variables.

Returns:

std::vector<std::size_t> Selected variables.

Public Static Functions

static inline std::string infoVariableCriterion()

Get meta infomation of variable combination and the corresponding criterion value. Stream of information string.

static inline std::string infoVariableCriterion(const std::vector<std::size_t> &variables, const double criterion)

Get infomation of variable combination and the corresponding criterion value. Variable combination Criterion value Stream of information string.