902624f557
"In fact, the f(void) style has been called an "abomination" by Bjarne Stroustrup, the creator of C++, Dennis Ritchie, the co-creator of C, and Doug McIlroy, head of the research department where Unix was born."
31 lines
637 B
C++
31 lines
637 B
C++
#ifndef YAP_PACKAGES_CLPBN_HORUS_LIFTEDSOLVER_H_
|
|
#define YAP_PACKAGES_CLPBN_HORUS_LIFTEDSOLVER_H_
|
|
|
|
#include "ParfactorList.h"
|
|
|
|
|
|
namespace Horus {
|
|
|
|
class LiftedSolver {
|
|
public:
|
|
LiftedSolver (const ParfactorList& pfList)
|
|
: parfactorList(pfList) { }
|
|
|
|
virtual ~LiftedSolver() { } // ensure that subclass destructor is called
|
|
|
|
virtual Params solveQuery (const Grounds& query) = 0;
|
|
|
|
virtual void printSolverFlags() const = 0;
|
|
|
|
protected:
|
|
const ParfactorList& parfactorList;
|
|
|
|
private:
|
|
DISALLOW_COPY_AND_ASSIGN (LiftedSolver);
|
|
};
|
|
|
|
} // namespace Horus
|
|
|
|
#endif // YAP_PACKAGES_CLPBN_HORUS_LIFTEDSOLVER_H_
|
|
|