Line 11: Line 11:
  
 
'''(i)'''
 
'''(i)'''
<br> '''Solution: ''' <br>
+
<br> '''Solution 1: ''' <br>
 
The conditions for a chromosome from H to be destroyed are:
 
The conditions for a chromosome from H to be destroyed are:
  
Line 25: Line 25:
  
 
The upper bound is <math>\frac{5}{12}</math>
 
The upper bound is <math>\frac{5}{12}</math>
 +
 +
<br> '''Solution 2: ''' <br>
 +
<math>D_c(H) \le p_c \frac{l(H)}{L-1} = 0.5 \times \frac{6-2}{7-1} = 0.5 \times \frac{4}{6} = 0.33 </math>
  
 
<br>  
 
<br>  
Line 40: Line 43:
  
 
<math>P(destroyed) = 1 - 0.81 = 0.19 </math>
 
<math>P(destroyed) = 1 - 0.81 = 0.19 </math>
 +
 +
<br> '''Solution 2: ''' <br>
 +
<math>D_m(H) = 1 - S_m(H) = 1 - (1 - p_m)^{o(H)} = 1 - (1-0.1)^{7-5} = 1 - 0.9^2 = 0.19 </math>
 +
 +
(p. 294) lemma 14.2.3
  
 
<br>  
 
<br>  

Revision as of 16:01, 20 February 2015


QE2013_AC-3_ECE580-2

Part 1,2,3,4,5

(i)
Solution 1:
The conditions for a chromosome from H to be destroyed are:

1. It is chosen for crossover. Probability = $ \frac{1}{2} $.

2. The crossover position is not the last symbol. Otherwise only the last symbol can potentially change and the chromosome will still be in schema H. Probability = $ \frac{5}{6} $.

3. The other chromosome to crossover has a structure such that the chromosome from H will be destroyed after crossover. For example: if the other chromosome is * * * * * 1 *. This probability cannot be determined from the given information, as it depends on the distribution of other chromosomes. Therefore it has an upperbound of 1.

A chromosome from H is destroyed if and only if the 3 conditions above all occur. Therefore

$ P(destroyed)\le \frac{1}{2} \times \frac{5}{6} \times 1 = \frac{5}{12} $

The upper bound is $ \frac{5}{12} $


Solution 2:
$ D_c(H) \le p_c \frac{l(H)}{L-1} = 0.5 \times \frac{6-2}{7-1} = 0.5 \times \frac{4}{6} = 0.33 $


(ii)
Solution:

The schema will be destroyed if and only if the 2nd or 4th symbol change. Equivalently, the schema will not be destroyed if and only if both 2nd and the 4th symbols stay the same. As those events are independent:

$ P(Not\ destroyed) = P(2nd\ symbol\ does\ not\ change) \times P(4th\ symbol\ does\ not\ change) $

$ = (1-0.1)\times(1-0.1) = 0.81 $

Therefore

$ P(destroyed) = 1 - 0.81 = 0.19 $


Solution 2:
$ D_m(H) = 1 - S_m(H) = 1 - (1 - p_m)^{o(H)} = 1 - (1-0.1)^{7-5} = 1 - 0.9^2 = 0.19 $

(p. 294) lemma 14.2.3



Back to QE2013 AC-3 ECE580

Alumni Liaison

Basic linear algebra uncovers and clarifies very important geometry and algebra.

Dr. Paul Garrett