public interface SquaredNormCache
Modifier and Type | Method and Description |
---|---|
Float |
getSquaredNorm(Example example)
Returns a previously stored norm of a given example
|
void |
setSquaredNormVaue(Example example,
float squaredNorm)
Stores a squared norm in the cache
|
Float getSquaredNorm(Example example)
example
- the instance whose squared norm is requirednull
if a cache miss occursvoid setSquaredNormVaue(Example example, float squaredNorm)
example
- the example whose quadratic norm must be storedsquaredNorm
- the squared norm to be storedCopyright © 2015 Semantic Analytics Group @ Uniroma2. All rights reserved.