, Volume 18, Issue 2, pp 229–251 | Cite as

A comparative study of two approaches for supporting optimal network location queries

  • Parisa GhaemiEmail author
  • Kaveh Shahabi
  • John P. Wilson
  • Farnoush Banaei-Kashani


Given a set S of sites and a set O of weighted objects, an optimal location query finds the location(s) where introducing a new site maximizes the total weight of the objects that are closer to the new site than to any other site. With such a query, for instance, a franchise corporation (e.g., McDonald’s) can find a location to open a new store such that the number of potential store customers (i.e., people living close to the store) is maximized. Optimal location queries are computationally complex to compute and require efficient solutions that scale with large datasets. Previously, two specific approaches have been proposed for efficient computation of optimal location queries. However, they both assume p-norm distance (namely, L1 and L2/Euclidean); hence, they are not applicable where sites and objects are located on spatial networks. In this article, we focus on optimal network location (ONL) queries, i.e., optimal location queries in which objects and sites reside on a spatial network. We introduce two complementary approaches, namely EONL (short for Expansion-based ONL) and BONL (short for Bound-based ONL), which enable efficient computation of ONL queries with datasets of uniform and skewed distributions, respectively. Moreover, with an extensive experimental study we verify and compare the efficiency of our proposed approaches with real world datasets, and we demonstrate the importance of considering network distance (rather than p-norm distance) with ONL queries.


Optimal location queries Spatial network databases 



The authors would like to thank Professor FeiFei Li for making the source code and the corresponding datasets used in [16] accessible.


  1. 1.
    Berman O, Krass D (2002) The generalized maximal covering location problems. Comput Oper Res 29(6):563–581CrossRefGoogle Scholar
  2. 2.
    Church RL (1984) The planar maximal covering location problem. J Reg Sci 24(1984):185–201CrossRefGoogle Scholar
  3. 3.
    Church RL, Revelle C (1974) The maximal covering location problem. Pap Reg Sci Assoc 32(1974):101–118CrossRefGoogle Scholar
  4. 4.
    Dijkstra EW (1959) A note on two problems in connection with graphs. Numeriche Math 1(1):269–271CrossRefGoogle Scholar
  5. 5.
    Du Y, Zhang D, Xia T (2005) The optimal-location query. SSTD 2005:163–180Google Scholar
  6. 6.
    Ghaemi P, Shahabi K, Wilson JP, Banaei-Kashani F (2010) Optimal network location queries. Proceedings of the 18th SIGSPATIAL international conference on advances in geographic. Inf Syst 2010:478–481Google Scholar
  7. 7.
    Goldberg AV, Harrelson C (2005) Computing the shortest path: a* search meets graph theory. ACM-SIAM 2005:156–165Google Scholar
  8. 8.
    Korn F, Muthukrishnan S (2000) Influence sets based on reverse nearest neighbor queries. SIGMOD 29(2):201–212CrossRefGoogle Scholar
  9. 9.
    Mehrez A, Stulman A (1982) The maximal covering location problem with facility placement on the entire plane. J Reg Sci 22(1982):361–365CrossRefGoogle Scholar
  10. 10.
    Murray AT, Tong D (2007) Coverage optimization in continuous space facility siting. Int J Geogr Inf Sci 21(7):757–776CrossRefGoogle Scholar
  11. 11.
    Papadias D, Zhang J, Mamoulis N, Tao Y (2003) Query processing in spatial network databases. VLDB 2003:802–813Google Scholar
  12. 12.
    Stanoi I, Riedwald M, El Abbadi A (2001) Discovery of influence sets in frequently updated databases. VLDB 2001:99–108Google Scholar
  13. 13.
    Toregas C, Swain R, Revelle C (1971) Bergman L (1971) The location of emergency service facilities. Oper Res 19(6):1363–1373CrossRefGoogle Scholar
  14. 14.
    Wong RC, Ozsu MT, Yu PS, Fu AW, Liu L (2009) Efficient method for maximizing bichromatic reverse nearest neighbor. VLDB 2009:1126–1149Google Scholar
  15. 15.
    Xia T, Zhang D, Kanoulas E, Du Y (2005) On computing top-t most influential spatial sites. VLDB 2005:946–957Google Scholar
  16. 16.
    Xiao X, Yao B, Li F (2011) Optimal location queries in road network databases. Proceedings 27th ICDE Conference, 2011Google Scholar
  17. 17.
    Yang C, Lin KI (2001) An index structure for efficient reverse nearest neighbor queries. ICDE 2001:51–60Google Scholar

Copyright information

© Springer Science+Business Media New York 2013

Authors and Affiliations

  • Parisa Ghaemi
    • 1
    Email author
  • Kaveh Shahabi
    • 1
  • John P. Wilson
    • 2
  • Farnoush Banaei-Kashani
    • 1
  1. 1.Computer Science DepartmentUniversity of Southern CaliforniaLos AngelesUSA
  2. 2.Spatial Sciences InstituteUniversity of Southern CaliforniaLos AngelesUSA

Personalised recommendations