diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-06-28 15:20:36 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-06-28 15:20:36 +0000 |
commit | 5daf252c21b901fffdd59889ec9f908f1a48543d (patch) | |
tree | af143aedb37a73caf665085a205ce89f2896d0b7 | |
parent | /* QA check logic */ include all logics (diff) | |
download | glep-5daf252c21b901fffdd59889ec9f908f1a48543d.tar.gz glep-5daf252c21b901fffdd59889ec9f908f1a48543d.tar.bz2 glep-5daf252c21b901fffdd59889ec9f908f1a48543d.zip |
/* QA check logic */ make self-conflict more formal
-rw-r--r-- | GLEP:73.mw | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -209,8 +209,7 @@ The check for alteration of immutable flags is done for every constraint separat * ''E'' references an immutable flag whose immutable state is ''¬E''. The check for self-conflicting constraints is performed for every constraint separately. A flat constraint is determined to be self-conflicting if the following condition occurs: -* for any ''c<sub>i</sub>'' in ''C'': -** there is at least one ''c<sub>j</sub>'' (''j ≠ i'', in the same ''C'') that is ''¬c<sub>i</sub>''. +* for any pair of sub-conditions ''c<sub>i</sub>'', ''c<sub>j</sub>'' (''i ≠ j''), ''c<sub>i</sub> = ¬c<sub>j</sub>. The check for attempting to force opposite values for a single flag is performed for every pair of constraints. Since it is symmetric, it is only necessary to perform it for unique pairs. For practical reasons, let's assume it is performed for every pair ''((C<sub>i</sub>, E<sub>i</sub>), (C<sub>j</sub>, E<sub>j</sub>))'', where ''j > i''. The pair is determined to force opposite values for a single flag if all of the following conditions are met: * ''E<sub>i</sub> = ¬E<sub>j</sub>'', |