more work to support inference with lifted knowledge compilation
This commit is contained in:
@@ -188,13 +188,17 @@ class LiftedWCNF
|
||||
LiftedWCNF (const ParfactorList& pfList);
|
||||
|
||||
~LiftedWCNF (void);
|
||||
|
||||
|
||||
const Clauses& clauses (void) const { return clauses_; }
|
||||
|
||||
|
||||
void addWeight (LiteralId lid, double posW, double negW);
|
||||
|
||||
double posWeight (LiteralId lid) const;
|
||||
|
||||
double negWeight (LiteralId lid) const;
|
||||
|
||||
vector<LiteralId> prvGroupLiterals (PrvGroup prvGroup);
|
||||
|
||||
Clause createClause (LiteralId lid) const;
|
||||
|
||||
void printFormulaIndicators (void) const;
|
||||
@@ -204,10 +208,8 @@ class LiftedWCNF
|
||||
void printClauses (void) const;
|
||||
|
||||
private:
|
||||
|
||||
|
||||
LiteralId getLiteralId (PrvGroup prvGroup, unsigned range);
|
||||
|
||||
void addWeight (LiteralId lid, double posW, double negW);
|
||||
|
||||
void addIndicatorClauses (const ParfactorList& pfList);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user