RsBundle  Diff

Differences From Artifact [8a59c36f6b]:

  • File src/solver.rs — part of check-in [2d05075c29] at 2019-07-17 19:21:47 on branch async — Add `MasterProblem::Err` type variable (user: fifr size: 36800)

To Artifact [ba9aceeb6f]:

  • File src/solver.rs — part of check-in [c73935e202] at 2019-07-19 14:05:34 on branch async — Basic implementation of parallel solver (user: fifr size: 36771)

145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
     * The type of the current step.
     *
     * If the current step is Step::Term, the weighter should be reset.
     */
    pub step: Step,
}

impl<'a> BundleState<'a> {}

macro_rules! current_state {
    ($slf:ident, $step:expr) => {
        BundleState {
            cur_y: &$slf.cur_y,
            cur_val: $slf.cur_val,
            nxt_y: &$slf.nxt_y,
            nxt_mod: $slf.nxt_mod,







<
<







145
146
147
148
149
150
151


152
153
154
155
156
157
158
     * The type of the current step.
     *
     * If the current step is Step::Term, the weighter should be reset.
     */
    pub step: Step,
}



macro_rules! current_state {
    ($slf:ident, $step:expr) => {
        BundleState {
            cur_y: &$slf.cur_y,
            cur_val: $slf.cur_val,
            nxt_y: &$slf.nxt_y,
            nxt_mod: $slf.nxt_mod,