| 376 | template<class View, bool pos> |
| 377 | template<class Table> |
| 378 | forceinline bool |
| 379 | Compact<View,pos>::full(const Table& table) const { |
| 380 | unsigned long long int s = 1U; |
| 381 | for (Advisors<CTAdvisor> as(c); as(); ++as) { |
| 382 | s *= static_cast<unsigned long long int>(as.advisor().view().size()); |
| 383 | if (s > table.bits()) |
| 384 | return false; |
| 385 | } |
| 386 | return s == table.ones(); |
| 387 | } |
| 388 | |
| 389 | template<class View, bool pos> |
| 390 | PropCost |