new version of belief propagation solver.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#ifndef BP_GRAPHICALMODEL_H
|
||||
#define BP_GRAPHICALMODEL_H
|
||||
#ifndef BP_GRAPHICAL_MODEL_H
|
||||
#define BP_GRAPHICAL_MODEL_H
|
||||
|
||||
#include "Variable.h"
|
||||
#include "Shared.h"
|
||||
@@ -9,9 +9,10 @@ using namespace std;
|
||||
class GraphicalModel
|
||||
{
|
||||
public:
|
||||
virtual VarSet getVariables (void) const = 0;
|
||||
|
||||
private:
|
||||
virtual ~GraphicalModel (void) {};
|
||||
virtual Variable* getVariable (Vid) const = 0;
|
||||
virtual VarSet getVariables (void) const = 0;
|
||||
virtual void printGraphicalModel (void) const = 0;
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // BP_GRAPHICAL_MODEL_H
|
||||
|
||||
Reference in New Issue
Block a user