arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1907.11034cs.FL
收藏

具有输入输出的标号转移系统的状态辨识

State Identification for Labeled Transition Systems with Inputs and Outputs

Petra van den Bos, Frits Vaandrager

摘要:

对于有限状态机(FSM),已经开发了丰富的测试理论来发现其行为的各个方面并确保其正确运行。虽然这个理论被广泛使用,例如,为了检查协议实现的一致性,它的适用性受到FSM框架的限制:输入和输出在FSM中交替的事实,以及输出完全由先前的输入和状态确定。ioco测试理论研究的带输入输出的标号迁移系统(LTS)为面向构件系统的测试提供了一个更丰富的框架,但缺乏基于有限状态机理论的测试生成算法。在这篇文章中,我们提出了一个算法的状态识别的基本问题,在测试的LTS。我们的算法是一个直接推广的著名算法计算自适应区分序列的FSM提出的李和Yannakakis。我们的算法必须处理所谓的兼容状态,即在对抗性测试系统中无法区分的状态。类似于李和Yannakakis的结果,我们证明,如果(自适应)测试存在区分所有对的LTS的不兼容状态,我们的算法会找到一个。在实践中,这种适应性测试通常不存在。然而,在实验中,我们的算法在工业基准上的实现,我们发现,我们的算法产生的测试仍然区分超过99%的不兼容的状态对。

英文摘要:

For Finite State Machines (FSMs) a rich testing theory has been developed to discover aspects of their behavior and ensure their correct functioning. Although this theory is widely used, e.g., to check conformance of protocol implementations, its applicability is limited by restrictions of the FSM framework: the fact that inputs and outputs alternate in an FSM, and outputs are fully determined by the previous input and state. Labeled Transition Systems with inputs and outputs (LTSs), as studied in ioco testing theory, provide a richer framework for testing component oriented systems, but lack the algorithms for test generation from FSM theory. In this article, we propose an algorithm for the fundamental problem of state identification during testing of LTSs. Our algorithm is a direct generalization of the well-known algorithm for computing adaptive distinguishing sequences for FSMs proposed by Lee & Yannakakis. Our algorithm has to deal with so-called compatible states, states that cannot be distinguished in case of an adversarial system-under-test. Analogous to the result of Lee & Yannakakis, we prove that if an (adaptive) test exists that distinguishes all pairs of incompatible states of an LTS, our algorithm will find one. In practice, such adaptive tests typically do not exist. However, in experiments with an implementation of our algorithm on an industrial benchmark, we find that tests produced by our algorithm still distinguish more than 99% of the incompatible state pairs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