Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

Advertisement

Springer Nature Link
Log in

Weighted Online Problems with Advice

  • Published:
Theory of Computing Systems Aims and scope Submit manuscript

Abstract

Recently, the first online complexity class,AOC, was introduced. The class consists of many online problems where each request must be either accepted or rejected, and the aim is to either minimize or maximize the number of accepted requests, while maintaining a feasible solution. AllAOC-complete problems (including Independent Set, Vertex Cover, Dominating Set, and Set Cover) have essentially the same advice complexity. In this paper, we study weighted versions of problems inAOC, i.e., each request comes with a weight and the aim is to either minimize or maximize the total weight of the accepted requests. In contrast to the unweighted versions, we show that there is a significant difference in the advice complexity of complete minimization and maximization problems. We also show that our algorithmic techniques for dealing with weighted requests can be extended to work for non-completeAOC problems such as Matching in the edge arrival model (giving better results than what follow from the generalAOC results) and even non-AOC problems such as scheduling.

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

Access this article

Log in via an institution

Subscribe and save

Springer+ Basic
¥17,985 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price includes VAT (Japan)

Instant access to the full article PDF.

Similar content being viewed by others

Notes

  1. For example, ⌈logn⌉could be written in unary (⌈logn⌉ones, followed by a zero) before writing n itself in binary.

  2. f is a norm iff(αv) = |α|f(v),f(u +v) ≤f(u) +f(v), andf(v) = 0 ⇒v =0.

References

  1. Albers, S., Hellwig, M.: Online Makespan Minimization with Parallel Schedules. In: SWAT, LNCS, vol. 8503, pp 13–25 (2014)

  2. Böckenhauer, H. J., Hromkovič, J., Komm, D., Krug, S., Smula, J., Sprock, A.: The string guessing problem as a method to prove lower bounds on the advice complexity. Theor. Comput. Sci.554, 95–108 (2014)

    Article MathSciNet MATH  Google Scholar 

  3. Böckenhauer, H. J., Komm, D., Královič, R., Královič, R., Mömke, T.: On the Advice Complexity of Online Problems. In: ISAAC, LNCS, vol. 5878, pp 331–340 (2009)

  4. Borodin, A., Irani, S., Raghavan, P., Schieber, B.: Competitive paging with locality of reference. J. Comput. Syst. Sci.50(2), 244–258 (1995)

    Article MathSciNet MATH  Google Scholar 

  5. Boyar, J., Epstein, L., Favrholdt, L.M., Larsen, K.S., Levin, A.: Online Bounded Analysis. In: CSR, LNCS, vol. 9691, pp 131–145 (2016)

  6. Boyar, J., Favrholdt, L.M., Kudahl, C., Larsen, K.S., Mikkelsen, J.W.: Online algorithms with advice: a survey. ACM Comput. Surv. (CSUR)50(2), 19 (2017)

    Article MATH  Google Scholar 

  7. Boyar, J., Favrholdt, L.M., Kudahl, C., Mikkelsen, J.W.: Advice Complexity for a Class of Online Problems. In: STACS, LIPIcs, vol. 30, pp. 116–129 (2015). Full paper to appear in Theory of Computing Systems

  8. Chrobak, M., Noga, J.: LRU is better than FIFO. Algorithmica23(2), 180–185 (1999)

    Article MathSciNet MATH  Google Scholar 

  9. Dobrev, S., Královič, R., Pardubská, D.: Measuring the problem-relevant information in input. RAIRO - Theor. Inf. Appl.43(3), 585–613 (2009)

    Article MathSciNet MATH  Google Scholar 

  10. Dürr, C., Konrad, C., Renault, M.P.: On the Power of Advice and Randomization for Online Bipartite Matching. In: ESA, LIPIcs, pp 37:1–37:16 (2016)

  11. Emek, Y., Fraigniaud, P., Korman, A., Rosén, A.: Online computation with advice. Theor. Comput. Sci.412(24), 2642–2656 (2011)

    Article MathSciNet MATH  Google Scholar 

  12. Karlin, A.R., Manasse, M.S., Rudolph, L., Sleator, D.D.: Competitive snoopy caching. Algorithmica3, 77–119 (1988)

    Article MathSciNet MATH  Google Scholar 

  13. Komm, D., Královič, R., Královič, R., Kudahl, C.: Advice Complexity of the Online Induced Subgraph Problem. In: MFCS, LIPIcs, vol. 58, pp 59:1–59:13 (2016)

  14. Mikkelsen, J.W.: Randomization can be as Helpful as a Glimpse of the Future in Online Computation. In: ICALP, LIPIcs, vol. 55, pp 39:1–39:14 (2016)

  15. Renault, M.P., Rosén, A., van Stee, R.: Online algorithms with advice for bin packing and scheduling problems. Theor. Comput. Sci.600, 155–170 (2015)

    Article MathSciNet MATH  Google Scholar 

  16. Sleator, D.D., Tarjan, R.E.: Amortized efficiency of list update and paging rules. Commun. ACM28(2), 202–208 (1985)

    Article MathSciNet  Google Scholar 

  17. Smula, J.: Information Content of Online Problems: Advice Versus Determinism and Randomization. Ph.D. Thesis, ETH Zürich (2015)

    Google Scholar 

  18. Sprock, A.: Analysis of Hard Problems in Reoptimization and Online Computation. Ph.D. thesis, ETH Zürich (2013)

    Google Scholar 

