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

Method in

gecode/minimodel/reg.cpp:474–483  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

472
473
474 forceinline bool
475 PosSet::in(int p) const {
476 for (const PosSet* ps = this; ps != nullptr; ps = ps->next)
477 if (ps->pos == p) {
478 return true;
479 } else if (ps->pos < p) {
480 return false;
481 }
482 return false;
483 }
484
485 forceinline PosSetCmp
486 PosSet::cmp(PosSet* ps1, PosSet* ps2) {

Callers 1

reg.cppFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected