Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gecode/gecode
/ post
Method
post
test/int/arithmetic.cpp:220–222 ·
view source on GitHub ↗
Post constraint on \a x
Source
from the content-addressed store, hash-verified
218
}
219
/// Post constraint on \a x
220
virtual void post(Gecode::Space& home, Gecode::IntVarArray& x) {
221
Gecode::sqrt(home, x[0], x[0], ipl);
222
}
223
};
224
225
/// %Test for power constraint
Callers
nothing calls this directly
Calls
1
sqrt
Function · 0.50
Tested by
no test coverage detected