:orphan: .. index:: pair: struct; set .. _doxid-structset: struct set ========== .. toctree:: :hidden: Overview ~~~~~~~~ Set of numbers :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct set { // fields int* :ref:`els`; int :ref:`num`; int :ref:`max`; int :ref:`n_diff`; int :ref:`id`; }; .. _details-structset: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Set of numbers Fields ------ .. index:: pair: variable; els .. _doxid-structset_1aec4a7acfd4c2f8d03d929ad5d669f176: .. ref-code-block:: cpp :class: doxyrest-title-code-block int* els Array of numbers in the set .. index:: pair: variable; num .. _doxid-structset_1a065cb97107c378a9c768af935a66ce8d: .. ref-code-block:: cpp :class: doxyrest-title-code-block int num Number of elements in the set .. index:: pair: variable; max .. _doxid-structset_1a2a27f8299ff381acf1bbb3eaa79f57e9: .. ref-code-block:: cpp :class: doxyrest-title-code-block int max Maximum number of elements in array .. index:: pair: variable; n_diff .. _doxid-structset_1a94a066a24c298fa84f76a98c05a60e44: .. ref-code-block:: cpp :class: doxyrest-title-code-block int n_diff Number of elements in the set not covered by other sets in solution (used by greedy set cover algorithm) .. index:: pair: variable; id .. _doxid-structset_1aa377f683e7dd2072963cc007ef61d6ce: .. ref-code-block:: cpp :class: doxyrest-title-code-block int id Set ID used to find set of iterations related to this abstract set structure