Skip to main content
Log in

Crossover can be constructive when computing unique input–output sequences

  • Focus
  • Published:
Soft Computing Aims and scope Submit manuscript

Abstract

Unique input–output (UIO) sequences have important applications in conformance testing of finite state machines (FSMs). Previous experimental and theoretical research has shown that evolutionary algorithms (EAs) can compute UIOs efficiently on many FSM instance classes, but fail on others. However, it has been unclear how and to what degree EA parameter settings influence the runtime on the UIO problem. This paper investigates the choice of acceptance criterion in the (1 + 1) EA and the use of crossover in the \((\mu+1)\) Steady State Genetic Algorithm. It is rigorously proved that changing these parameters can reduce the runtime from exponential to polynomial for some instance classes of the UIO problem.

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

References

  • Clarke J, Dolado JJ, Harman M, Hierons R, Jones B, Lumkin M, Mitchell B, Rees K, Roper M, Shepperd MJ (2003) Reformulating software engineering as a search problem. IEE Proc Softw 150(3):161–175

    Article  Google Scholar 

  • Cormen TH, Leiserson CE, Rivest RL, Stein C (2001) Introduction to algorithms, 2nd edn. McGraw Hill, New York

    MATH  Google Scholar 

  • Derderian KA, Hierons RM, Harman M, Guo Q (2006) Automated unique input output sequence generation for conformance testing of fsms. Comput J 49(3):331–344

    Article  Google Scholar 

  • Dietzfelbinger M, Naudts B, Van Hoyweghen C, Wegener I (2003) The analysis of a recombinative hill-climber on h-iff. IEEE Trans Evol Comput 7(5):417–423

    Article  Google Scholar 

  • Doerr B, Happ E, Klein C (2008) Crossover can provably be useful in evolutionary computation. In: Proceedings of the 10th annual conference on genetic and evolutionary computation (GECCO’2008), New York, NY, USA. ACM, pp 539–546

  • Doerr B, Theile M (2009) Improved analysis methods for crossover-based algorithms. In: Proceedings of the 11th annual conference on Genetic and evolutionary computation (GECCO’2009), New York, NY, USA, ACM, pp 247–254

  • Droste S, Jansen T, Wegener I (2002) On the analysis of the (1 + 1) evolutionary algorithm. Theor Comput Sci 276:51–81

    Article  MathSciNet  MATH  Google Scholar 

  • Fischer S, Wegener I (2005) The one-dimensional Ising model: Mutation versus recombination. Theor Comput Sci 344(2–3):208–225

    Article  MathSciNet  MATH  Google Scholar 

  • Friedrich T, Oliveto PS, Sudholt D, Witt C (2008) Theoretical analysis of diversity mechanisms for global exploration. In: Proceedings of the 10th annual conference on Genetic and evolutionary computation (GECCO’2008), New York, NY, USA, ACM, pp 945–952

  • Guo Q, Hierons RM, Harman M, Derderian KA (2004) Computing unique input/output sequences using genetic algorithms. In: Proceedings of the 3rd international workshop on formal approaches to testing of software (FATES’2003), vol 2931 of LNCS, pp 164–177

  • Guo Q, Hierons RM, Harman M, Derderian KA (2005) Constructing multiple unique input/output sequences using metaheuristic optimisation techniques. IEE Proc Softw 152(3):127–140

    Article  Google Scholar 

  • He J, Yao X (2004) A study of drift analysis for estimating computation time of evolutionary algorithms. Nat Comput 3(1):21–35

    Article  MathSciNet  MATH  Google Scholar 

  • Jansen T, Wegener I (1999) On the analysis of evolutionary algorithms—a proof that crossover really can help. In: Proceedings of 7th annual European symposium on algorithms (ESA’99), vol 1643 of LNCS, pp 700

  • Jansen T, Wegener I (2001) Evolutionary algorithms—how to cope with plateaus of constant fitness and when to reject strings of the same fitness. IEEE Trans Evol Comput 5(6):589–599

    Article  Google Scholar 

  • Jansen T, Wegener I (2002) The analysis of evolutionary algorithms—a proof that crossover really can help. Algorithmica 34(1):47–66

    Article  MathSciNet  MATH  Google Scholar 

  • Lee D, Yannakakis M (1996) Principles and methods of testing finite state machines-a survey. Proc IEEE 84(8):1090–1123

    Article  Google Scholar 

  • Lehre PK, Yao X (2007) Runtime analysis of (1 + 1) EA on computing unique input output sequences. In: Proceedings of 2007 IEEE congress on evolutionary computation (CEC’2007). IEEE Press, pp 1882–1889

  • Lehre PK, Yao X (2008) Crossover can be constructive when computing unique input output sequences. In: Proceedings of the 7th international conference on simulated evolution and learning (SEAL’2008). Springer, Heidelberg, pp 595–604

  • Motwani R, Raghavan P (1995) Randomized algorithms. Cambridge University Press, Cambridge

  • Oliveto PS, He J, Yao X (2008) Analysis of population-based evolutionary algorithms for the vertex cover problem. In: Proceedings of IEEE world congress on computational intelligence (WCCI’2008), Hong Kong, June 1–6, 2008, pp 1563–1570

  • Oliveto PS, Witt C (2008) Simplified drift analysis for proving lower bounds in evolutionary computation. In: Proceedings of parallel problem solving from nature (PPSN’X), number 5199 in LNCS, pp 82–91

  • Storch T, Wegener I (2004) Real royal road functions for constant population size. Theor Comput Sci 320(1):123–134

    Article  MathSciNet  MATH  Google Scholar 

  • Sudholt D (2005) Crossover is provably essential for the Ising model on trees. In: Proceedings of the genetic and evolutionary computation conference (GECCO’2005), pp 1161

