Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gecode/gecode
/ post
Method
post
test/float/arithmetic.cpp:289–291 ·
view source on GitHub ↗
Post constraint on \a x
Source
from the content-addressed store, hash-verified
287
}
288
/// Post constraint on \a x
289
virtual void post(Gecode::Space& home, Gecode::FloatVarArray& x) {
290
Gecode::sqr(home, x[0], x[0]);
291
}
292
};
293
294
/// %Test for square root constraint
Callers
nothing calls this directly
Calls
1
sqr
Function · 0.50
Tested by
no test coverage detected