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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

how does the evolutionary search algorithm go?

A
  1. randomly initialize a candidate solution
    WHILE we have not found the solution, DO:
  2. create a copy of the old solution
  3. flip each bit in the copy with a probability
  4. calculate the hamming distance between this new copy and the optimal solution and the hamming distance between the old solution and the optimal solution
  5. 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!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly