Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dforgetting_curve_utils.cpp175 /* static */ int ForgettingCurveUtils::clampToValidTimeStepCountRange(const int timeStepCount) { in clampToValidTimeStepCountRange() argument
176 return std::min(std::max(timeStepCount, 0), MAX_ELAPSED_TIME_STEP_COUNT); in clampToValidTimeStepCountRange()
198 for (int timeStepCount = 0; timeStepCount <= MAX_ELAPSED_TIME_STEP_COUNT; in ProbabilityTable() local
199 ++timeStepCount) { in ProbabilityTable()
201 mTables[tableId][level][timeStepCount] = NOT_A_PROBABILITY; in ProbabilityTable()
206 -1.0f * static_cast<float>(timeStepCount) in ProbabilityTable()
208 mTables[tableId][level][timeStepCount] = in ProbabilityTable()
Dforgetting_curve_utils.h109 static int clampToValidTimeStepCountRange(const int timeStepCount);