To Satisfy Impatient Web Surfers Is Hard
Prefetching is a basic mechanism for faster data access and efficient computing. An important issue in prefetching is the tradeoff between the amount of network’s resources wasted by the prefetching and the gain of time. For instance, in the Web, browsers may download documents in advance while a Web surfer is surfing on the Web. Since the Web surfer follows the hyperlinks in an unpredictable way, the choice of the Web pages to be prefetched must be computed online. The question is then to determine the minimum amount of resources used by prefetching that ensures that all documents accessed by the Web surfer have previously been loaded in the cache.
We model this problem as a two-players game similar to Cops and Robber Games in graphs. The first player, a fugitive, starts on a marked vertex of a (di)graph G. The second player, an observer, marks k ≥ 1 vertices, then the fugitive moves along one edge/arc of G to a new vertex, then the observer marks k vertices, etc.
The observer wins if he prevents the fugitive to reach an unmarked vertex. The fugitive wins otherwise, i.e., if she succeed to enter an unmarked vertex. The surveillance number of a (di)graph is the minimum k ≥ 1 allowing the observer to win against any strategy of the fugitive.
We study the computational complexity of the game. We show that deciding whether the surveillance number of a chordal graph equals 2 is NP-hard. Deciding if the surveillance number of a DAG equals 4 is PSPACE-complete. Moreover, computing the surveillance number is NP-hard in split graphs. On the other hand, we provide polynomial time algorithms computing surveillance numbers of trees and interval graphs. Moreover, in the case of trees, we establish a combinatorial characterization, related to isoperimetry, of the surveillance number.
KeywordsPrefetching Cops and robber games PSPACE-complete
Unable to display preview. Download preview PDF.
- 2.Alspach, B.: Searching and sweeping graphs: a brief survey. In: Le Matematiche, pp. 5–37 (2004)Google Scholar
- 3.Fomin, F.V., Giroire, F., Jean-Marie, A., Mazauric, D., Nisse, N.: To satisfy impatient web surfers is hard. Technical Report INRIA-7740, INRIA (2011), http://hal.inria.fr/inria-00625703/fr/
- 5.Garey, M.R., Johnson, D.S.: Computers and Intractability; A Guide to the Theory of NP-Completeness. W. H. Freeman & Co., New York (1990)Google Scholar
- 6.Grigoras, R., Charvillat, V., Douze, M.: Optimizing hypervideo navigation using a Markov decision process approach. ACM Multimedia, 39–48 (2002)Google Scholar
- 7.Zona Research Inc. The economic impacts of unacceptable web-site download speeds. White paper, Redwood City, CA (April 1999), http://www.webperf.net/info/wp_downloadspeed.pdf
- 8.Joseph, D., Grunwald, D.: Prefetching using Markov predictors. In: ISCA, pp. 252–263 (1997)Google Scholar
- 9.Morad, O., Jean-Marie, A.: Optimisation en temps-réel du téléchargement de vidéos. In: Proc. of 11th Congress of the French Operations Research Soc. (2010)Google Scholar