The process of designing a P system in order to perform a task is a hard
job. The researcher has often only an approximate idea of the design, but finding the
exact description of the rules is a heavy hand-made work. In this paper we introduce
PSystemEvolver, an evolutionary algorithm based on generative encoding, that could help
to design a P system to perform a specific task. We illustrate the use of PSystemEvolver
with a simple mathematical problem: the computation of squared numbers.Ministerio de Ciencia e Innovación TIN2008-04487-EMinisterio de Ciencia e Innovación TIN-2009-13192Junta de Andalucía P08-TIC-0420