Multi-dimensional Rankings, Program Termination, and Complexity Bounds of Flowchart Programs

被引:0
|
作者
Alias, Christophe [1 ]
Darte, Alain [1 ]
Feautrier, Paul [1 ]
Gonnord, Laure [2 ]
机构
[1] LIP, Compsys Team, Lyon, France
[2] Univ Lille, LIFL, CNRS USTL, UMR 8022, F-59650 Villeneuve Dascq, France
来源
STATIC ANALYSIS | 2010年 / 6337卷
关键词
LINEAR RANKING;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Proving the termination of a flowchart program can be done by exhibiting a ranking function, i.e., a function from the program states to a well-founded set, which strictly decreases at each program step. A standard method to automatically generate such a function is to compute invariants for each program point and to search for a ranking in a restricted class of functions that can be handled with linear programming techniques. Previous algorithms based on affine rankings either are applicable only to simple loops (i.e., single-node flowcharts) and rely on enumeration, or are not complete in the sense that they are not guaranteed to find a ranking in the class of functions they consider, if one exists. Our first contribution is to propose an efficient algorithm to compute ranking functions: It can handle flowcharts of arbitrary structure, the class of candidate rankings it explores is larger, and our method, although greedy, is provably complete. Our second contribution is to show how to use the ranking functions we generate to get upper bounds for the computational complexity (number of transitions) of the source program. This estimate is a polynomial, which means that we can handle programs with more than linear complexity. We applied the method on a collection of test cases from the literature. We also show the links and differences with previous techniques based on the insertion of counters.
引用
收藏
页码:117 / +
页数:3
相关论文
共 50 条
  • [41] Advanced Multi-Dimensional Cellular Models as Emerging Reality to Reproduce In Vitro the Human Body Complexity
    Bassi, Giada
    Grimaudo, Maria Aurora
    Panseri, Silvia
    Montesi, Monica
    [J]. INTERNATIONAL JOURNAL OF MOLECULAR SCIENCES, 2021, 22 (03) : 1 - 28
  • [42] Low-Complexity Embedded BICM-ID Structure for Multi-Dimensional Coded Modulation
    Xiao, Zhiyu
    Li, Mo
    Yu, Fan
    Stojanovic, Nebojsa
    Xie, Changsong
    Li, Liangchuan
    [J]. 2017 OPTICAL FIBER COMMUNICATIONS CONFERENCE AND EXHIBITION (OFC), 2017,
  • [43] Diachronic Changes and Multi-dimensional Quantitative Analysis of Sentence Complexity in Contemporary Chinese Written Language
    Xia, Enshang
    Rao, Gaoqi
    [J]. CHINESE LEXICAL SEMANTICS (CLSW 2020), 2021, 12278 : 618 - 630
  • [44] Reconsidering the syntactic complexity measures on L2 spoken English: A multi-dimensional perspective
    Xu, Peng
    [J]. HELIYON, 2023, 9 (06)
  • [45] Uncovering toxicological complexity by multi-dimensional screenings in microsegmented flow: modulation of antibiotic interference by nanoparticles
    Cao, Jialan
    Kuersten, Dana
    Schneider, Steffen
    Knauer, Andrea
    Guenther, P. Mike
    Koehler, J. Michael
    [J]. LAB ON A CHIP, 2012, 12 (03) : 474 - 484
  • [46] Can Multi-Dimensional Voice Program (MDVP) Be Used as A Diagnostic Tool for Precocious Puberty?
    Erol, Umut
    Yucel, Levent
    Genc, Hakan
    Bolat, Ahmet
    Asik, Mehmet Burak
    [J]. JOURNAL OF VOICE, 2024, 38 (04)
  • [48] Perturbation Measures of Voice: A Comparative Study between Multi-Dimensional Voice Program and Praat
    Maryn, Youri
    Corthals, Paul
    De Bodt, Marc
    Van Cauwenberge, Paul
    Deliyski, Dimitar
    [J]. FOLIA PHONIATRICA ET LOGOPAEDICA, 2009, 61 (04) : 217 - 226
  • [49] CancerSupportSource®: validation of a revised multi-dimensional distress screening program for cancer patients and survivors
    Joanne S. Buzaglo
    Alexandra K. Zaleta
    Shauna McManus
    Mitch Golant
    Melissa F. Miller
    [J]. Supportive Care in Cancer, 2020, 28 : 55 - 64
  • [50] CancerSupportSource®: validation of a revised multi-dimensional distress screening program for cancer patients and survivors
    Buzaglo, Joanne S.
    Zaleta, Alexandra K.
    McManus, Shauna
    Golant, Mitch
    Miller, Melissa F.
    [J]. SUPPORTIVE CARE IN CANCER, 2020, 28 (01) : 55 - 64