Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to main content

Sum-of-Local-Effects Data Structures for Separable Graphs

  • Conference paper
  • First Online:
Computing and Combinatorics (COCOON 2023)

Abstract

It is not difficult to think of applications that can be modelled as graph problems in which placing some facility or commodity at a vertex has some positive or negative effect on the values of all the vertices out to some distance, and we want to be able to calculate quickly the cumulative effect on any vertex’s value at any time or the list of the most beneficial or most detrimential effects on a vertex. In this paper we show how, given an edge-weighted graph with constant-size separators, we can support the following operations in time polylogarithmic in the number of vertices and the number of facilities placed on the vertices, where distances between vertices are measured with respect to edge weights:

  • Add \(\boldsymbol{(v, f, w, d)}\) places a facility of weight w and with effect radius d onto vertex v.

  • Remove \(\boldsymbol{(v, f)}\) removes a facility f previously placed on v using \(\textsc {Add}\) from v.

  • Sum \(\boldsymbol{(v)}\) or Sum\(\boldsymbol{(v, d)}\) returns the total weight of all facilities affecting v or, with a distance parameter d, the total weight of all facilities whose effect region intersects the “circle” with radius d around v.

  • Top\(\boldsymbol{(v, k)}\) or Top\(\boldsymbol{(v, k, d)}\) returns the k facilities of greatest weight that affect v or, with a distance parameter d, whose effect region intersects the “circle” with radius d around v.

The weights of the facilities and the operation that \(\textsc {Sum}\) uses to “sum” them must form a semigroup. For \(\textsc {Top}\) queries, the weights must be drawn from a total order.

This work is supported by NSERC.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Bentley, J.L.: Decomposable searching problems. Inf. Process. Lett. 8(5), 244–251 (1979)

    Article  MathSciNet  MATH  Google Scholar 

  2. Blum, M., Floyd, R.W., Pratt, V., Rivest, R.L., Tarjan, R.E.: Time bounds for selection. J. Comput. Syst. Sci. 7(4), 448–461 (1973)

    Article  MathSciNet  MATH  Google Scholar 

  3. Bodlaender, H.L., Kloks, T.: Efficient and constructive algorithms for the pathwidth and treewidth of graphs. J. Algorithms 21(2), 358–402 (1996)

    Article  MathSciNet  MATH  Google Scholar 

  4. McCreight, E.M.: Priority search trees. SIAM J. Comput. 14(2), 257–276 (1985)

    Article  MathSciNet  MATH  Google Scholar 

  5. Robertson, N., Seymour, P.D.: Graph minors. X. Obstructions to tree-decomposition. J. Comb. Theory B 52(2), 153–190 (1991)

    Google Scholar 

  6. Willard, D.E., Lueker, G.S.: Adding range restriction capability to dynamic data structures. J. ACM 32(3), 597–617 (1985)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Travis Gagie .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Lyu, X., Gagie, T., He, M., Nekrich, Y., Zeh, N. (2024). Sum-of-Local-Effects Data Structures for Separable Graphs. In: Wu, W., Tong, G. (eds) Computing and Combinatorics. COCOON 2023. Lecture Notes in Computer Science, vol 14422. Springer, Cham. https://doi.org/10.1007/978-3-031-49190-0_14

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-49190-0_14

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-49189-4

  • Online ISBN: 978-3-031-49190-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics