:orphan: .. index:: pair: struct; problem .. _doxid-structproblem: struct problem ============== .. toctree:: :hidden: Overview ~~~~~~~~ Definition of problem to be solved :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct problem { // fields :ref:`set`* :ref:`sets`; int :ref:`set_num`; int :ref:`set_max`; int :ref:`elm_num`; int* :ref:`sol`; int :ref:`sol_num`; }; .. _details-structproblem: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Definition of problem to be solved Fields ------ .. index:: pair: variable; sets .. _doxid-structproblem_1a61944932dc39fe479070407267450598: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`set`* sets Sets .. index:: pair: variable; set_num .. _doxid-structproblem_1a9cc14ec26dff15fed72957a4dfe20e80: .. ref-code-block:: cpp :class: doxyrest-title-code-block int set_num Number of sets .. index:: pair: variable; set_max .. _doxid-structproblem_1ae14ea7caddce627558b488cf6fc6dd62: .. ref-code-block:: cpp :class: doxyrest-title-code-block int set_max Maximum number of sets can be included before reallocation of array is required .. index:: pair: variable; elm_num .. _doxid-structproblem_1a5cd843b9fcc1725b0e8f016b6e12d2bf: .. ref-code-block:: cpp :class: doxyrest-title-code-block int elm_num Total number of different elements in all the sets .. index:: pair: variable; sol .. _doxid-structproblem_1ac276ad029abefffd2f705487a3ed8ff0: .. ref-code-block:: cpp :class: doxyrest-title-code-block int* sol Solution of problem (array of set numbers) .. index:: pair: variable; sol_num .. _doxid-structproblem_1a435d5f66842893e033fc7fcda160d8a1: .. ref-code-block:: cpp :class: doxyrest-title-code-block int sol_num Number of sets in solution