Boolean 6-Multiplexer Problem

  Boolean 6-multiplexer

  The task of the 6-bit Boolean multiplexer is to decode a 2 binary address (00, 01, 10, 11) and return the value of the correspondent data register (d0, d1, d2, d3). Thus, the Boolean 6-multiplexer is a function of 6 activities: two, a0 and a1, determine the address, and four, d0 to d3, determine the answer. To simplify, I use one character symbols {a,b,1,2,3,4} which correspond respectively to {a0,a1,d0,d1,d2,d3}. There are 26=64 possible combinations for the 6 arguments and the entire set of 64 combinations was used as the fitness cases for evaluating fitness.

 

Table 1
Parameters for the 6-multiplexer problem
 
Function set I
Terminal set a,b,1,2,3,4
Number of fitness cases 64
Number of runs 100
Number of generations 50
Population size 250
Success rate 100%

Notes: I- if (x,y,z) function: if x is 1, the second argument is evaluated, otherwise the third argument is evaluated.

 

Table 2
Comparison of GP and GEP on the 6-multiplexer
 
  Exp Gen Pop Fit. cases Succ Rz Fz
GP O'Reilly and
Oppacher[1]
51 500 64 0.795 3 4,896,000
GEP Table 1 50 250 64 1 1 800,000

 

Conclusion:
Again, GEP outperforms GP (6 times).

Download the executable

Bibliography:
1. O'Reilly, U-M, and F. Oppacher (1996). A comparative analysis of GP. Chapter 2 of Advances in Genetic Programming 2, ed. P. J. Angeline and K. E. Kinnear, MIT Press.

Back

***


Last update: 23/July/2013
 
© Candida Ferreira
All rights reserved.