use PrvGroup

This commit is contained in:
Tiago Gomes
2012-05-24 23:38:44 +01:00
parent af6601837c
commit 18d4777d9a
8 changed files with 69 additions and 65 deletions

View File

@@ -18,7 +18,7 @@ class Parfactor : public TFactor<ProbFormula>
const ProbFormulas&,
const Params&,
const Tuples&,
unsigned);
unsigned distId);
Parfactor (const Parfactor*, const Tuple&);
@@ -66,21 +66,21 @@ class Parfactor : public TFactor<ProbFormula>
void applySubstitution (const Substitution&);
int findGroup (const Ground&) const;
PrvGroup findGroup (const Ground&) const;
bool containsGround (const Ground&) const;
bool containsGroup (unsigned) const;
bool containsGroup (PrvGroup) const;
unsigned nrFormulas (LogVar) const;
int indexOfLogVar (LogVar) const;
int indexOfGroup (unsigned) const;
int indexOfGroup (PrvGroup) const;
unsigned nrFormulasWithGroup (unsigned) const;
unsigned nrFormulasWithGroup (PrvGroup) const;
vector<unsigned> getAllGroups (void) const;
vector<PrvGroup> getAllGroups (void) const;
void print (bool = false) const;