Loading ADTs/Global.h +1 −0 Original line number Diff line number Diff line Loading @@ -26,6 +26,7 @@ Contains types, macros, and inline functions generally useful in a C++ program. #ifndef Global_h #define Global_h #include <signal.h> #include <cassert> #include <cstdio> #include <cstdlib> Loading Debug.C +4 −4 Original line number Diff line number Diff line Loading @@ -61,7 +61,7 @@ void dump(const vec<Lit>& ps, const vec<Int>& Cs) dump(Cs[i]); reportf("*"); dump(ps[i]); if (i+1 < ps.size()) reportf(" "); if (i+1 < ps.size()) reportf("..."); } } Loading @@ -73,7 +73,7 @@ void dump(const vec<Formula>& ps, const vec<Int>& Cs) dump(Cs[i]); reportf("*"); dump(ps[i]); if (i+1 < ps.size()) reportf(" "); if (i+1 < ps.size()) reportf("..."); } } Loading @@ -92,7 +92,7 @@ void dump(const vec<Lit>& ps, const vec<Int>& Cs, const vec<int>& assigns) reportf(":1"); else reportf(":0"); if (i+1 < ps.size()) reportf(" "); if (i+1 < ps.size()) reportf("..."); } } Loading Loading @@ -147,7 +147,7 @@ void dump(const Linear& pb, const vec<int>& assigns) reportf(":1"); else reportf(":0"); if (i+1 < pb.size) reportf(" "); if (i+1 < pb.size) reportf("..."); } reportf("in ["); dump(pb.lo); reportf(","); dump(pb.hi); reportf("]"); } Examples/definition2.pb 0 → 100644 +6 −0 Original line number Diff line number Diff line * Example of Definition * Descriptions are equivalent to the following: * (1*~x2 2*x3 >= 2) or (1*~x2 2*x3 < 2) d x0 => 1 ~x2 2 x3 >= 2 ; d x1 => 1 ~x2 2 x3 < 2 ; 1 x0 1 x1 >= 1 ; Examples/definition3.pb 0 → 100644 +7 −0 Original line number Diff line number Diff line * Example of Definition * Descriptions are equivalent to the following: * (1*~x2 2*x3 >= 2) or (1*~x2 2*x3 < 2) d x0 => 1 ~x2 2 x3 >= 2 ; d x1 => 1 ~x2 2 x3 < 2 ; 1 x0 1 x1 >= 1 ; 1 x0 >= 1; Examples/definition4.pb 0 → 100644 +8 −0 Original line number Diff line number Diff line * Example of Definition * Descriptions are equivalent to the following: * (1*~x2 2*x3 >= 2) or (1*~x2 2*x3 < 2) d x0 <= 1 ~x2 2 x3 >= 2 ; d x1 <= 1 ~x2 2 x3 < 2 ; 1 x0 1 x1 >= 1 ; 1 x0 >= 1; 1 x1 >= 1; Loading
ADTs/Global.h +1 −0 Original line number Diff line number Diff line Loading @@ -26,6 +26,7 @@ Contains types, macros, and inline functions generally useful in a C++ program. #ifndef Global_h #define Global_h #include <signal.h> #include <cassert> #include <cstdio> #include <cstdlib> Loading
Debug.C +4 −4 Original line number Diff line number Diff line Loading @@ -61,7 +61,7 @@ void dump(const vec<Lit>& ps, const vec<Int>& Cs) dump(Cs[i]); reportf("*"); dump(ps[i]); if (i+1 < ps.size()) reportf(" "); if (i+1 < ps.size()) reportf("..."); } } Loading @@ -73,7 +73,7 @@ void dump(const vec<Formula>& ps, const vec<Int>& Cs) dump(Cs[i]); reportf("*"); dump(ps[i]); if (i+1 < ps.size()) reportf(" "); if (i+1 < ps.size()) reportf("..."); } } Loading @@ -92,7 +92,7 @@ void dump(const vec<Lit>& ps, const vec<Int>& Cs, const vec<int>& assigns) reportf(":1"); else reportf(":0"); if (i+1 < ps.size()) reportf(" "); if (i+1 < ps.size()) reportf("..."); } } Loading Loading @@ -147,7 +147,7 @@ void dump(const Linear& pb, const vec<int>& assigns) reportf(":1"); else reportf(":0"); if (i+1 < pb.size) reportf(" "); if (i+1 < pb.size) reportf("..."); } reportf("in ["); dump(pb.lo); reportf(","); dump(pb.hi); reportf("]"); }
Examples/definition2.pb 0 → 100644 +6 −0 Original line number Diff line number Diff line * Example of Definition * Descriptions are equivalent to the following: * (1*~x2 2*x3 >= 2) or (1*~x2 2*x3 < 2) d x0 => 1 ~x2 2 x3 >= 2 ; d x1 => 1 ~x2 2 x3 < 2 ; 1 x0 1 x1 >= 1 ;
Examples/definition3.pb 0 → 100644 +7 −0 Original line number Diff line number Diff line * Example of Definition * Descriptions are equivalent to the following: * (1*~x2 2*x3 >= 2) or (1*~x2 2*x3 < 2) d x0 => 1 ~x2 2 x3 >= 2 ; d x1 => 1 ~x2 2 x3 < 2 ; 1 x0 1 x1 >= 1 ; 1 x0 >= 1;
Examples/definition4.pb 0 → 100644 +8 −0 Original line number Diff line number Diff line * Example of Definition * Descriptions are equivalent to the following: * (1*~x2 2*x3 >= 2) or (1*~x2 2*x3 < 2) d x0 <= 1 ~x2 2 x3 >= 2 ; d x1 <= 1 ~x2 2 x3 < 2 ; 1 x0 1 x1 >= 1 ; 1 x0 >= 1; 1 x1 >= 1;