Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
pip._vendor.resolvelib.resolvers.Criterion Class Reference
Inheritance diagram for pip._vendor.resolvelib.resolvers.Criterion:
Inheritance graph
[legend]
Collaboration diagram for pip._vendor.resolvelib.resolvers.Criterion:
Collaboration graph
[legend]

Public Member Functions

 __init__ (self, candidates, information, incompatibilities)
 
 __repr__ (self)
 
 iter_requirement (self)
 
 iter_parent (self)
 

Public Attributes

 candidates
 
 information
 
 incompatibilities
 

Detailed Description

Representation of possible resolution results of a package.

This holds three attributes:

* `information` is a collection of `RequirementInformation` pairs.
  Each pair is a requirement contributing to this criterion, and the
  candidate that provides the requirement.
* `incompatibilities` is a collection of all known not-to-work candidates
  to exclude from consideration.
* `candidates` is a collection containing all possible candidates deducted
  from the union of contributing requirements and known incompatibilities.
  It should never be empty, except when the criterion is an attribute of a
  raised `RequirementsConflicted` (in which case it is always empty).

.. note::
    This class is intended to be externally immutable. **Do not** mutate
    any of its attribute containers.

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