Public Member Functions |
| SVindex () |
| Default Contructor.
|
| SVindex (const size_t) |
| Constructor.
|
size_t | index_first (void) const |
size_t | index_second (void) const |
void | init (const utility::Vector &alpha, const double) |
| synch the object against alpha
|
size_t | nof_sv (void) const |
void | nsv_first (void) |
| making first to an nsv. If already sv, nothing happens.
|
void | nsv_second (void) |
| making second to an nsv. If already sv, nothing happens.
|
void | shuffle (void) |
size_t | size (void) const |
void | sv_first (void) |
| making first to a sv. If already sv, nothing happens.
|
void | sv_second (void) |
| making second to a sv. If already sv, nothing happens.
|
void | update_first (const size_t i) |
| set index_first to i
|
void | update_second (const size_t i) |
| set index_second to i
|
size_t | value_first (void) const |
size_t | value_second (void) const |
size_t | operator() (size_t i) const |
Internal Class keeping track of which samples are support vectors and not. The first nof_sv elements in the vector are indices of the support vectors