Preparing search index...
The search index is not available
mcbopomofoweb
mcbopomofoweb
McBopomofo/UserOverrideModel
UserOverrideModel
Class UserOverrideModel
Index
Constructors
constructor
Properties
m_
capacity
m_
decay
Exponent
m_
lru
List
m_
lru
Map
Methods
observe
suggest
suggest
Inner
Constructors
constructor
new
User
Override
Model
(
capacity
,
decayConstant
)
:
UserOverrideModel
Parameters
capacity
:
number
decayConstant
:
number
Returns
UserOverrideModel
Properties
m_
capacity
m_
capacity
:
number
m_
decay
Exponent
m_
decay
Exponent
:
number
m_
lru
List
m_
lru
List
:
KeyObservationPair
[]
= []
m_
lru
Map
m_
lru
Map
:
{
[
id
:
string
]
:
KeyObservationPair
;
}
= {}
Methods
observe
observe
(
walkBeforeUserOverride
,
walkAfterUserOverride
,
cursor
,
timestamp
)
:
void
Parameters
walkBeforeUserOverride
:
undefined
|
WalkResult
walkAfterUserOverride
:
undefined
|
WalkResult
cursor
:
number
timestamp
:
number
Returns
void
suggest
suggest
(
currentWalk
,
cursor
,
timestamp
)
:
undefined
|
Suggestion
Parameters
currentWalk
:
WalkResult
cursor
:
number
timestamp
:
number
Returns
undefined
|
Suggestion
suggest
Inner
suggest
Inner
(
key
,
timestamp
)
:
Suggestion
Parameters
key
:
string
timestamp
:
number
Returns
Suggestion
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
m_
capacity
m_
decay
Exponent
m_
lru
List
m_
lru
Map
Methods
observe
suggest
suggest
Inner
mcbopomofoweb
Loading...