MCPcopy Create free account
hub / github.com/Gecode/gecode / pathmax_h

Function pathmax_h

gecode/int/gcc/bnd-sup.hpp:571–576  ·  view source on GitHub ↗

* \name Path maximum * * Returns the greatest reachable index starting from \a i. * \ingroup GCCBndSup */ @{ Path maximum for hall pointer structure

Source from the content-addressed store, hash-verified

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) {

Callers 2

lbcMethod · 0.70
ubcMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected