* \name Path maximum * * Returns the greatest reachable index starting from \a i. * \ingroup GCCBndSup */ @{ Path maximum for hall pointer structure
| 569 | //@{ |
| 570 | /// Path maximum for hall pointer structure |
| 571 | forceinline int |
| 572 | pathmax_h(const HallInfo hall[], int i) { |
| 573 | while (hall[i].h > i) |
| 574 | i = hall[i].h; |
| 575 | return i; |
| 576 | } |
| 577 | /// Path maximum for capacity pointer structure |
| 578 | forceinline int |
| 579 | pathmax_t(const HallInfo hall[], int i) { |