AVERAGE-CASE ANALYSIS OF UNIFICATION ALGORITHMS

被引:6
|
作者
ALBERT, L
CASAS, R
FAGES, F
机构
[1] ECOLE NORMALE SUPER, INFORMAT LAB, CNRS, URA 1327, 45 RUE ULM, F-75231 PARIS 05, FRANCE
[2] DOMAINE VOLUCEAU, INST NATL RECH & INFORMAT & AUTOMAT, F-78150 LE CHESNAV, FRANCE
[3] UNIV POLITECN CATALUNYA, DEPT LLENGUATGES & SISTEMES, E-08028 BARCELONA, SPAIN
关键词
D O I
10.1016/0304-3975(93)90208-B
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Unification in first-order languages is a central operation in symbolic computation and logic programming. Many unification algorithms have been proposed in the past: however. there is no consensus on which algorithm is the best to use in practice. While Paterson and Wegman's linear unification algorithm (1978) has the lowest time complexity in the worst case, it requires an important overhead to be implemented. This is true also. although less importantly, for Martelli and Montanari's algorithm (Martelli and Montanari 1982), and Robinson's algorithm (Robinson 1971), is finally retained in many applications despite its exponential worst-case time complexity. In this paper, we present unification algorithms in a uniform way and provide average-case complexity theoretic arguments. We estimate the number of unifiable pairs of trees. We analyse the different reasons for failure and get asymptotical and numerical evaluations. We then extend the previous results of Dershowitz and Lindenstrauss (1989) to these families of trees and show that a slight modification of Herbrand-Robinson's algorithm has a constant average cost on random pairs of trees. On the other hand, we show that various variants of Martelli and Montanari's algorithm all have a linear average cost on random pairs of trees. The reason is that failures by clash are not sufficient to lead to a constant average cost; an efficient occur check, i.e. without a complete traversal of subterms, is necessary. In the last section, we present a combinatorial extension of the problem for terms formed over a countable set of variables, and extend to this framework the results on the probability of the occur-check.
引用
收藏
页码:3 / 34
页数:32
相关论文
共 50 条
  • [21] Presorting algorithms: An average-case point of view
    Hwang, HK
    Yang, BY
    Yeh, YN
    THEORETICAL COMPUTER SCIENCE, 2000, 242 (1-2) : 29 - 40
  • [22] TOWARDS AVERAGE-CASE ALGORITHMS FOR ABSTRACT ARGUMENTATION
    Nofal, Samer
    Dunne, Paul
    Atkinson, Katie
    ICAART: PROCEEDINGS OF THE 4TH INTERNATIONAL CONFERENCE ON AGENTS AND ARTIFICIAL INTELLIGENCE, VOL 1, 2012, : 225 - 230
  • [23] AVERAGE-CASE ANALYSIS OF GREEDY ALGORITHMS FOR OPTIMIZATION PROBLEMS ON SET SYSTEMS
    BLOT, J
    DELAVEGA, WF
    PASCHOS, VT
    SAAD, R
    COMPTES RENDUS DE L ACADEMIE DES SCIENCES SERIE I-MATHEMATIQUE, 1995, 321 (06): : 805 - 808
  • [24] AVERAGE-CASE ANALYSIS OF GREEDY ALGORITHMS FOR OPTIMIZATION PROBLEMS ON SET SYSTEMS
    BLOT, J
    DELAVEGA, WF
    PASCHOS, VT
    SAAD, R
    THEORETICAL COMPUTER SCIENCE, 1995, 147 (1-2) : 267 - 298
  • [25] Average-Case Analysis of Mechanism Design with Approximate Resource Allocation Algorithms
    Vorobeychik, Yevgeniy
    Engel, Yagil
    INTERNET AND NETWORK ECONOMICS, 2010, 6484 : 571 - +
  • [26] Average-case analysis of classification algorithms for Boolean functions and decision trees
    Scheffer, T
    ALGORITHMIC LEARNING THEORY, PROCEEDINGS, 2000, 1968 : 194 - 208
  • [27] New and improved search algorithms and precise analysis of their average-case complexity
    Amrahov, Sahin Emrah
    Mohammed, Adnan Saher
    Celebi, Fatih V.
    FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2019, 95 : 743 - 753
  • [28] An Axiomatic and an Average-Case Analysis of Algorithms and Heuristics for Metric Properties of Graphs
    Borassi, Michele
    Crescenzi, Pierluigi
    Trevisan, Luca
    PROCEEDINGS OF THE TWENTY-EIGHTH ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, 2017, : 920 - 939
  • [29] Worst-Case Running Times for Average-Case Algorithms
    Antunes, Luis
    Fortnow, Lance
    PROCEEDINGS OF THE 24TH ANNUAL IEEE CONFERENCE ON COMPUTATIONAL COMPLEXITY, 2009, : 298 - +
  • [30] Disintegration of Gaussian measures and average-case optimal algorithms
    Tarieladze, Vaja
    Vakhania, Nicholas
    JOURNAL OF COMPLEXITY, 2007, 23 (4-6) : 851 - 866