Previous: Reduction of Problem Size | Top: Table of Contents | Next: Solving For Weights and Minimum Theoretical Distortion

I-H. Generating a Weighted Partition Matrix

Now we will generate a partition matrix with the following properties:

We will fill in the matrix for our simple example:

  Possible Encoding Cross-sections a.k.a. Set Partitions
Pairs 0001 0010 0011 0100 0101 0110 0111
(A,G) 0 0 0 1 1 1 1
(A,C) 0 1 1 0 0 1 1
(A,T) 1 0 1 0 1 0 1
(G,C) 0 1 1 1 1 0 0
(G,T) 1 0 1 1 0 1 0
(C,T) 1 1 0 0 1 1 0

So for the top left cell, we are looking at the pair (A,G) and the partition {A,G,C} and {T}. Under that partition, A and G are in the same set and therefore this partition does not contribute to the hamming distance between A and G, so we assign a 0. We fill in the rest of the matrix in the same manner.


Previous: Reduction of Problem Size | Top: Table of Contents | Next: Solving For Weights and Minimum Theoretical Distortion