| 1319 | } |
| 1320 | |
| 1321 | void p_cumulative_opt(FlatZincSpace& s, const ConExpr& ce, |
| 1322 | AST::Node* ann) { |
| 1323 | IntVarArgs start = s.arg2intvarargs(ce[0]); |
| 1324 | IntArgs duration = s.arg2intargs(ce[1]); |
| 1325 | IntArgs height = s.arg2intargs(ce[2]); |
| 1326 | BoolVarArgs opt = s.arg2boolvarargs(ce[3]); |
| 1327 | int bound = ce[4]->getInt(); |
| 1328 | unshare(s,start); |
| 1329 | cumulative(s,bound,start,duration,height,opt,s.ann2ipl(ann)); |
| 1330 | } |
| 1331 | |
| 1332 | void p_cumulatives(FlatZincSpace& s, const ConExpr& ce, |
| 1333 | AST::Node* ann) { |
nothing calls this directly
no test coverage detected