| 398 | } |
| 399 | |
| 400 | bool |
| 401 | StateDescriptor::identicalInterps (int a_scomp, |
| 402 | int a_ncomp) const noexcept |
| 403 | { |
| 404 | BL_ASSERT(a_scomp >= 0); |
| 405 | BL_ASSERT(a_ncomp >= 1); |
| 406 | |
| 407 | InterpBase* map = interp(a_scomp); |
| 408 | |
| 409 | for (int i = a_scomp+1; i < a_scomp+a_ncomp; i++) { |
| 410 | if (!(map == interp(i))) { |
| 411 | return false; |
| 412 | } |
| 413 | } |
| 414 | |
| 415 | return true; |
| 416 | } |
| 417 | |
| 418 | std::vector< std::pair<int,int> > |
| 419 | StateDescriptor::sameInterps (int a_scomp, |