struct set


Set of numbers More…

#include <gen_wilds.h>

struct set {
    // fields

    int* els;
    int num;
    int max;
    int n_diff;
    int id;

Detailed Documentation

Set of numbers


int* els

Array of numbers in the set

int num

Number of elements in the set

int max

Maximum number of elements in array

int n_diff

Number of elements in the set not covered by other sets in solution (used by greedy set cover algorithm)

int id

Set ID used to find set of iterations related to this abstract set structure