From: The effects of low-impact mutations in digital organisms
Logic operation | Computation | Number of NAND operations needed (n) | Default multiplicative bonus (2n) | Default fitness effect (w- 1) |
---|---|---|---|---|
NOT | ~A; ~B | 1 | 2 | 1.0 |
NAND | ~(A and B) | 1 | 2 | 1.0 |
AND | A and B | 2 | 4 | 3.0 |
ORNOT | (A or ~B); (~A or B) | 2 | 4 | 3.0 |
OR | A or B | 3 | 8 | 7.0 |
ANDNOT | (A and ~B); (~A and B) | 3 | 8 | 7.0 |
NOR | ~A and ~B | 4 | 16 | 15.0 |
XOR | (A and ~B) or (~A and B) | 4 | 16 | 15.0 |
EQU (XNOR) | (A and B) or (~A and ~B) | 5 | 32 | 31.0 |