UnitPropagation Class Reference

Inheritance diagram for UnitPropagation:

Inference List of all members.

Public Member Functions

 UnitPropagation (VariableState *state, long int seed, const bool &trackClauseTrueCnts)
 There is nothing to do in the constructor for unit propagation.
 ~UnitPropagation ()
void init ()
 There is nothing to initialize in unit propagation.
void infer ()
 Perform unit propagation on the clauses in the state.
void printProbabilities (ostream &out)
 Prints the best state found.
double getProbability (GroundPredicate *const &gndPred)
 Gets the truth value of a ground predicate in the best state found.
void printTruePreds (ostream &out)
 Prints the predicates set to true in the best state to a stream.

Detailed Description

Definition at line 73 of file unitpropagation.h.


The documentation for this class was generated from the following file:
Generated on Tue Jan 16 05:30:06 2007 for Alchemy by  doxygen 1.5.1