43 _stack.push_back (
Level (a));
49 assert (!_stack.empty ());
50 float const a = _stack.back().allocation;
52 _stack.back().normalised += a;
61 assert (!_stack.empty ());
63 _stack.back().normalised = p;
67 for (list<Level>::iterator i = _stack.begin(); i != _stack.end(); ++i) {
68 factor *= i->allocation;
69 overall += i->normalised * factor;
72 set_overall_progress (overall);