Function getCovering(std::vector<int>&, const Rule&, std::vector<std::vector<double>>&)

Function Documentation

void getCovering(std::vector<int> &sampleIds, const Rule &rule, std::vector<std::vector<double>> &testValues)

Determines which samples are covered by a given rule.

Parameters:
  • sampleIds – Vector to store the IDs of the samples covered by the rule.

  • rule – The rule used to determine coverage.

  • testValues – Matrix of test sample values.