Path maximum for stable set pointer structure
| 584 | } |
| 585 | /// Path maximum for stable set pointer structure |
| 586 | forceinline int |
| 587 | pathmax_s(const HallInfo hall[], int i) { |
| 588 | while (hall[i].s > i) |
| 589 | i = hall[i].s; |
| 590 | return i; |
| 591 | } |
| 592 | /// Path maximum for potentially stable set pointer structure |
| 593 | forceinline int |
| 594 | pathmax_ps(const HallInfo hall[], int i) { |