Commit b15c685e authored by Masahiko Sakai's avatar Masahiko Sakai
Browse files

version 1.01 (bugfixed version of 1.00

parent af9a253a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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>
+4 −4
Original line number Diff line number Diff line
@@ -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("...");
    }
}

@@ -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("...");
    }
}

@@ -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("...");
    }
}

@@ -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("]");
}
+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 ;
+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;
+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