shark::MVPSelectionCriterion 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 the most violatig pair (MVP) More...
 
void reset ()
 

Detailed Description

Working-Set-Selection-Kriteria anwendung: Kriterium krit; value=krit(problem,i,j);

Definition at line 40 of file SvmProblems.h.

Member Function Documentation

§ operator()()

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

Select the most violatig pair (MVP)

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 48 of file SvmProblems.h.

§ reset()

void shark::MVPSelectionCriterion::reset ( )
inline

Definition at line 78 of file SvmProblems.h.


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