Package gov.nih.mipav.model.algorithms
Class LIBSVM.Cache
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.LIBSVM.Cache
-
- Enclosing class:
- LIBSVM
class LIBSVM.Cache extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private classLIBSVM.Cache.head_t
-
Field Summary
Fields Modifier and Type Field Description private LIBSVM.Cache.head_t[]headprivate intlprivate LIBSVM.Cache.head_tlru_headprivate longsize
-
Constructor Summary
Constructors Constructor Description Cache(int l_, long size_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) intget_data(int index, float[][] data, int len)private voidlru_delete(LIBSVM.Cache.head_t h)private voidlru_insert(LIBSVM.Cache.head_t h)(package private) voidswap_index(int i, int j)
-
-
-
Field Detail
-
l
private final int l
-
size
private long size
-
head
private final LIBSVM.Cache.head_t[] head
-
lru_head
private LIBSVM.Cache.head_t lru_head
-
-
Method Detail
-
lru_delete
private void lru_delete(LIBSVM.Cache.head_t h)
-
lru_insert
private void lru_insert(LIBSVM.Cache.head_t h)
-
get_data
int get_data(int index, float[][] data, int len)
-
swap_index
void swap_index(int i, int j)
-
-