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 class
LIBSVM.Cache.head_t
-
Field Summary
Fields Modifier and Type Field Description private LIBSVM.Cache.head_t[]
head
private int
l
private LIBSVM.Cache.head_t
lru_head
private long
size
-
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) int
get_data(int index, float[][] data, int len)
private void
lru_delete(LIBSVM.Cache.head_t h)
private void
lru_insert(LIBSVM.Cache.head_t h)
(package private) void
swap_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)
-
-