Public Member Functions | |
PseudoLogLikelihood (const Array< bool > *const &areNonEvidPreds, const Array< Domain * > *const &domains, const bool &wtFOPred, const bool &sampleGndPreds, const double &fraction, const int &minGndPredSamples, const int &maxGndPredSamples) | |
~PseudoLogLikelihood () | |
void | compress () |
void | insertCounts (int *const &clauseIdxInMLN, Array< UndoInfo * > *const &undoInfos, Array< Array< Array< CacheCount * > * > * > *const &cache, const int &d) |
void | insertCounts (const Array< int * > &clauseIdxInMLNs, Array< UndoInfo * > *const &undoInfos, Array< Array< Array< CacheCount * > * > * > *const &cache) |
void | computeCountsForNewAppendedClause (const Clause *const &c, int *const &clauseIdxInMLN, const int &domainIdx, Array< UndoInfo * > *const &undoInfos, const bool &sampleClauses, Array< Array< Array< CacheCount * > * > * > *const &cache) |
void | removeCountsForClause (const Clause *const &c, int *const &clauseIdxInMLN, const int &domainIdx, Array< UndoInfo * > *const &undoInfos) |
void | undoAppendRemoveCounts (const Array< UndoInfo * > *const &undoInfos) |
double | getValueAndGradient (double *const &gradient, const double *const &wt, const int &arrSize) |
void | setMeansStdDevs (const int &arrSize, const double *const &priorMeans, const double *const &priorStdDevs) |
void | setSampleGndPreds (const bool &sgp) |
bool | checkNoRepeatedIndex (const MLN *const &mln=NULL) |
void | printGndPredClauseIndexesAndCounts (const MLN *const &mln=NULL) |
void | setIndexTranslator (IndexTranslator *const &it) |
IndexTranslator * | getIndexTranslator () const |
Definition at line 125 of file pseudologlikelihood.h.