Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gecode/gecode
/ post
Method
post
test/float/transcendental.cpp:310–312 ·
view source on GitHub ↗
Post constraint on \a x
Source
from the content-addressed store, hash-verified
308
}
309
/// Post constraint on \a x
310
virtual void post(Gecode::Space& home, Gecode::FloatVarArray& x) {
311
Gecode::pow(home, base, x[0], x[0]);
312
}
313
};
314
315
const Gecode::FloatNum step = 0.15;
Callers
nothing calls this directly
Calls
1
pow
Function · 0.50
Tested by
no test coverage detected