#include "../STPManager/STPManager.h"
#include "../simplifier/bvsolver.h"
#include "../simplifier/simplifier.h"
-#include "../to-sat/ToSAT.h"
+#include "../to-sat/ASTNode/ToSAT.h"
#include "../parser/LetMgr.h"
#include "../absrefine_counterexample/AbsRefine_CounterExample.h"
#ifndef BBNodeManager_H_
#define BBNodeManager_H_
-#include "../STPManager/STPManager.h"
+// We can bitblast either via ASTNodes, or via AIG nodes. The AIG nodes use less memory, and produce better CNFs. The ASTNodes are the
+// traditional way of doing it.
+
+#include "../../STPManager/STPManager.h"
namespace BEEV {
class ASTNode;
#include "ClauseList.h"
-#include "../AST/AST.h"
+#include "../../AST/AST.h"
namespace BEEV
{
#ifndef CLAUSELIST_H_
#define CLAUSELIST_H_
-#include "../AST/AST.h"
+#include "../../AST/AST.h"
#include <cassert>
namespace BEEV
static bool _trace_simpbool = 0;
static bool _disable_simpbool = 0;
-#include "../AST/AST.h"
-#include "../STPManager/STPManager.h"
+#include "../../AST/AST.h"
+#include "../../STPManager/STPManager.h"
// SMTLIB experimental hack. Try allocating a single stack here for
// children to reduce growing of vectors. BEEV::ASTVec child_stack;
* LICENSE: Please view LICENSE file in the home dir of this Program
********************************************************************/
-#include "../AST/AST.h"
-#include "../STPManager/STPManager.h"
+#include "../../AST/AST.h"
+#include "../../STPManager/STPManager.h"
#include "ToCNF.h"
namespace BEEV
#include <cmath>
#include <cassert>
-#include "../AST/AST.h"
-#include "../STPManager/STPManager.h"
+#include "../../AST/AST.h"
+#include "../../STPManager/STPManager.h"
#include "ClauseList.h"
namespace BEEV
* LICENSE: Please view LICENSE file in the home dir of this Program
********************************************************************/
#include "ToSAT.h"
-#include "BitBlaster.h"
-#include "../printer/printers.h"
+#include "../BitBlaster.h"
+#include "../../printer/printers.h"
#include <iostream>
#include <fstream>
#include "BBNodeManagerASTNode.h"
-#include "../STPManager/UserDefinedFlags.h"
+#include "../../STPManager/UserDefinedFlags.h"
namespace BEEV
{
#include "ToCNF.h"
-#include "../AST/AST.h"
-#include "../STPManager/STPManager.h"
-#include "ToSATBase.h"
+#include "../../AST/AST.h"
+#include "../../STPManager/STPManager.h"
+#include "../ToSATBase.h"
namespace BEEV
{
#include <cassert>
#include "BitBlaster.h"
#include "AIG/BBNodeManagerAIG.h"
-#include "BBNodeManagerASTNode.h"
+#include "ASTNode/BBNodeManagerASTNode.h"
#include "../simplifier/constantBitP/FixedBits.h"
#include "../simplifier/constantBitP/ConstantBitPropagation.h"
#include "../simplifier/constantBitP/NodeToFixedBitsMap.h"
SRCS = $(wildcard *.cpp)
SRCS += $(wildcard AIG/*.cpp)
+SRCS += $(wildcard ASTNode/*.cpp)
OBJS = $(SRCS:.cpp=.o)
CFLAGS += -I$(MTL) -I$(SOLVER_INCLUDE)
.PHONY: clean
clean:
- rm -rf *.o *~ *.a .#* depend AIG/*.o
+ rm -rf *.o *~ *.a .#* depend AIG/*.o ASTNode/*.o
depend: $(SRCS)
@$(CXX) -MM $(CXXFLAGS) $(SRCS) > $@