14Hamiltonian2_10_v2

14Hamiltonian2_10_v2 - ENGG1007 Foundations of Computer...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
1 ENGG1007 Foundations of Computer Science Graphs Graphs Hamiltonian Graphs 2 Hamiltonian Graphs 2 Professor Francis Chin, Dr SM Yiu November 15/17, 2010 Chapter 9.5
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 ENGG1007 FCS Rotating Drum Rotating Drum First bit Third bit Second bit
Background image of page 2
3 ENGG1007 FCS Rotating Drum Positioning revisited Rotating Drum Positioning revisited The 2 n positions of the drum can be determined by the contacts of n rings. The innermost ring is for the first bit, … and the outermost ring for the last bit. 111 000 110 001 101 010 100 011 First bit Second bit Third bit Errors might easily be introduced at the position transition. For example: 001 to 010, we might have 001 ____ 010 Perfect transition 001 010 000 Gap introduces error 001 010 011 Overlap introduces error
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
4 ENGG1007 FCS Rotating Drum Positioning revisited Rotating Drum Positioning revisited 111 000 110 001 101 010 100 011 100 000 101 001 111 011 110 010 First bit Second bit Third bit Errors might easily be introduced at the transition from one position to the next if the change of the bit positions is more than one bit. EG. Transition between 111 and 000. Any bit representation is possible. Thus the bit representations of two adjacent positions should not differ too much (with only 1 bit transition). 100 111 101 000
Background image of page 4
5 ENGG1007 FCS Gray Code Gray Code Consider bit strings {000,001,010,011,100,101,110,111} Can you permute them so that adjacent bit strings defer by one bit only? Transform to G(V,E), where V = set of bit strings, E = { (x,y) if x and y differ by 1 bit } 000 001 010 100 101 110 111 011 First bit Second bit Third bit It is easy to see that G is a hypercube.
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/10/2011 for the course ENGG 1007 taught by Professor Unknown during the Spring '11 term at HKU.

Page1 / 14

14Hamiltonian2_10_v2 - ENGG1007 Foundations of Computer...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online