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-09 02:37:44 -08:00
2012-01-09 02:37:44 -08:00
2012-01-23 02:36:38 -08:00
2012-01-06 14:49:06 -08:00
2012-01-23 02:50:58 -08:00
2012-01-23 02:36:38 -08:00