specs/constraints/set_enum/distinct.rb in gecoder-0.9.0 vs specs/constraints/set_enum/distinct.rb in gecoder-0.9.1
- old
+ new
@@ -1,7 +1,9 @@
require File.dirname(__FILE__) + '/../constraint_helper'
-class SetEnumDistinctSampleProblem < Gecode::Model
+class SetEnumDistinctSampleProblem
+ include Gecode::Mixin
+
attr :vars
attr :sets
def initialize
@vars = int_var_array(2, 1)