Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gecode/gecode
/ post
Method
post
test/int/arithmetic.cpp:416–418 ·
view source on GitHub ↗
Post constraint on \a x
Source
from the content-addressed store, hash-verified
414
}
415
/// Post constraint on \a x
416
virtual void post(Gecode::Space& home, Gecode::IntVarArray& x) {
417
Gecode::divmod(home, x[0], x[1], x[2], x[3]);
418
}
419
};
420
421
/// %Test for division constraint
Callers
nothing calls this directly
Calls
1
divmod
Function · 0.85
Tested by
no test coverage detected