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) |
GroundFeature * | getGroundFeature (Feature *feature, Array< int > &grounding) |
int | getNumGroundings (int featureId) const |
void | dirtyAll () |
Definition at line 532 of file gfeature.h.