HomeSort by relevance Sort by last modified time
    Searched refs:originalHistoricalInfo (Results 1 - 3 of 3) sorted by null

  /packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
forgetting_curve_utils.cpp 47 const HistoricalInfo *const originalHistoricalInfo, const int newProbability,
50 if (newProbability != NOT_A_PROBABILITY && originalHistoricalInfo->getLevel() == 0) {
55 } else if (!originalHistoricalInfo->isValid()
56 || originalHistoricalInfo->getLevel() < newHistoricalInfo->getLevel()
57 || (originalHistoricalInfo->getLevel() == newHistoricalInfo->getLevel()
58 && originalHistoricalInfo->getCount() < newHistoricalInfo->getCount())) {
68 const int updatedCount = originalHistoricalInfo->getCount() + 1;
71 if (originalHistoricalInfo->getLevel() >= MAX_LEVEL) {
74 originalHistoricalInfo->getLevel(), originalHistoricalInfo->getCount())
    [all...]
forgetting_curve_utils.h 33 const HistoricalInfo *const originalHistoricalInfo, const int newProbability,
37 const HistoricalInfo *const originalHistoricalInfo,
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
language_model_dict_content.cpp 350 const HistoricalInfo *originalHistoricalInfo = probabilityEntry.getHistoricalInfo();
352 *originalHistoricalInfo)) {
360 const int updatedCount = originalHistoricalInfo->getCount() / 2;
368 const HistoricalInfo historicalInfoToSave(originalHistoricalInfo->getTimestamp(),
369 originalHistoricalInfo->getLevel(), updatedCount);

Completed in 52 milliseconds