void encode();
int solve();
void writeToFile(string str);
- uint64_t getValue(Element * element);
+ uint64_t getValue(Element *element);
+ bool getBooleanValue(Boolean *element);
~AlloyEnc();
private:
- void dumpAlloyIntScope();
+ void dumpAlloyFooter();
+ void dumpAlloyHeader();
string encodeConstraint(BooleanEdge constraint);
int getResult();
string encodeBooleanLogic( BooleanLogic *bl);
+ string encodeBooleanVar( BooleanVar *bv);
string encodePredicate( BooleanPredicate *bp);
string encodeOperatorPredicate(BooleanPredicate *constraint);
+ string processElementFunction(ElementFunction *element, ElementSig *signature);
CSolver *csolver;
SignatureEnc sigEnc;
ofstream output;