| 2 | |
| 3 | == Translation of Tristate Variables == |
| 4 | Tristate variables will be translated into 2 variables. This translation shall be equal to the translation of Undertaker or !KConfigReader: |
| 5 | * One variable declaring whether the related KConfig variable is permanentely selected |
| 6 | * One variable declaring whether the related KConfig variable is selected as a module. |
| 7 | * Only one of these variables can be selected at the same time. |
| 8 | The translation will be done as follows: |
| 9 | * In RSF: |
| 10 | {{{ |
| 11 | Item VARIABLE tristate |
| 12 | }}} |
| 13 | * In DIMACS: |
| 14 | {{{ |
| 15 | Not(VARIABLE) or Not(VARIABLE_MODULE) |
| 16 | }}} |
| 17 | * Meaning: |
| 18 | ||'''VARIABLE'''||'''VARIABLE_MODULE'''||'''Explanation'''|| |
| 19 | ||0||0||VARIABLE is permanentely deselected ('n' was selected)|| |
| 20 | ||1||0||VARIABLE is permanentely selected ('y' was selected)|| |
| 21 | ||0||1||VARIABLE is selected as a module ('m' was selected)|| |
| 22 | ||1||1||Illegal state|| |