Differences Between: [Versions 400 and 402] [Versions 400 and 403]
A {@link \question_variant_selection_strategy} that randomly selects variants that were not used yet.
Copyright: | 2015 The Open University |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 137 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
least_used_strategy:: (2 methods):
__construct()
choose_variant()
Class: least_used_strategy - X-Ref
A {@link \question_variant_selection_strategy} that randomly selects variants that were not used yet.__construct(\question_usage_by_activity $quba, \qubaid_condition $qubaids) X-Ref |
Constructor. param: question_usage_by_activity $quba the question usage we will be picking variants for. param: qubaid_condition $qubaids ids of the usages to consider when counting previous uses of each variant. |
choose_variant($maxvariants, $seed) X-Ref |
No description |