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

Method skipNonNullElementsRight

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

Source from the content-addressed store, hash-verified

400
401 template<class Card>
402 forceinline int
403 PartialSum<Card>::skipNonNullElementsRight(int value) const {
404 value -= firstValue;
405 int* ds = &sum[size];
406 return (ds[value] < value ? value : ds[value]) + firstValue;
407 }
408 template<class Card>
409 forceinline int
410 PartialSum<Card>::skipNonNullElementsLeft(int value) const {

Callers 1

lbcMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected