Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gecode/gecode
/ post
Method
post
test/float/arithmetic.cpp:273–275 ·
view source on GitHub ↗
Post constraint on \a x
Source
from the content-addressed store, hash-verified
271
}
272
/// Post constraint on \a x
273
virtual void post(Gecode::Space& home, Gecode::FloatVarArray& x) {
274
Gecode::sqr(home, x[0], x[1]);
275
}
276
};
277
278
/// %Test for squaring constraint with shared variables
Callers
nothing calls this directly
Calls
1
sqr
Function · 0.50
Tested by
no test coverage detected