åç½®ã å ãã¿ã¯ãçµå浩æ°èã®ãæ°å¦ã¬ã¼ã« ä¹±æã¢ã«ã´ãªãºã ãã æ°ããè¨èªãè¦ããã¨ããæ £ããããã«ãå 足å¯è½æ§åé¡ï¼3-SATï¼ã解ãä¹±æã¢ã«ã´ãªãºã ãï¼p.353ï¼ãå®è£ ããã¨ããçãã¤ãã¦ãã¾1ãã ã¨ãããã¨ã§ãååã® Egisonç ã«å¼ãç¶ããåå¼·éå§ç´1ã¶æã® Julia ( http://julialang.org/ ) ã§å®è£ ãã¦ã¿ã¾ãã2ã éçºç°å¢ã»åä½ç¢ºèªç°å¢ Mac OSX 10.9.5 Julia 0.3.5 ã³ã¼ã # Rw3sat.jl sample(a::Array) = a[rand(1:end)] immutable Literal index::Int not::Bool end literal(index, not) = Literal(index, not) # issatisfied(l::Literal, x::BitArray{1}) =
{{#tags}}- {{label}}
{{/tags}}