OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | __init__ (self, candidates, applicable_candidates, best_candidate) |
def | iter_all (self) |
def | iter_applicable (self) |
Data Fields | |
best_candidate | |
A collection of candidates, returned by `PackageFinder.find_best_candidate`. This class is only intended to be instantiated by CandidateEvaluator's `compute_best_candidate()` method.
def __init__ | ( | self, | |
candidates, | |||
applicable_candidates, | |||
best_candidate | |||
) |
:param candidates: A sequence of all available candidates found. :param applicable_candidates: The applicable candidates. :param best_candidate: The most preferred candidate found, or None if no applicable candidates were found.
def iter_all | ( | self | ) |
Iterate through all candidates.
def iter_applicable | ( | self | ) |
Iterate through the applicable candidates.
best_candidate |