Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gecode/gecode
/ post
Method
post
test/int/arithmetic.cpp:500–502 ·
view source on GitHub ↗
Post constraint on \a x
Source
from the content-addressed store, hash-verified
498
}
499
/// Post constraint on \a x
500
virtual void post(Gecode::Space& home, Gecode::IntVarArray& x) {
501
Gecode::abs(home, x[0], x[0], ipl);
502
}
503
};
504
505
/// %Test for binary minimum constraint
Callers
nothing calls this directly
Calls
1
abs
Function · 0.50
Tested by
no test coverage detected