Skip to main content
Log in

Finite state based testing of P systems

  • Published:
Natural Computing Aims and scope Submit manuscript

Abstract

In this paper, we propose an approach to P system testing based on finite state machine conformance techniques. Of the many variants of P systems that have been defined, we consider cell-like P systems which use non-cooperative transformation and communication rules. We show that a (minimal) deterministic finite cover automaton (DFCA) (a finite automaton that accepts all words in a given finite language, but can also accept words that are longer than any word in the language) provides the right approximation for the computation of a P system. Furthermore, we provide a procedure for generating test sets directly from the P system specification (without explicitly constructing the minimal DFCA model).

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4

Similar content being viewed by others

Notes

  1. λ distinguishes the (non-final) “sink” state from the other (final) states of M. On the other hand, according to the results in Balanescu et al. (2003), since λ ∈ W, the “sink” state needs not be reached by S.

References

  • Andrei O, Ciobanu G, Lucanu D (2007) A rewriting logic framework for operational semantics of membrane systems. Theoretical Comput Sci 373(3):163–181

    Article  MATH  MathSciNet  Google Scholar 

  • Balanescu T, Gheorghe M, Ipate F (2003) Formal black box testing for partially specified deterministic finite state machines. Found Comp Decision Syst 28(1):17–28

    MathSciNet  Google Scholar 

  • Câmpeanu C, Santean N, Yu S (1998) Minimal cover-automata for finite languages. In: Workshop on Implementing Automata. Lecture notes in computer science, vol 1660. Springer, Berlin, pp 43–56

  • Câmpeanu C, Santean N, Yu S (2001) Minimal cover-automata for finite languages. Theoretical Comput Sci 267(1–2):3–16

    Article  MATH  Google Scholar 

  • Câmpeanu C, Păun A, Yu S (2002) An efficient algorithm for constructing minimal cover automata for finite languages. Int J Found Comp Sci 13(1):83–97

    Article  MATH  Google Scholar 

  • Câmpeanu C, Păun A, Smith JR (2006) Incremental construction of minimal deterministic finite cover automata. Theoretical Comput Sci 363(2):135–148

    Article  MATH  Google Scholar 

  • Chow TS (1978) Testing software design modeled by finite-state machines. IEEE Trans Softw Eng 4(3):178–187

    Article  Google Scholar 

  • Ciobanu G, Păun Gh, Pérez-Jiménez MJ (eds) (2006) Applications of membrane computing. Springer, Berlin

    Google Scholar 

  • García P, Jose Ruiz (2004) A note on the minimal cover-automata for finite languages. Bull EATCS 83:193–194

    MATH  Google Scholar 

  • Gheorghe M, Ipate F (2008) On testing P systems. In: Proceedings of WMC, pp 173–188

  • Holcombe H, Ipate F (1998) Correct systems—building business process solutions. Springer, Berlin

    Google Scholar 

  • Hopcroft JE, Motwani R, Ullman JD (2006) Introduction to automata theory, languages, and computation (3rd edition). Addison-Wesley Longman

  • Ipate F (2006) Bounded sequence testing from non-deterministic finite state machines. In: Proceedings of TesCom 2006, pp 55–70

  • Ipate F (2008) Bounded sequence testing from deterministic finite state machines (submitted)

  • Körner H (2002) On minimizing cover automata for finite languages in O(n log n) time. In: CIAA 2002. Lecture notes in computer science, vol 2608. Springer, Berlin, pp 117–127

  • Körner H (2003) A time and space efficient algorithm for minimizing cover automata for finite languages. Int J Found Comp Sci 14(6):1071–1086

    Google Scholar 

  • Lee D, Yannakakis M (1996) Principles and methods of testing finite state machines—a survey. In: Proceedings of the IEEE 1996, vol 84, pp 1090–1126

  • Nilsson R, Offutt J, Mellin J (2006) Test case generation for mutation-based testing of timeliness. Electr Notes Theor Comput Sci 164(4):97–114

    Article  Google Scholar 

  • Păun A, Santean N, Yu S (2000) An O(n2) algorithm for constructing minimal cover automata for finite languages. In: CIAA 2000. Lecture notes in computer science, vol 2088. Springer, Berlin, pp 243–251

  • Păun Gh (2000) Computing with membranes. J Comp System Sci 61(1):108–143

    Article  MATH  Google Scholar 

  • Păun Gh (2002) Membrane computing. An introduction. Springer, Berlin

    MATH  Google Scholar 

  • The P Systems Web Site (2008) http://ppage.psystems.eu

Download references

Acknowledgments

The authors would like to thank the anonymous referees for their very helpful comments that allowed the improvement of this paper.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Florentin Ipate.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Ipate, F., Gheorghe, M. Finite state based testing of P systems. Nat Comput 8, 833–846 (2009). https://doi.org/10.1007/s11047-008-9099-3

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11047-008-9099-3

Keywords

Navigation