Download references

Acknowledgments

This work was partially supported by the Villum Foundation, grant VKR023219, and the Danish Council for Independent Research, Natural Sciences, grant DFF-1323-00247.

Author information

Authors and Affiliations

  1. Department of Mathematics and Computer Science, University of Southern Denmark, 5230, Odense, Denmark

    Joan Boyar, Lene M. Favrholdt, Christian Kudahl & Jesper W. Mikkelsen

Authors
  1. Joan Boyar

    You can also search for this author inPubMed Google Scholar

  2. Lene M. Favrholdt

    You can also search for this author inPubMed Google Scholar

  3. Christian Kudahl

    You can also search for this author inPubMed Google Scholar

  4. Jesper W. Mikkelsen

    You can also search for this author inPubMed Google Scholar

Corresponding author

Correspondence toJoan Boyar.

Additional information

This article is part of the Topical Collection onSpecial Issue on Combinatorial Algorithms

A preliminary version of this paper appeared in the proceedings of the 27th International Workshop on Combinatorial Algorithms (IWOCA 2016), Lecture Notes in Computer Science, vol. 9843, pp. 179–190, Springer (2016).

Appendices

Appendix A: AOC-Complete Problems

For completeness, we state the full definition ofminASGk from [7]:

Definition 7 ([7])

The minimum asymmetric string guessing problem with known history,minASGk, has input 〈?,x1,…,xn〉, wherex =x1xn ∈{0, 1}n, forsome\(n\in \mathbb {N}\).For 1 ≤in,round i proceeds as follows:

  1. 1.

    Ifi > 1,the algorithm learns the correct answer,xi−1,to the request in the previous round.

  2. 2.

    The algorithm answersyi =f(x1,…,xi−1) ∈{0, 1},where f is a function defined by the algorithm.

The outputy =y1yncomputed by thealgorithm is feasible, if\(x\sqsubseteq y\).Otherwise, y is infeasible. The cost of a feasible output is |y|1, and the cost of aninfeasible output is.

In addition tominASGk, the class ofAOC-complete problems also contains many graph problems. The following four graph problems are studied in the vertex-arrival model, so the requests are vertices, each presented together with its edges to previous vertices. The first three problems are minimization problems and the last one is a maximization problem. InVertex Cover, an algorithm must accept a set of vertices which constitute a vertex cover, so for every edge in the requested graph, at least one of its endpoints is accepted. ForDominating Set, the accepted vertices must constitute a dominating set, so every vertex in the requested graph must be accepted, or one its neighbors must be accepted. InCycle Finding, an algorithm must accept a set of vertices inducing a cyclic graph. ForIndependent Set, the accepted vertices must form an independent set, i.e., no two accepted vertices share an edge.

