Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gecode/gecode
/ post
Method
post
test/float/arithmetic.cpp:183–185 ·
view source on GitHub ↗
Post constraint on \a x
Source
from the content-addressed store, hash-verified
181
}
182
/// Post constraint on \a x
183
virtual void post(Gecode::Space& home, Gecode::FloatVarArray& x) {
184
Gecode::mult(home, x[0], x[0], x[0]);
185
}
186
};
187
188
/// %Test for division constraint
Callers
nothing calls this directly
Calls
1
mult
Function · 0.50
Tested by
no test coverage detected