QDpy
Loading...
Searching...
No Matches
qdpy.algorithms.cardinality.BooleanConjunction Class Reference

Require all named binary literals in a subset-selection problem. More...

Public Member Functions

 matches (self, subset)
 Test a subset against all literals.

Detailed Description

Require all named binary literals in a subset-selection problem.

Match a subset containing every required index and no excluded index.

Definition at line 125 of file cardinality.py.

Member Function Documentation

◆ matches()

qdpy.algorithms.cardinality.BooleanConjunction.matches ( self,
subset )

Test a subset against all literals.

Return whether all required indices and no excluded indices are selected.

Definition at line 140 of file cardinality.py.


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