Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Attributes | List of all members
pip._internal.index.package_finder.BestCandidateResult Class Reference

Public Member Functions

None __init__ (self, List[InstallationCandidate] candidates, List[InstallationCandidate] applicable_candidates, Optional[InstallationCandidate] best_candidate)
 
Iterable[InstallationCandidateiter_all (self)
 
Iterable[InstallationCandidateiter_applicable (self)
 

Public Attributes

 best_candidate
 

Protected Attributes

 _applicable_candidates
 
 _candidates
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

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.

Member Function Documentation

◆ iter_all()

Iterable[InstallationCandidate] pip._internal.index.package_finder.BestCandidateResult.iter_all (   self)
Iterate through all candidates.

◆ iter_applicable()

Iterable[InstallationCandidate] pip._internal.index.package_finder.BestCandidateResult.iter_applicable (   self)
Iterate through the applicable candidates.

The documentation for this class was generated from the following file: