| 165 | |
| 166 | protected: |
| 167 | virtual void preprocessData(int time, const BCDCall& call) { |
| 168 | BCDServer<Real>::preprocessData(time, call); |
| 169 | for (int grp : fea_grp_) { |
| 170 | size_t n = model_.key(grp).size(); |
| 171 | active_set_[grp].resize(n, true); |
| 172 | delta_[grp].resize(n, bcd_conf_.GetExtension(delta_init_value)); |
| 173 | } |
| 174 | } |
| 175 | virtual void updateModel(int time, const BCDCall& call) { |
| 176 | if (call.has_kkt_filter_threshold()) { |
| 177 | kkt_filter_threshold_ = call.kkt_filter_threshold(); |