31 #ifndef DOXYGEN_SHOULD_SKIP_THIS
35 class QPproblem :
public CSGObject
65 int32_t projection_solver;
67 int32_t projection_projector;
69 int32_t PreprocessMode;
71 int32_t preprocess_size;
89 int32_t ReadSVMFile (
char *fInput);
96 int32_t ReadGPDTBinary(
char *fName);
102 int32_t Check2Class ();
110 void Subproblem (QPproblem &ker, int32_t len, int32_t *perm);
133 inline bool get_linadd_enabled()
139 inline virtual const char* get_name()
const {
return "QPproblem"; }
144 int32_t *index_in, *index_out;
145 int32_t *ing, *inaux, *inold, *incom;
148 int32_t *bmem, *bmemrid, *pbmr;
149 int32_t my_chunk_size;
150 int32_t my_spD_offset;
151 int32_t recvl[32], displ[32];
153 float64_t DELTAvpm, InitialDELTAvpm, DELTAkin;
159 int32_t Preprocess0 (int32_t *aux, int32_t *sv);
160 int32_t Preprocess1 (sKernel* KER, int32_t *aux, int32_t *sv);
163 bool is_zero(int32_t i) {
return (alpha[i] < DELTAsv); }
164 bool is_free(int32_t i)
165 {
return (alpha[i] > DELTAsv && alpha[i] < (c_const - DELTAsv)); }
166 bool is_bound(int32_t i) {
return (alpha[i] > (c_const - DELTAsv)); }
170 #endif // DOXYGEN_SHOULD_SKIP_THIS