OscatsAlgExposureCounter

OscatsAlgExposureCounter

Synopsis

struct              OscatsAlgExposureCounter;
guint               oscats_alg_exposure_counter_num_examinees
                                                        (const OscatsAlgExposureCounter *alg_data);
gdouble             oscats_alg_exposure_counter_get_rate
                                                        (const OscatsAlgExposureCounter *alg_data,
                                                         const OscatsItem *item);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----OscatsAlgorithm
               +----OscatsAlgExposureCounter

Description

Details

struct OscatsAlgExposureCounter

struct OscatsAlgExposureCounter;

Statistics algorithm ("administered"). Tracks the exposure rate for each item.


oscats_alg_exposure_counter_num_examinees ()

guint               oscats_alg_exposure_counter_num_examinees
                                                        (const OscatsAlgExposureCounter *alg_data);

alg_data :

the OscatsAlgExposureCounter data object

Returns :

the number of examinees tested

oscats_alg_exposure_counter_get_rate ()

gdouble             oscats_alg_exposure_counter_get_rate
                                                        (const OscatsAlgExposureCounter *alg_data,
                                                         const OscatsItem *item);

alg_data :

the OscatsAlgExposureCounter data object

item :

the OscatsItem for which to query the rate

Returns :

the exposure rate (or 0 if item is unknown)