8
Making Sense of Avida An attempted gentle introduction to Avida Bio 481 (Joshua Nahum)

Making Sense of Avida An attempted gentle introduction to Avida Bio 481 (Joshua Nahum)

Embed Size (px)

DESCRIPTION

Quick Digression (Logic Functions) Logic functions are the operations that can be performed on binary numbers, and yield another binary number. Each function can be described by a truth table. Input A Input B Output

Citation preview

Page 1: Making Sense of Avida An attempted gentle introduction to Avida Bio 481 (Joshua Nahum)

Making Sense of AvidaAn attempted gentle introduction to Avida

Bio 481 (Joshua Nahum)

Page 2: Making Sense of Avida An attempted gentle introduction to Avida Bio 481 (Joshua Nahum)

An Avidian

• Self-executing, self-replicating genome– Composed of simple

computer instructions

– Can interact with environment by consuming and producing numbers

– The NAND Instruction

nandnop-BIOnand

1 0 0 11 0 1 1

1 1 0 1

input (food)

output (useful products)

genome

Page 3: Making Sense of Avida An attempted gentle introduction to Avida Bio 481 (Joshua Nahum)

Quick Digression (Logic Functions)

• Logic functions are the operations that can be performed on binary numbers, and yield another binary number.

• Each function can be described by a truth table.

InputA 1 1 0 1 0 0 1

InputB 0 1 0 1 1 0 0

Output 1 0 1 0 1 1 1

Page 4: Making Sense of Avida An attempted gentle introduction to Avida Bio 481 (Joshua Nahum)

Nand Logic

• All other logic functions can be composed solely of connected NAND functions.

• Their complexity is measured by the number of NANDs required.

Input A Output

0 1

1 0

NOT (1 NAND needed)

Page 5: Making Sense of Avida An attempted gentle introduction to Avida Bio 481 (Joshua Nahum)

Multiple NANDs

OR 3 NANDs

EQUAL (5 NANDs)

NOR (4 NANDs)

Page 6: Making Sense of Avida An attempted gentle introduction to Avida Bio 481 (Joshua Nahum)

Adami Nature Reviews Genetics 7, 109–118 (February 2006) | doi:10.1038/nrg1771

Avidian Anatomy

Page 7: Making Sense of Avida An attempted gentle introduction to Avida Bio 481 (Joshua Nahum)

Avidian Physiology • By saving numbers to its memory, and performing

various combination of instructions, an Avidian can output the result of a logic function

• Beneath is the map of the processing of numbers that yields 5 different logic functions.

Page 8: Making Sense of Avida An attempted gentle introduction to Avida Bio 481 (Joshua Nahum)

But why?• Avidian’s fitness is its merit

(aka metabolic rate) divided by its gestation length.

• Two ways to improve fitness• Decrease gestation time

• (less instructions needed to replicate)

• Increase merit• Performing a logic function

can yield merit.• Only if the resource (eg

Notose) is rewarded in the environment.

FitnessMerit

Gestation Length