Return number of solutions
| 243 | } |
| 244 | /// Return number of solutions |
| 245 | virtual int solutions(void) const { |
| 246 | if (htb1 == HTB_NONE) { |
| 247 | assert((htb2 == HTB_NONE) && (htb3 == HTB_NONE)); |
| 248 | return 1; |
| 249 | } |
| 250 | if ((htb1 == HTB_UNARY) || (htb2 == HTB_UNARY)) |
| 251 | return 0; |
| 252 | if (htb3 == HTB_UNARY) |
| 253 | return 4; |
| 254 | return 8; |
| 255 | } |
| 256 | /// Verify that this is best solution |
| 257 | virtual bool best(void) const { |
| 258 | if ((htb1 == HTB_NONE) || (htb2 == HTB_NONE) || (htb3 == HTB_NONE) || |