ForDisjoint Path Allocation a pathP is given, and the requests are subpaths ofP. The aim is to accept as many edge disjoint paths as possible.

ForSet Cover, the requests are finite subsets from a known universe, and the union of the accepted subsets must be the entire universe. The aim is to accept as few subsets as possible.

Appendix B: Reductions for Theorem 2

In the proof of Theorem 2, a reduction sketch was given for the weighted online version of Vertex Cover. Here we include sketches for the reductions for the weighted versions of Cycle Finding, Dominating Set and Set Cover.

1.1Cycle Finding

Each inputσ = 〈x1,x2,…,xn〉 to the problemminASGk, is transformed tof(σ) = 〈v1,v2,…,vn〉, whereV = {v1,v2,…,vn} is the vertex set of a graph with edge setE = {(vj,vi):f(xi) =j}∪{(vmin,vmax)}, wheref(xi) is the largestj <i such thatxj = 1, max is the largesti such thatxi = 1, and min is the smallesti such thatxi = 1. If |σ|1 > 2, the vertices corresponding to 1s form the only cycle in the graph.

The advice used by theminASGk algorithm Alg1 consists of the advice used by the Cycle Finding algorithm Alg2 in combination with 1 bit indicating whether or not |σ|1 ≤ 2 and in this case (an encoding of) one or two indices of 1s in the input sequence. If |σ|1 > 2, then Alg2 accepts some vertices, and Alg1 returns a 1 for thexi corresponding to each of those vertices.

If Alg1 returns a non-optimal feasible set, Alg2 does too, and the sets have the same weights, so Alg1(σ) ≤Alg2(f(σ)) + Opt(σ). In this case, the weights of the optimal solutions forσ andf(σ) are both the sum of the weights of the elements corresponding to 1s inσ, sof is a length preservingO(f(n))-reduction.

1.2Dominating Set

Each inputσ = 〈x1,x2,…,xn〉 to the problemminASGk, is transformed tof(σ) = 〈v1,v2,…,vn〉, whereV = {v1,v2,…,vn} is the vertex set of a graph with edge setE = {(vi,vmax)}., where max is the largesti such thatxi = 1.

The advice used by theminASGk algorithm Alg1 consists of the advice used by the Dominating Set algorithm Alg2 in combination with 1 bit indicating whether or not |σ|1 = 0. If |σ|1 ≥ 1, then there is another bit of advice indicating whether or not Alg2 acceptedvmax. If Alg2 did not acceptvmax, the advice also contains an index of a vertex corresponding to a 0 inσ which was accepted, plus the index ofvmax.

If Alg1’s solution is feasible, but not optimal, then |σ|1 > 0 and Alg2 accepts some vertices, and Alg1 returns a 1 for thexi corresponding to each of those vertices (though, in the case wherevmax was rejected, it answers 1 forxmax and answers 0 for the earlier request indicated by the advice).

If |σ|1 > 0 a minimum weight dominating set forf(σ) consists of exactly those vertices corresponding to 1s inσ, so the weights of the optimal solutions forσ andf(σ) are both the sum of the weights of the elements corresponding to 1s inσ, unless Alg2 did not acceptvmax. However, the weight ofxmax ≤Opt(σ), so Alg1(σ) ≤Alg2(f(σ)) + Opt(σ). Thus,f is a length preservingO(log(n)-reduction.

1.3Set Cover

This reduction is very similar to that for Dominating Set. Each inputσ = 〈x1,x2,…,xn〉 to the problemminASGk, max is the largesti such thatxi = 1. In the set cover instance, the universe is {1,…,n}, andf(σ) is a set ofn requests, where requesti is {i}, unlessi = max, in which case, the set consists of max and all of thej wherexj = 0.

As with the reduction to Dominating Set, this is a length preservingO(log(n)-reduction.

Rights and permissions

About this article

Associated Content

Part of a collection:

Combinatorial Algorithms (IWOCA 2016)

Access this article

Subscribe and save

Springer+ Basic
¥17,985 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price includes VAT (Japan)

Instant access to the full article PDF.

Advertisement


[8]ページ先頭

©2009-2025 Movatter.jp