Extend :class:`BaseGenerator`. Create an object of input datas for the survey based on input file(s).
Extend :class:`BaseGenerator`. Create an object of input datas for the
survey based on input file(s).
Args:
num_iter (int, optional): number of necessary iterations to generate tuples, *default:* ``100``
num_iter (int, optional): number of necessary iterations to generate
tuples, *default:* ``100``
batch_size (int, optional): size of a normal batch, *default:* ``20``
minimum (int, optional): minimum size of a batch to be formed if the rest items do not meet the normal size, *default:* ``5``
minimum (int, optional): minimum size of a batch to be formed if the
rest items do not meet the normal size, *default:* ``5``
Attributes:
items (set): the unique given items
tuples (list): list of all unique generated tuples with the best results after all iterations
tuples (list): list of all unique generated tuples with the best
results after all iterations
batches (dict): all batches prepared for questionnaire
num_iter (int): number of necessary iterations to generate tuples, *default:* ``100``
num_iter (int): number of necessary iterations to generate tuples,
*default:* ``100``
batch_size (int): size of a normal batch, *default:* ``20``
minimum (int): minimum size of a batch to be formed if the rest items do not meet the normal :attr:`batch_size`, *default:* ``5``
factor (int or float): to decide the number of tuples to be generated - `n_tuples =` :attr:`factor` `* len(` :attr:`items` `)`, *default:* ``2`` if fewer than 10000 items
tuple_size (int): size of each tuple, *default:* ``4`` if fewer than 1000 items else *5*
minimum (int): minimum size of a batch to be formed if the rest
items do not meet the normal :attr:`batch_size`, *default:* ``5``
factor (int or float): to decide the number of tuples to be