We examine the problem of self-organizing linear search lists, which are lists that react to queries received from an environment by running a heuristic to reorganize the records in order to minimize the search cost. In particular, we are concerned with environments with the locality of reference phenomenon, when the queries exhibit a probabilistic dependence between themselves. We introduce a novel list organization framework that we call Lists-on-Lists (LOL), which regards the list as a set of sublists that are manageable in the same way that individual records are. An LOL organization involves a reorganization operation on the accessed record level, as well as another on the sublist which it belongs to (the record's context). We show that it is beneficial to consider the reorganization of the context together with the accessed record, since other records within the context are likely to be accessed in the near future. With the aid of a learning automaton-based partitioning algorithm, we demonstrate that we can accurately classify the different contexts of the sublist. To the best of our knowledge, both the concept of reorganizing the list 'hierarchically' using such a two-step LOL process, and the application of stochastic learning to this problem are new to the field. Indeed, while the costs involved to achieve these enhancements are almost of the same order as that which achieves basic list-organizing, using this framework, we were able to empirically achieve asymptotic search costs that are significantly superior to (sometimes even an order of magnitude better than) the Move-To-Front heuristic, widely acknowledged as the best algorithm for such environments.

Additional Metadata
Keywords Adaptive data structures, Lists-on-Lists, Locality of reference, Self-organizing lists
Persistent URL dx.doi.org/10.1093/comjnl/bxl067
Journal Computer Journal
Citation
Amer, A. (Abdelrahman), & Oommen, J. (2007). A novel framework for self-organizing lists in environments with locality of reference: Lists-on-lists. Computer Journal, 50(2), 186–196. doi:10.1093/comjnl/bxl067