Skip to content

Commit

Permalink
updated to a new version of lingeling named 'bal'
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Suda committed Nov 10, 2015
1 parent e66b578 commit b0ebda6
Show file tree
Hide file tree
Showing 7 changed files with 8,568 additions and 7,319 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ VSAT_OBJ=SAT/ClauseDisposer.o\
SAT/LingelingInterfacing.o\
SAT/Z3Interfacing.o\
SAT/lglib.o\
SAT/lglopts.o\
SAT/BufferedSolver.o
# SAT/ISSatSweeping.o\
# SAT/SATClauseSharing.o\
Expand Down
41 changes: 41 additions & 0 deletions SAT/lglconst.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#ifndef lglconst_h_INCLUDED
#define lglconst_h_INCLUDED

#include <limits.h>

#define REMOVED INT_MAX
#define NOTALIT ((INT_MAX >> RMSHFT))
#define MAXVAR ((INT_MAX >> RMSHFT) - 2)

#define GLUESHFT 4
#define POW2GLUE (1 << GLUESHFT)
#define MAXGLUE (POW2GLUE - 1)
#define GLUEMASK (POW2GLUE - 1)
#define MAXREDLIDX ((1 << (31 - GLUESHFT)) - 2)
#define MAXIRRLIDX ((1 << (31 - RMSHFT)) - 2)

#define MAXLDFW 31
#define REPMOD 22

#define FUNVAR 12
#define FUNQUADS (1<<(FUNVAR - 6))
#define FALSECNF (1ll<<32)
#define TRUECNF 0ll

#define FLTPRC 32
#define EXPMIN (0x0000 ## 0000)
#define EXPZRO (0x1000 ## 0000)
#define EXPMAX (0x7fff ## ffff)
#define MNTBIT (0x0000 ## 0001 ## 0000 ## 0000 ## ull)
#define MNTMAX (0x0000 ## 0001 ## ffff ## ffff ## ull)
#define FLTMIN (0x0000 ## 0000 ## 0000 ## 0000 ## ll)
#define FLTMAX (0x7fff ## ffff ## ffff ## ffff ## ll)

#define DEFSCOREXP 500

#define LLMAX (0x7fff ## ffff ## ffff ## ffff ## ll)

#define MAXFLTSTR 6
#define MAXPHN 10

#endif
Loading

0 comments on commit b0ebda6

Please sign in to comment.