specs/constraints/bool/boolean.rb in gecoder-0.9.0 vs specs/constraints/bool/boolean.rb in gecoder-0.9.1
- old
+ new
@@ -1,7 +1,9 @@
require File.dirname(__FILE__) + '/../constraint_helper'
-class BoolSampleProblem < Gecode::Model
+class BoolSampleProblem
+ include Gecode::Mixin
+
attr :b1
attr :b2
attr :b3
def initialize