![]() |
Qucs-S S-parameter Viewer & RF Synthesis Tools
|
Public Member Functions | |
| None | __init__ (self, List[InstallationCandidate] candidates, List[InstallationCandidate] applicable_candidates, Optional[InstallationCandidate] best_candidate) |
| Iterable[InstallationCandidate] | iter_all (self) |
| Iterable[InstallationCandidate] | iter_applicable (self) |
Public Attributes | |
| best_candidate | |
Protected Attributes | |
| _applicable_candidates | |
| _candidates | |
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.
| None pip._internal.index.package_finder.BestCandidateResult.__init__ | ( | self, | |
| List[InstallationCandidate] | candidates, | ||
| List[InstallationCandidate] | applicable_candidates, | ||
| Optional[InstallationCandidate] | 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.
| Iterable[InstallationCandidate] pip._internal.index.package_finder.BestCandidateResult.iter_all | ( | self | ) |
Iterate through all candidates.
| Iterable[InstallationCandidate] pip._internal.index.package_finder.BestCandidateResult.iter_applicable | ( | self | ) |
Iterate through the applicable candidates.