We consider the minimum spanning tree problem with predictions, using the weight-arrival model, i.e., the graph is given, together with predictions for the weights of all edges. Then the actual weights arrive one at a time and an irrevocable decision must be made regarding whether or not the edge should be included into the spanning tree. In order to assess the quality of our algorithms, we define an appropriate error measure and analyze the performance of the algorithms as a function of the error. We prove that, according to competitive analysis, the simplest algorithm, Follow-the-Predictions, is optimal. However, intuitively, one should be able to do better, and we present a greedy variant of Follow-the-Predictions. In analyzing that algorithm, we believe we present the first random order analysis of a non-trivial online algorithm with predictions, by which we obtain an algorithmic separation. This may be useful for distinguishing between algorithms for other problems when Follow-the-Predictions is optimal according to competitive analysis.
翻译:我们用运到重量的模型,即图表和所有边缘的重量的预测一起给出。然后,实际的重量一次到达一个位置,并且必须就边缘是否应该包含在横贯的树上作出不可撤销的决定。为了评估我们的算法的质量,我们用错误的函数来界定适当的误差度和分析算法的性能。我们证明,根据竞争性分析,最简单的算法,即跟踪预测是最佳的。然而,直观地说,一个人应该能够做得更好,我们提出了一个贪婪的追踪模型。在分析这一算法时,我们认为,我们用预测来提出对非三角在线算法的第一次随机排序分析,我们通过这种算法进行算法分离。这或许有助于区分其他问题的算法,因为跟踪预测最符合竞争性分析。