"Cache" used by the Quadratic Constrained Trainer (QCTrainer).
Inheritance:
Public Methods
-
QCCache()
-
virtual real* adressCache(int index) = 0
- Returns the adress of the row/column index for the Q matrix
-
virtual void allocate() = 0
- Allocate the cache
-
virtual void clear() = 0
- Erase the cache (but don't destroy it)
-
virtual void destroy() = 0
- Destroy the cache
-
virtual void setBoosterMode(int* n_active_var_, int* active_var_) = 0
- The index of the active variables will be those contained in active_var, and the number of active variable will be *n_active_var_.
Inherited from Object:
Public Methods
-
virtual void init()
-
void addOption(const char* name, int size, void* ptr, const char* help="", bool is_allowed_after_init=false)
-
void addIOption(const char* name, int* ptr, int init_value, const char* help="", bool is_allowed_after_init=false)
-
void addROption(const char* name, real* ptr, real init_value, const char* help="", bool is_allowed_after_init=false)
-
void addBOption(const char* name, bool* ptr, bool init_value, const char* help="", bool is_allowed_after_init=false)
-
void setOption(const char* name, void* ptr)
-
void setIOption(const char* name, int option)
-
void setROption(const char* name, real option)
-
void setBOption(const char* name, bool option)
-
virtual void loadFILE(FILE* file)
-
virtual void saveFILE(FILE* file)
-
void load(const char* filename)
-
void save(const char* filename)
Documentation
"Cache" used by the Quadratic Constrained Trainer (QCTrainer).
This class provides the Q (symetric) matrix of the
quadratic problem.
QCCache()
virtual real* adressCache(int index) = 0
- Returns the adress of the row/column index for the Q matrix
virtual void allocate() = 0
- Allocate the cache
virtual void clear() = 0
- Erase the cache (but don't destroy it)
virtual void destroy() = 0
- Destroy the cache
virtual void setBoosterMode(int* n_active_var_, int* active_var_) = 0
- The index of the active variables will be those
contained in active_var, and the number of active
variable will be *n_active_var_.
(It's usefull for some problems)
- See Also:
- QCMachine
QCTrainer
- Direct child classes:
- SVMCache
- Author:
- Ronan Collobert (collober@iro.umontreal.ca)
- See Also:
- QCTrainer
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.