summaryrefslogtreecommitdiff
path: root/src/generic/apt/aptitude_resolver.h
diff options
context:
space:
mode:
authorDaniel Burrows <dburrows@debian.org>2010-04-09 20:31:26 -0700
committerDaniel Burrows <dburrows@debian.org>2010-04-09 20:31:26 -0700
commitadf0792850aacc905c17c5a67024dd24ba69360f (patch)
treed1b2443bb565c4f0afa6cedb81895aaa30734bcc /src/generic/apt/aptitude_resolver.h
parent5fbd24d67887dcb9f8fff0dc86c0f57f66eb333b (diff)
downloadaptitude-adf0792850aacc905c17c5a67024dd24ba69360f.tar.gz
Terminology change: replace "tier operation" with "cost" everywhere.
The only remaining references to tiers are in backwards-compatibility code; the "safety" cost component is composed of several "tiers" whose values can be configured.
Diffstat (limited to 'src/generic/apt/aptitude_resolver.h')
-rw-r--r--src/generic/apt/aptitude_resolver.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/generic/apt/aptitude_resolver.h b/src/generic/apt/aptitude_resolver.h
index b958811c..0f792804 100644
--- a/src/generic/apt/aptitude_resolver.h
+++ b/src/generic/apt/aptitude_resolver.h
@@ -409,9 +409,9 @@ public:
/** \brief Retrieve the integer associated with this hint.
*
* For score-tweaking hints, this is the number of points to be
- * added to the version's score. For tier level-tweaking hints,
- * this is the amount to increase the tier by or the value to
- * increase it to.
+ * added to the version's score. For cost-component-tweaking
+ * hints, this is the amount to increase the cost component by or
+ * the value to increase it to.
*/
int get_amt() const { return amt; }
@@ -432,7 +432,7 @@ public:
int unfixed_soft_score,
int infinity,
int resolution_score,
- const tier_operation &unfixed_soft_cost,
+ const cost &unfixed_soft_cost,
int future_horizon,
const aptitude_resolver_cost_settings &_cost_settings,
const imm::map<aptitude_resolver_package, aptitude_resolver_version> &initial_installations,