"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."
		
			
				
	
	
		
			37 lines
		
	
	
		
			674 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			674 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef YAP_PACKAGES_CLPBN_HORUS_LIFTEDVE_H_
 | |
| #define YAP_PACKAGES_CLPBN_HORUS_LIFTEDVE_H_
 | |
| 
 | |
| #include "LiftedSolver.h"
 | |
| #include "ParfactorList.h"
 | |
| 
 | |
| 
 | |
| namespace Horus {
 | |
| 
 | |
| class LiftedOperator;
 | |
| 
 | |
| 
 | |
| class LiftedVe : public LiftedSolver {
 | |
|   public:
 | |
|    LiftedVe (const ParfactorList& pfList)
 | |
|        : LiftedSolver(pfList) { }
 | |
| 
 | |
|    Params solveQuery (const Grounds&);
 | |
| 
 | |
|    void printSolverFlags() const;
 | |
| 
 | |
|   private:
 | |
|     void runSolver (const Grounds&);
 | |
| 
 | |
|     LiftedOperator* getBestOperation (const Grounds&);
 | |
| 
 | |
|     ParfactorList  pfList_;
 | |
|     double         largestCost_;
 | |
| 
 | |
|     DISALLOW_COPY_AND_ASSIGN (LiftedVe);
 | |
| };
 | |
| 
 | |
| }  // namespace Horus
 | |
| 
 | |
| #endif  // YAP_PACKAGES_CLPBN_HORUS_LIFTEDVE_H_
 | |
| 
 |