GroundRRF Class Reference

List of all members.

Public Member Functions

 GroundRRF (RRF *rrf, Database *db)
double getValue ()
double getLogValue ()
double getLogPseudoLikelihood (const Array< int > &queryPreds)
double getLogPseudoLikelihood (const Array< Predicate * > &queryPreds)
void getCounts (Array< double > &counts)
void getPseudoCounts (Array< double > &counts, const Array< int > &queryPreds, double samplingFrac)
void getPseudoCountsFast (Array< double > &counts, const Array< int > &queryPreds, double samplingFrac)
int getNumPredicateGroundings (int predIdx)
bool getPredicateValue (int predIdx, int groundIdx)
void setPredicateValue (int predIdx, int groundIdx, bool value)
void setPredicateAndUpdate (int predIdx, int groundIdx, bool value)
void setPredicateAndUpdateCounts (int predIdx, int groundIdx, bool value)
GroundFeaturegetGroundFeature (Feature *feature, Array< int > &grounding)
int getNumGroundings (int featureId) const
void dirtyAll ()

Detailed Description

Definition at line 532 of file gfeature.h.


The documentation for this class was generated from the following files:
Generated on Sun Jun 7 11:55:24 2009 for Alchemy by  doxygen 1.5.1