drop Solver suffix and rename some files and classes

This commit is contained in:
Tiago Gomes
2012-06-12 16:29:57 +01:00
parent 919116763f
commit d4f63b3942
15 changed files with 169 additions and 170 deletions

View File

@@ -4,9 +4,9 @@
#include <sstream>
#include "FactorGraph.h"
#include "VarElimSolver.h"
#include "BpSolver.h"
#include "CbpSolver.h"
#include "VarElim.h"
#include "BeliefProp.h"
#include "CountingBp.h"
using namespace std;
@@ -163,13 +163,13 @@ runSolver (const FactorGraph& fg, const VarIds& queryIds)
Solver* solver = 0;
switch (Globals::groundSolver) {
case GroundSolvers::VE:
solver = new VarElimSolver (fg);
solver = new VarElim (fg);
break;
case GroundSolvers::BP:
solver = new BpSolver (fg);
solver = new BeliefProp (fg);
break;
case GroundSolvers::CBP:
solver = new CbpSolver (fg);
solver = new CountingBp (fg);
break;
default:
assert (false);