Pascal Massimino 1336fa719d Only recompute level_cost_[] when needed
Add a dirty_ flag to keep track of updated probabilities and the need to
recompute the level costs.
This only makes a difference for "-m 2" method which was sub-optimal.
But it's overall cleaner to have this flag.

Change-Id: I21c71201e1d07a923d97a3adf2fbbd7d67d35433
2012-01-25 07:52:34 -08:00
..
2012-01-23 02:36:38 -08:00
2012-01-18 13:12:45 -08:00
2012-01-23 17:51:01 -08:00
2012-01-12 18:37:45 -08:00
2012-01-23 17:51:01 -08:00
2011-03-26 10:15:44 -07:00
2011-03-26 10:15:44 -07:00