MCPcopy Create free account
hub / github.com/Gecode/gecode / post

Method post

test/float/trigonometric.cpp:166–168  ·  view source on GitHub ↗

Post constraint on \a x

Source from the content-addressed store, hash-verified

164 }
165 /// Post constraint on \a x
166 virtual void post(Gecode::Space& home, Gecode::FloatVarArray& x) {
167 Gecode::cos(home, x[0], x[0]);
168 }
169 };
170
171 /// %Test for tangent constraint

Callers

nothing calls this directly

Calls 1

cosFunction · 0.50

Tested by

no test coverage detected