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

Method getExistential

contribs/qecode/QCOPPlus.cc:208–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206
207
208OptVar* Qcop::getExistential(int var) {
209 if (Quantifiers[whichSpaceOwns[var]]) {cout<<"can't create existOptVar : variable "<<var<<" is universal"<<endl;abort();} // Var est universelle
210 ExistOptVar* opt = new ExistOptVar(var,whichSpaceOwns[var]);
211 return opt;
212}
213
214
215void Qcop::optimize(int scope, int optType,OptVar* var) {

Callers 3

mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected