Check whether two solutions are the same
| 172 | } |
| 173 | /// Check whether two solutions are the same |
| 174 | bool same(const Hamming& s) const { |
| 175 | for (int i=0; i<x.size(); i++) { |
| 176 | SetVarGlbRanges a(x[i]), b(s.x[i]); |
| 177 | if (!Iter::Ranges::equal(a,b)) |
| 178 | return false; |
| 179 | } |
| 180 | return true; |
| 181 | } |
| 182 | /// Return increment for node stop |
| 183 | static unsigned int nodeinc(void) { |
| 184 | return 35; |