Enumerator |
---|
LOWER_BOUND |
|
UPPER_BOUND |
|
FREE |
|
virtual Solver::~Solver |
( |
| ) |
|
|
inlinevirtual |
double Solver::calculate_rho |
( |
| ) |
|
|
protectedvirtual |
void Solver::do_shrinking |
( |
| ) |
|
|
protectedvirtual |
Reimplemented in Solver_NU.
References active_size, be_shrunk(), eps, G, INF, info(), is_lower_bound(), is_upper_bound(), l, reconstruct_gradient(), swap_index(), unshrink, and y.
Referenced by Solve().
bool Solver::is_lower_bound |
( |
int |
i | ) |
|
|
inlineprotected |
bool Solver::is_upper_bound |
( |
int |
i | ) |
|
|
inlineprotected |
void Solver::reconstruct_gradient |
( |
| ) |
|
|
protected |
References active_size, alpha, G, G_bar, QMatrix::get_Q(), info(), is_free(), basic::options::OptionKeys::frags::j, l, p, and Q.
Referenced by do_shrinking(), Solver_NU::do_shrinking(), and Solve().
int Solver::select_working_set |
( |
int & |
i, |
|
|
int & |
j |
|
) |
| |
|
protectedvirtual |
Reimplemented in Solver_NU.
References active_size, eps, G, QMatrix::get_Q(), INF, is_lower_bound(), is_upper_bound(), basic::options::OptionKeys::frags::j, Q, QD, basic::options::OptionKeys::in::file::t, TAU, and y.
Referenced by Solve().
References active_set, active_size, alpha, alpha_status, calculate_rho(), clone(), Cn, demo.D060_Folding::counter, Cp, do_shrinking(), eps, fmt::fprintf(), G, G_bar, get_C(), QMatrix::get_Q(), QMatrix::get_QD(), info(), is_lower_bound(), is_upper_bound(), basic::options::OptionKeys::mp::mutate_relax::iter, basic::options::OptionKeys::frags::j, l, max(), min(), Solver::SolutionInfo::obj, p, Q, QD, reconstruct_gradient(), Solver::SolutionInfo::rho, select_working_set(), sum(), TAU, unshrink, update_alpha_status(), Solver::SolutionInfo::upper_bound_n, Solver::SolutionInfo::upper_bound_p, test.T850_SubClassing::v, and y.
Referenced by Solver_NU::Solve(), solve_c_svc(), solve_epsilon_svr(), and solve_one_class().
void Solver::swap_index |
( |
int |
i, |
|
|
int |
j |
|
) |
| |
|
protected |
References active_set, alpha, alpha_status, G, G_bar, p, Q, swap(), QMatrix::swap_index(), and y.
Referenced by do_shrinking(), and Solver_NU::do_shrinking().
void Solver::update_alpha_status |
( |
int |
i | ) |
|
|
inlineprotected |
char* Solver::alpha_status |
|
protected |
Referenced by be_shrunk(), Solver_NU::be_shrunk(), calculate_rho(), Solver_NU::calculate_rho(), do_shrinking(), Solver_NU::do_shrinking(), reconstruct_gradient(), select_working_set(), Solver_NU::select_working_set(), Solve(), and swap_index().
Referenced by be_shrunk(), Solver_NU::be_shrunk(), calculate_rho(), Solver_NU::calculate_rho(), do_shrinking(), Solver_NU::do_shrinking(), get_C(), select_working_set(), Solver_NU::select_working_set(), Solve(), and swap_index().
The documentation for this class was generated from the following file: