File:Closest-string problem example.pdf
Closest-string_problem_example.pdf (620 × 372 pixels, file size: 11 KB, MIME type: application/pdf)
File information
Structured data
Captions
Captions
Add a one-line explanation of what this file represents
Summary
editDescriptionClosest-string problem example.pdf |
English: Shows the search space of the w:closest string problem baaa, abab, aaac. The center string aaaa and aaab leads to w:Hamming distances 1,2,1 and 2,1,1, respectively. |
Date | |
Source | Own work |
Author | Jochen Burghardt |
Other versions | File:Closest-string problem example svg.svg |
LaTeX source Code |
---|
\documentclass{article}
\usepackage[pdftex]{color}
\usepackage[paperwidth=300pt,paperheight=180pt]{geometry}
\setlength{\topmargin}{-36mm}
\setlength{\textwidth}{300pt}
\setlength{\textheight}{180pt}
\setlength{\oddsidemargin}{-23mm}
\setlength{\parindent}{0mm}
\definecolor{cA} {rgb}{0.70,0.00,0.00}
\definecolor{cB} {rgb}{0.00,0.70,0.00}
\definecolor{cD} {rgb}{0.00,0.00,0.70}
\pagestyle{empty}
\newcommand{\1}[1]{\textcolor{cA}{#1}}
\newcommand{\2}[1]{\textcolor{cB}{#1}}
\newcommand{\4}[1]{\textcolor{cD}{#1}}
\begin{document}
\begin{picture}(290,170)
%
\textcolor{cA}{\put(5,5){\line(0,1){100}}}%
\textcolor{cD}{\put(5,5){\line(1,0){200}}}%
\textcolor{cB}{\put(5,5){\line(1,1){60}}}%
\textcolor{cD}{\put(5,105){\line(1,0){200}}}%
\textcolor{cB}{\put(5,105){\line(1,1){60}}}%
\textcolor{cA}{\put(65,65){\line(0,1){100}}}%
\textcolor{cD}{\put(65,65){\line(1,0){200}}}%
\textcolor{cD}{\put(65,165){\line(1,0){200}}}%
\textcolor{cA}{\put(105,5){\line(0,1){100}}}%
\textcolor{cB}{\put(105,5){\line(1,1){60}}}%
\textcolor{cB}{\put(105,105){\line(1,1){60}}}%
\textcolor{cA}{\put(165,65){\line(0,1){100}}}%
\textcolor{cA}{\put(205,5){\line(0,1){100}}}%
\textcolor{cB}{\put(205,5){\line(1,1){60}}}%
\textcolor{cB}{\put(205,105){\line(1,1){60}}}%
\textcolor{cA}{\put(265,65){\line(0,1){100}}}%
%
\put(5,105){\circle*{5}}%
\put(205,5){\circle*{5}}%
\put(165,65){\circle*{5}}%
\put(6,104){\makebox(0,0)[tl]{\bf \1b\2aa\4a}}%
\put(206,4){\makebox(0,0)[tl]{\bf \1a\2aa\4c}}%
\put(166,64){\makebox(0,0)[tl]{\bf \1a\2ba\4b}}%
%
\put(5,5){\circle*{2}}%
\put(105,5){\circle*{2}}%
\put(105,105){\circle*{2}}%
\put(205,105){\circle*{2}}%
\put(65,65){\circle*{2}}%
\put(165,165){\circle*{2}}%
\put(265,165){\circle*{2}}%
\put(265,65){\circle*{2}}%
\put(65,165){\circle*{2}}%
\put(6,4){\makebox(0,0)[tl]{\scriptsize \1a\2aa\4a}}%
\put(106,4){\makebox(0,0)[tl]{\scriptsize \1a\2aa\4b}}%
\put(106,104){\makebox(0,0)[tl]{\scriptsize \1b\2aa\4b}}%
\put(206,104){\makebox(0,0)[tl]{\scriptsize \1b\2aa\4c}}%
\put(66,64){\makebox(0,0)[tl]{\scriptsize \1a\2ba\4a}}%
\put(166,164){\makebox(0,0)[tl]{\scriptsize \1b\2ba\4b}}%
\put(266,164){\makebox(0,0)[tl]{\scriptsize \1b\2ba\4c}}%
\put(266,64){\makebox(0,0)[tl]{\scriptsize \1a\2ba\4c}}%
\put(66,164){\makebox(0,0)[tl]{\scriptsize \1b\2ba\4a}}%
\end{picture}
\end{document}
|
Licensing
editI, the copyright holder of this work, hereby publish it under the following license:
![w:en:Creative Commons](https://upload.wikimedia.org/wikipedia/commons/thumb/7/79/CC_some_rights_reserved.svg/90px-CC_some_rights_reserved.svg.png)
![attribution](https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Cc-by_new_white.svg/24px-Cc-by_new_white.svg.png)
![share alike](https://upload.wikimedia.org/wikipedia/commons/thumb/d/df/Cc-sa_white.svg/24px-Cc-sa_white.svg.png)
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 23:16, 10 December 2013 | ![]() | 620 × 372 (11 KB) | Jochen Burghardt (talk | contribs) | removed incomplete hamming distance vectors |
23:12, 10 December 2013 | ![]() | 620 × 372 (14 KB) | Jochen Burghardt (talk | contribs) | User created page with UploadWizard |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Software used | TeX |
---|---|
Conversion program | pdfTeX-1.40.3 |
Encrypted | no |
Page size | 298.879 x 179.328 pts |
Version of PDF format | 1.4 |