<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="pmathml.xsl"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>
Abstract: Reordering Buffers for General Metric Spaces
</title>
<script language="JavaScript" type="text/JavaScript" src="../myscript.js"></script>
</head>
<body  style="font-family: Tahoma, Verdana, Arial, sans-serif;" bgcolor="#ffffff">
<script type="text/javascript">
checkBrowserWidth();
window.onresize = checkBrowserWidth;
</script>
<h3 style="color:#A94279">
Reordering Buffers for General Metric Spaces
</h3>

<b>Matthias Englert, Harald R&#228;cke and Matthias Westermann</b>
<p>

In the reordering buffer problem,
we are given an input sequence of requests for service 
each of which corresponds to a point in a metric space.
The cost of serving the requests heavily depends on the processing order.  
Serving a request induces cost corresponding to the distance
between itself and the previously served request, 
measured in the underlying metric space.
A reordering buffer with storage capacity <math xmlns='http://www.w3.org/1998/Math/MathML'><mi>k</mi></math>
can be used to reorder the input sequence in a restricted fashion 
so as to construct an output sequence with lower service cost.  
This simple and universal framework is useful 
for many applications in computer science and economics, 
e.&#x2008;g., disk scheduling, rendering in computer graphics, 
or painting shops in car plants.
</p><p>
In this paper, we design online algorithms for the reordering buffer problem. 
Our main result is a strategy 
with a polylogarithmic competitive ratio for general metric spaces. 
Previous work on the reordering buffer problem only considered 
very restricted metric spaces.
We obtain our result by first developing a deterministic algorithm 
for arbitrary weighted trees with a competitive ratio of <math xmlns='http://www.w3.org/1998/Math/MathML'><mi>O</mi><mo>(</mo><mi>D</mi><mo>&#x022C5;</mo><mo lspace="0em" rspace="thinmathspace">log</mo><mi>k</mi><mo>)</mo></math>, 
where <math xmlns='http://www.w3.org/1998/Math/MathML'><mi>D</mi></math> denotes the unweighted diameter of the tree,
i.&#x2008;e., the maximum number of edges on a path connecting two nodes.
Then we show how to improve this competitive ratio to <math xmlns='http://www.w3.org/1998/Math/MathML'><mi>O</mi><mo>(</mo><msup><mo lspace="0em" rspace="thinmathspace">log</mo> <mn>2</mn></msup><mi>k</mi><mo>)</mo></math> 
for metric spaces that are derived from HSTs. 
Combining this result with the results on probabilistically
approximating arbitrary metrics by tree metrics, 
we obtain a randomized strategy for general metric spaces 
that achieves a competitive ratio of <math xmlns='http://www.w3.org/1998/Math/MathML'><mi>O</mi><mo>(</mo><msup><mo lspace="0em" rspace="thinmathspace">log</mo> <mn>2</mn></msup><mi>k</mi><mo>&#x022C5;</mo><mo lspace="0em" rspace="thinmathspace">log</mo><mi>n</mi><mo>)</mo></math> 
in expectation against an oblivious adversary.
Here <math xmlns='http://www.w3.org/1998/Math/MathML'><mi>n</mi></math> denotes the number of distinct points in the metric space.
Note that the length of the input sequence can be much larger than <math xmlns='http://www.w3.org/1998/Math/MathML'><mi>n</mi></math>.
</p></body></html>

