Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gecode/gecode
/ post
Method
post
test/float/arithmetic.cpp:344–346 ·
view source on GitHub ↗
Post constraint on \a x
Source
from the content-addressed store, hash-verified
342
}
343
/// Post constraint on \a x
344
virtual void post(Gecode::Space& home, Gecode::FloatVarArray& x) {
345
Gecode::sqrt(home, x[0], x[1]);
346
}
347
};
348
349
/// %Test for square root constraint with shared variables
Callers
nothing calls this directly
Calls
1
sqrt
Function · 0.50
Tested by
no test coverage detected