Next: Binary tree case
Up: Cache Placement
Previous: Cache Placement
We define the problem first.
Given a rooted tree with vertices. Every leaf is associated with
a non-negative weight . There are pebbles, where is
at most the number of leaves. Consider any placement of
up to pebbles on any vertices of the tree. A placement of pebbles
is called feasible if every leaf
with a non-zero weight has an ancestor which has
a pebble on it. Here the ancestor relation is the reflexive and
transitive closure of the parent relation, in particular every vertex
is an ancestor of itself. The cost of any feasible placement
is defined as follows:
where the sum is over all leaves , and the cost associated with the leaf ,
denoted by , is
,
where is the distance from to the closest pebbled ancestor
of . Here the distance between two vertices of the tree
is the number of edges on the unique shortest path between them.
For technical reasons we define the cost of an infeasible placement
to be .
The goal is to find a feasible placement with at most pebbles
such that is minimized.
Next: Binary tree case
Up: Cache Placement
Previous: Cache Placement
Jim Gast
2001-04-20