2013-02-07 17:50:02 +00:00
|
|
|
#ifndef YAP_PACKAGES_CLPBN_HORUS_LIFTEDVE_H_
|
|
|
|
#define YAP_PACKAGES_CLPBN_HORUS_LIFTEDVE_H_
|
2012-05-23 14:56:01 +01:00
|
|
|
|
2012-11-14 21:55:51 +00:00
|
|
|
#include "LiftedSolver.h"
|
2012-05-23 14:56:01 +01:00
|
|
|
#include "ParfactorList.h"
|
|
|
|
|
|
|
|
|
2013-02-08 21:12:46 +00:00
|
|
|
namespace Horus {
|
2013-02-07 23:53:13 +00:00
|
|
|
|
2013-02-20 00:21:01 +00:00
|
|
|
class LiftedOperator;
|
2012-05-23 14:56:01 +01:00
|
|
|
|
|
|
|
|
2013-02-13 14:26:47 +00:00
|
|
|
class LiftedVe : public LiftedSolver {
|
2012-05-23 14:56:01 +01:00
|
|
|
public:
|
2012-11-14 21:55:51 +00:00
|
|
|
LiftedVe (const ParfactorList& pfList)
|
2012-11-14 23:13:46 +00:00
|
|
|
: LiftedSolver(pfList) { }
|
2012-05-23 14:56:01 +01:00
|
|
|
|
2012-05-31 23:06:53 +01:00
|
|
|
Params solveQuery (const Grounds&);
|
2012-05-23 14:56:01 +01:00
|
|
|
|
2013-02-28 19:45:37 +00:00
|
|
|
void printSolverFlags() const;
|
2012-05-23 14:56:01 +01:00
|
|
|
|
|
|
|
private:
|
|
|
|
void runSolver (const Grounds&);
|
|
|
|
|
|
|
|
LiftedOperator* getBestOperation (const Grounds&);
|
|
|
|
|
2012-11-10 00:18:20 +00:00
|
|
|
ParfactorList pfList_;
|
|
|
|
double largestCost_;
|
2012-12-27 22:25:45 +00:00
|
|
|
|
|
|
|
DISALLOW_COPY_AND_ASSIGN (LiftedVe);
|
2012-05-23 14:56:01 +01:00
|
|
|
};
|
|
|
|
|
2013-02-08 21:12:46 +00:00
|
|
|
} // namespace Horus
|
2013-02-07 23:53:13 +00:00
|
|
|
|
2013-02-08 00:20:01 +00:00
|
|
|
#endif // YAP_PACKAGES_CLPBN_HORUS_LIFTEDVE_H_
|
2012-05-23 14:56:01 +01:00
|
|
|
|