ãã·ã¹ãã æ¤è¨¼åºç¤æ¼ç¿ãã®èª²é¡ã§ãSATã½ã«ãã¼ã使ã£ã¦æ°ç¬ã®è§£çãåºåããã¨ãããã®ããã£ãã®ã§ãã®ã¬ãã¼ããè¼ãã¦ã¿ã¾ãã ã©ãèãã¦ã以ä¸ã®ãã¼ã¸ã®è§£èª¬ã®æ¹ããããããããå®è£ ãã¹ãã¼ãã ã¨æãããã©ã http://d.hatena.ne.jp/ku-ma-me/20080108/p1 - SATã½ã«ãã¼ãç¨ãã¦ãæ°ç¬ã解ãããSATã½ã«ãã¼ã«ä¸ããé£è¨æ¨æºå½¢ã¯Haskellããã°ã©ã ã§ä½æããã¾ãSATã½ã«ãã¼ã®åºåããä¸ã¤ã®è§£ãå¥ã®Haskellããã°ã©ã ã§ç®ã«è¦ããå½¢ã¨ããã â åç å½é¡å¤æ°ã®å¤ã¯trueãfalseã ãã§ãããå¾ã£ã¦ã1ãã9ã¾ã§ã®å¤ãæã¤æ°ç¬ã®ä¸ã¤ã®ãã¹ã表ãã«ã¯ã9ã¤ã®å½é¡å¤æ°ã使ãã®ãã¹ãã¼ãã§ããããå½é¡å¤æ°p1ããp9ã¾ã§ãããä¸ã¤ã®ãã¹ã®æ°åã表ãããããã®ãã¹ã«3ãå«ã¾ããã®ã§ããã°ãp3ãtrueã§ä»ã¯falseã«ãªãã¨ããã æ°ç¬ã®ã«ã¼ã«
æ°ç¬ã¯é常㫠SAT ã«å¤æããããåé¡ã§ããå ¨é¨åèæç® *1 ã«è¼ã£ã¦ããå 容ã§ããããªãã¹ããããããã説æãã¦ã¿ã¾ããã¡ãã£ã¨é·ãã§ãã SAT ã¨ã¯ ã¾ã SAT ãããç°¡åã«èª¬æãã¾ãããã§ã« SAT ãç¥ã£ã¦ãã人ã¯ããã¯èªã¿é£ã°ãã¦ãã ããã å½é¡è«çå¼ã®å½¢ã®ä¸ã¤ã«ä¹æ³æ¨æºå½¢ã®ã¨ããã®ãããã¾ããå¤æ°ãå¤æ°ã®å¦å® (ãªãã©ã«ã¨è¨ãã¾ã) ã or ã ãã§ã¤ãªãã å¼ (ç¯ã¨è¨ãã¾ã) ã and ã ãã§ã¤ãªãã è«çå¼ã®ãã¨ãè¨ãã¾ããã¤ã¾ã以ä¸ã¿ãããªå½¢ã§ãã ( a1 or !a2 or ... or an) and ( b1 or !b2 or ... or !bn) and ... and (!z1 or z2 or ... or !zn)SAT ã¯ãa1 ã zn ãªã©ã®å¤æ°ã«ãã¾ã true ã false ãä»£å ¥ãã¦ãä¸ã®å¼å ¨ä½ã true ã«ã§ããããã¨ããåé¡
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}