Move template definitions to source file and use explicite template instantiation.

This commit is contained in:
Tiago Gomes
2013-03-04 17:58:32 +00:00
parent 063f3ff6e3
commit 7193d2238d
7 changed files with 13 additions and 11 deletions

View File

@@ -63,6 +63,7 @@ class ProbFormula {
static PrvGroup getNewGroup();
private:
friend bool operator== (
const ProbFormula& f1, const ProbFormula& f2);
@@ -80,6 +81,14 @@ class ProbFormula {
typedef std::vector<ProbFormula> ProbFormulas;
inline bool
operator== (const ProbFormula& f1, const ProbFormula& f2)
{
return f1.group_ == f2.group_ && f1.logVars_ == f2.logVars_;
}
class ObservedFormula {
public:
ObservedFormula (Symbol f, unsigned a, unsigned ev);