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

Function post

gecode/float/linear/post.cpp:237–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235 }
236
237 void
238 post(Home home, Term* t, int n, FloatRelType frt, FloatVal c) {
239 Region re;
240 switch (frt) {
241 case FRT_EQ: case FRT_LQ: case FRT_GQ:
242 break;
243 case FRT_NQ: case FRT_LE: case FRT_GR:
244 rel(home, extend(home,re,t,n), frt, c);
245 frt=FRT_EQ; c=0.0;
246 break;
247 default:
248 throw UnknownRelation("Float::linear");
249 }
250 dopost(home, t, n, frt, c);
251 }
252
253 void
254 post(Home home, Term* t, int n, FloatRelType frt, FloatVal c, Reify r) {

Callers 15

post_naryFunction · 0.70
runMethod · 0.50
runMethod · 0.50
runMethod · 0.50
runMethod · 0.50
setForAllMethod · 0.50
qrelFunction · 0.50
qclauseFunction · 0.50
postMethod · 0.50
ExecStatus resubscribeFunction · 0.50
propagateMethod · 0.50
postMethod · 0.50

Calls 3

extendFunction · 0.85
dopostFunction · 0.85
relFunction · 0.50

Tested by

no test coverage detected