Lecture 1 Flashcards
1
Q
what is the probability of generating a specific solution with a single random experiment? Solutions in the space {0,1}^n
A
2^(-n)
2
Q
what is the probability of generating a specific solution in the first k iterations?
A
1 - (1 - 2^(-n))^k
because it’s 1 - the probability that it does not happen in the first k iterations
3
Q
what is the probability of generating a specific solution in iteration k?
A
(1 - p)^(k - 1) * p
where p =2^(-n) is the probability of generating it
4
Q
how does the evolutionary search algorithm go?
A
- randomly initialize a candidate solution
WHILE we have not found the solution, DO: - create a copy of the old solution
- flip each bit in the copy with a probability
- calculate the hamming distance between this new copy and the optimal solution and the hamming distance between the old solution and the optimal solution
- out of the copy and the old solution, keep the one with the smallest distance to the optimal solution
NB: this is a (1+1) EA!
5
Q
what is the upper bound for the expected number of iterations for evolutionary search?
A
E_iter(n) \in O(n ln n)