The online weighted matching problem is a fundamental problem in machine learning due to its numerous applications. Despite many efforts in this area, existing algorithms are either too slow or don’t take (the longest time a node can be matched) into account. In this paper, we introduce a market model with first. Next, we present our two optimized algorithms ( and ) and offer theoretical proof of the time complexity and correctness of our algorithms. In algorithm, we have already known if a node is a buyer or a seller. But in algorithm, the status of each node is unknown at first. Then, we generalize a sketching matrix to run the original and our algorithms on both real data sets and synthetic data sets. Let denote the relative error of the real weight of each edge. The competitive ratio of original and is and respectively. Based on these two original algorithms, we proposed and algorithms and the competitive ratio of them is and respectively. At the same time, our algorithms run faster than the original two algorithms. Given nodes in , we decrease the time complexity from to , where for any function , we use to denote .

生成讲解博客的中文版本

生成AI智能校验的中文版本