Classes |
struct | bmrm_return_value_T |
struct | bmrm_ll |
Defines |
#define | LIBBMRM_PLUS_INF (-log(0.0)) |
#define | LIBBMRM_CALLOC(x, y) calloc(x, y) |
#define | LIBBMRM_REALLOC(x, y) realloc(x, y) |
#define | LIBBMRM_FREE(x) SG_FREE(x) |
#define | LIBBMRM_MEMCPY(x, y, z) memcpy(x, y, z) |
#define | LIBBMRM_MEMMOVE(x, y, z) memmove(x, y, z) |
#define | LIBBMRM_INDEX(ROW, COL, NUM_ROWS) ((COL)*(NUM_ROWS)+(ROW)) |
#define | LIBBMRM_ABS(A) ((A) < 0 ? -(A) : (A)) |
Functions |
void | add_cutting_plane (bmrm_ll **tail, bool *map, float64_t *A, uint32_t free_idx, float64_t *cp_data, uint32_t dim) |
void | remove_cutting_plane (bmrm_ll **head, bmrm_ll **tail, bool *map, float64_t *icp) |
float64_t * | get_cutting_plane (bmrm_ll *ptr) |
uint32_t | find_free_idx (bool *map, uint32_t size) |
bmrm_return_value_T | svm_bmrm_solver (CStructuredModel *model, float64_t *W, float64_t TolRel, float64_t TolAbs, float64_t _lambda, uint32_t _BufSize, bool cleanICP, uint32_t cleanAfter, float64_t K, uint32_t Tmax, bool verbose) |