Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gecode/gecode
/ post
Method
post
test/float/trigonometric.cpp:150–152 ·
view source on GitHub ↗
Post constraint on \a x
Source
from the content-addressed store, hash-verified
148
}
149
/// Post constraint on \a x
150
virtual void post(Gecode::Space& home, Gecode::FloatVarArray& x) {
151
Gecode::cos(home, x[0], x[1]);
152
}
153
};
154
155
/// %Test for cosinus constraint with shared variables
Callers
nothing calls this directly
Calls
1
cos
Function · 0.50
Tested by
no test coverage detected