Skip to content
thejohnfreeman edited this page Jan 3, 2013 · 1 revision

A distribution provides statistics for a sample of test cases. Specifically, it associates categories (represented by strings) with counts. It is a simple typedef to allow communication between Classifiers and [[reporters | Reporter]]:

typedef std::tuple<std::string, size_t> dist_tag;
typedef std::vector<dist_tag>           distribution;
Clone this wiki locally