OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ForgettingCurveUtils
(Results
1 - 12
of
12
) sorted by null
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/utils/
forgetting_curve_utils.cpp
29
const int
ForgettingCurveUtils
::MULTIPLIER_TWO_IN_PROBABILITY_SCALE = 8;
30
const int
ForgettingCurveUtils
::DECAY_INTERVAL_SECONDS = 2 * 60 * 60;
32
const int
ForgettingCurveUtils
::MAX_LEVEL = 3;
33
const int
ForgettingCurveUtils
::MIN_VISIBLE_LEVEL = 1;
34
const int
ForgettingCurveUtils
::MAX_ELAPSED_TIME_STEP_COUNT = 15;
35
const int
ForgettingCurveUtils
::DISCARD_LEVEL_ZERO_ENTRY_TIME_STEP_COUNT_THRESHOLD = 14;
37
const float
ForgettingCurveUtils
::UNIGRAM_COUNT_HARD_LIMIT_WEIGHT = 1.2;
38
const float
ForgettingCurveUtils
::BIGRAM_COUNT_HARD_LIMIT_WEIGHT = 1.2;
40
const
ForgettingCurveUtils
::ProbabilityTable
ForgettingCurveUtils
::sProbabilityTable
[
all
...]
forgetting_curve_utils.h
29
class
ForgettingCurveUtils
{
62
DISALLOW_IMPLICIT_CONSTRUCTORS(
ForgettingCurveUtils
);
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/bigram/
ver4_bigram_list_policy.cpp
51
ForgettingCurveUtils
::decodeProbability(bigramEntry.getHistoricalInfo(),
193
const HistoricalInfo historicalInfo =
ForgettingCurveUtils
::createHistoricalInfoToSave(
195
if (
ForgettingCurveUtils
::needsToKeep(&historicalInfo, mHeaderPolicy)) {
273
ForgettingCurveUtils
::createUpdatedHistoricalInfo(
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/bigram/
ver4_bigram_list_policy.cpp
41
ForgettingCurveUtils
::decodeProbability(bigramEntry.getHistoricalInfo(),
194
const HistoricalInfo historicalInfo =
ForgettingCurveUtils
::createHistoricalInfoToSave(
196
if (
ForgettingCurveUtils
::needsToKeep(&historicalInfo, mHeaderPolicy)) {
273
ForgettingCurveUtils
::createUpdatedHistoricalInfo(
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/
ver4_patricia_trie_node_reader.cpp
76
probability =
ForgettingCurveUtils
::decodeProbability(
ver4_patricia_trie_policy.cpp
123
return
ForgettingCurveUtils
::getProbability(unigramProbability, bigramProbability);
405
return
ForgettingCurveUtils
::needsToDecay(mindsBlockByGC, mUnigramCount, mBigramCount,
421
ForgettingCurveUtils
::getUnigramCountHardLimit(
427
ForgettingCurveUtils
::getBigramCountHardLimit(
477
ForgettingCurveUtils
::decodeProbability(
ver4_patricia_trie_node_writer.cpp
173
const HistoricalInfo historicalInfo =
ForgettingCurveUtils
::createHistoricalInfoToSave(
183
const bool isValid =
ForgettingCurveUtils
::needsToKeep(&historicalInfo, mHeaderPolicy);
402
ForgettingCurveUtils
::createUpdatedHistoricalInfo(
ver4_patricia_trie_writing_helper.cpp
215
ForgettingCurveUtils
::decodeProbability(
262
ForgettingCurveUtils
::decodeProbability(
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/
ver4_patricia_trie_node_reader.cpp
68
probability =
ForgettingCurveUtils
::decodeProbability(
ver4_patricia_trie_policy.cpp
113
return
ForgettingCurveUtils
::getProbability(unigramProbability, bigramProbability);
417
return
ForgettingCurveUtils
::needsToDecay(mindsBlockByGC, mUnigramCount, mBigramCount,
433
ForgettingCurveUtils
::getUnigramCountHardLimit(
439
ForgettingCurveUtils
::getBigramCountHardLimit(
489
ForgettingCurveUtils
::decodeProbability(
ver4_patricia_trie_node_writer.cpp
164
const HistoricalInfo historicalInfo =
ForgettingCurveUtils
::createHistoricalInfoToSave(
174
const bool isValid =
ForgettingCurveUtils
::needsToKeep(&historicalInfo, mHeaderPolicy);
361
ForgettingCurveUtils
::createUpdatedHistoricalInfo(
ver4_patricia_trie_writing_helper.cpp
206
ForgettingCurveUtils
::decodeProbability(
253
ForgettingCurveUtils
::decodeProbability(
Completed in 1277 milliseconds