Classes | Public Member Functions | Private Member Functions | Private Attributes
Cache Class Reference

List of all members.

Classes

struct  head_t

Public Member Functions

 Cache (int l, long int size)
int get_data (const int index, Qfloat **data, int len)
void swap_index (int i, int j)
 ~Cache ()

Private Member Functions

void lru_delete (head_t *h)
void lru_insert (head_t *h)

Private Attributes

head_thead
int l
head_t lru_head
long int size

Detailed Description

Definition at line 67 of file svm.cpp.


Constructor & Destructor Documentation

Cache::Cache ( int  l,
long int  size 
)

Definition at line 94 of file svm.cpp.

Definition at line 103 of file svm.cpp.


Member Function Documentation

int Cache::get_data ( const int  index,
Qfloat **  data,
int  len 
)

Definition at line 126 of file svm.cpp.

void Cache::lru_delete ( head_t h) [private]

Definition at line 110 of file svm.cpp.

void Cache::lru_insert ( head_t h) [private]

Definition at line 117 of file svm.cpp.

void Cache::swap_index ( int  i,
int  j 
)

Definition at line 156 of file svm.cpp.


Member Data Documentation

head_t* Cache::head [private]

Definition at line 88 of file svm.cpp.

int Cache::l [private]

Definition at line 79 of file svm.cpp.

Definition at line 89 of file svm.cpp.

long int Cache::size [private]

Definition at line 80 of file svm.cpp.


The documentation for this class was generated from the following file:


ml_classifiers
Author(s): Scott Niekum
autogenerated on Thu Aug 27 2015 13:59:04