Home
last modified time | relevance | path

Searched refs:MAX_ELAPSED_TIME_STEP_COUNT (Results 1 – 2 of 2) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dforgetting_curve_utils.cpp34 const int ForgettingCurveUtils::MAX_ELAPSED_TIME_STEP_COUNT = 31; member in latinime::ForgettingCurveUtils
113 if (elapsedTimeStep <= MAX_ELAPSED_TIME_STEP_COUNT) { in createHistoricalInfoToSave()
118 const int maxLevelDownAmonut = elapsedTimeStep / (MAX_ELAPSED_TIME_STEP_COUNT + 1); in createHistoricalInfoToSave()
158 durationToLevelDownInSeconds / (MAX_ELAPSED_TIME_STEP_COUNT + 1); in getElapsedTimeStepCount()
176 return std::min(std::max(timeStepCount, 0), MAX_ELAPSED_TIME_STEP_COUNT); in clampToValidTimeStepCountRange()
195 mTables[tableId][level].resize(MAX_ELAPSED_TIME_STEP_COUNT + 1); in ProbabilityTable()
198 for (int timeStepCount = 0; timeStepCount <= MAX_ELAPSED_TIME_STEP_COUNT; in ProbabilityTable()
207 / static_cast<float>(MAX_ELAPSED_TIME_STEP_COUNT + 1)); in ProbabilityTable()
Dforgetting_curve_utils.h95 static const int MAX_ELAPSED_TIME_STEP_COUNT; variable