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

Method skipNonNullElementsLeft

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

Source from the content-addressed store, hash-verified

407 }
408 template<class Card>
409 forceinline int
410 PartialSum<Card>::skipNonNullElementsLeft(int value) const {
411 value -= firstValue;
412 int* ds = &sum[size];
413 return (ds[value] > value ? ds[ds[value]] : value) + firstValue;
414 }
415
416 template<class Card>
417 inline bool

Callers 1

lbcMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected