shark::LibSVMSelectionCriterion Struct Reference

#include <shark/Algorithms/QP/SvmProblems.h>

Public Member Functions

template<class Problem >
double operator() (Problem &problem, std::size_t &i, std::size_t &j)
 Select a working set according to the second order algorithm of LIBSVM 2.8. More...
 
void reset ()
 

Detailed Description

Definition at line 82 of file SvmProblems.h.

Member Function Documentation

§ operator()()

template<class Problem >
double shark::LibSVMSelectionCriterion::operator() ( Problem &  problem,
std::size_t &  i,
std::size_t &  j 
)
inline

Select a working set according to the second order algorithm of LIBSVM 2.8.

Returns
maximal KKT vioation
Parameters
problemthe svm problem to select the working set for
ifirst working set component
jsecond working set component

Definition at line 91 of file SvmProblems.h.

References shark::blas::min().

§ reset()

void shark::LibSVMSelectionCriterion::reset ( )
inline

Definition at line 143 of file SvmProblems.h.


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