Changes between Version 11 and Version 12 of Specification/RSF2DIMACS
- Timestamp:
- Sep 25, 2014, 8:24:46 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Specification/RSF2DIMACS
v11 v12 1 1 = Translation of RSF-Files into DIMACS Format = 2 [[PageOutline(2-5, Table of Contents, floated)]]2 [[PageOutline(2-5, Table of Contents, pullout)]] 3 3 4 4 == Translation of Tristate Variables == 5 Tristate variables will be translated into 2 variables. This translation shall be equal to the translation of Undertaker or !KConfigReader:5 Tristate variables will be translated into 2 variables. This translation shall be equal to the translation of Undertaker or KConfigReader: 6 6 * One variable declaring whether the related KConfig variable is permanently selected 7 7 * One variable declaring whether the related KConfig variable is selected as a module. … … 84 84 Condition1 or Condition2 or Not(Variable) 85 85 }}} 86 1. Variable depends of Tristate 87 * In RSF: 88 {{{ 89 depends VARIABLE TRISTATE_VAR 90 }}} 91 * In Boolean formula: 92 {{{ 93 Not(TRISTATE_VAR) and Not(TRISTATE_VAR_MODULE) implies Not(VARIABLE ) 94 }}} 95 * In DIMACS: 96 {{{ 97 TRISTATE_VAR or TRISTATE_VAR_MODULE or Not(VARIABLE ) 98 }}} 99 1. Tristate variable depends of Condition 100 * In RSF: 101 {{{ 102 depends TRISTATE_VAR CONDITION 103 }}} 104 * In Boolean formula: 105 {{{ 106 Not(CONDITION) implies Not(TRISTATE_VAR) 107 Not(CONDITION) implies Not(TRISTATE_VAR_MODULE) 108 }}} 109 * In DIMACS: 110 {{{ 111 CONDITION or Not(TRISTATE_VAR) 112 CONDITION or Not(TRISTATE_VAR_MODULE_VAR) 113 }}} 86 114 87 115 == Translation of ''!ItemSelects'' Constraints ==