Download references

Acknowledgments

The authors would like to thank Pietro Oliveto for useful comments. This work was supported by EPSRC under grant no. EP/D052785/1.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Per Kristian Lehre.

Additional information

A preliminary version of this paper appeared in Proceedings of the 7th International Conference on Simulated Evolution and Learning (SEAL’08) (Lehre and Yao 2008).

Appendix

Appendix

The appendix states a result obtained elsewhere which was used and cited in runtime analysis of EAs in this paper.

Theorem 6 [Simple drift theorem (Oliveto and Witt 2008)]

Let \(X_t, t\geq 0,\) be the random variables describing a Markov process over the state space \(S:=\left\{0,1,\ldots,N\right\},\) and denote \(\Updelta_t(i) := (X_{t+1}-X_t\mid X_t=i)\) for \(i\in S\) and \(t\geq 0.\) Suppose there exists an interval \([a,b]\) of the state space and three constants \(\beta,\delta,r>0\) such that for all \(t\geq 0\)

  1. 1.

    \({\mathbf{E}}\left[{\Updelta_t(i)}\right]\geq \beta\) for \(a<i<b,\) and

  2. 2.

    \({\mathbf{Pr}}\left[{\Updelta_t(i)=-j}\right] \leq 1/(1+\delta)^{j-r}\) for \(i>a\) and \(j\geq 1,\) then there is a constant \(c^*>0\) such that for

    $$ T^* := \min\left\{t\geq 0:X_t\leq a\mid X_0\geq b\right\} $$

    it holds that \({\mathbf{Pr}}\left[{T^*\leq 2^{c^*(b-a)}}\right]=2^{-\Omega(b-a)}.\)

Rights and permissions

Reprints and permissions

About this article

Cite this article

Lehre, P.K., Yao, X. Crossover can be constructive when computing unique input–output sequences. Soft Comput 15, 1675–1687 (2011). https://doi.org/10.1007/s00500-010-0610-2

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00500-010-0610-2

Keywords

Navigation