#ifndef YAP_PACKAGES_CLPBN_HORUS_HORUS_H_ #define YAP_PACKAGES_CLPBN_HORUS_HORUS_H_ #define DISALLOW_COPY_AND_ASSIGN(TypeName) \ TypeName(const TypeName&); \ void operator=(const TypeName&) #define DISALLOW_COPY(TypeName) \ TypeName(const TypeName&) #define DISALLOW_ASSIGN(TypeName) \ void operator=(const TypeName&) #include #include namespace Horus { class Var; class Factor; class VarNode; class FacNode; typedef std::vector Params; typedef unsigned VarId; typedef std::vector VarIds; typedef std::vector Vars; typedef std::vector VarNodes; typedef std::vector FacNodes; typedef std::vector Factors; typedef std::vector States; typedef std::vector Ranges; typedef unsigned long long ullong; enum LiftedSolverType { LVE, // generalized counting first-order variable elimination (GC-FOVE) LBP, // lifted first-order belief propagation LKC // lifted first-order knowledge compilation }; enum GroundSolverType { VE, // variable elimination BP, // belief propagation CBP // counting belief propagation }; namespace Globals { extern bool logDomain; // level of debug information extern unsigned verbosity; extern LiftedSolverType liftedSolver; extern GroundSolverType groundSolver; } namespace Constants { // show message calculation for belief propagation const bool SHOW_BP_CALCS = false; const int NO_EVIDENCE = -1; // number of digits to show when printing a parameter const unsigned PRECISION = 6; } } // namespace Horus #endif // YAP_PACKAGES_CLPBN_HORUS_HORUS_H_