summaryrefslogtreecommitdiff
path: root/tests/test_resolver_hints.cc
diff options
context:
space:
mode:
authorDaniel Burrows <dburrows@debian.org>2010-04-08 22:37:54 -0700
committerDaniel Burrows <dburrows@debian.org>2010-04-08 22:37:54 -0700
commit1d46e66bab8d97c39f07e562a8bb2dacd7e68c6e (patch)
treeb6dfc422d68405c8bd60dbea9097c56dfcd35606 /tests/test_resolver_hints.cc
parentb766839fd98b8c6d3eeea24788c321d285404d91 (diff)
downloadaptitude-1d46e66bab8d97c39f07e562a8bb2dacd7e68c6e.tar.gz
Yank out the "tier" type and just use operations instead.
Although the concept of a "tier" is useful (to distinguish changes in the tier from the things being changed), the actual data type isn't needed. We can just store an operation that computes the tier of a step given a minimal tier. Throwing out tier objects yields several benefits. It makes the code somewhat simpler by reducing the number of complex object types floating around. It will make it easier to clean up the nomenclature by talking about costs instead of tiers. And it will make it easier to impose a "cost ceiling", just by virtue of making the cost-tracking subsystem simpler.
Diffstat (limited to 'tests/test_resolver_hints.cc')
0 files changed, 0 insertions, 0 deletions