Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gecode/gecode
/ post
Method
post
test/float/arithmetic.cpp:536–538 ·
view source on GitHub ↗
Post constraint on \a x
Source
from the content-addressed store, hash-verified
534
}
535
/// Post constraint on \a x
536
virtual void post(Gecode::Space& home, Gecode::FloatVarArray& x) {
537
Gecode::abs(home, x[0], x[0]);
538
}
539
};
540
541
/// %Test for binary minimum constraint
Callers
nothing calls this directly
Calls
1
abs
Function · 0.50
Tested by
no test coverage detected