Open main menu

File:Closest-string problem example.pdf

Closest-string_problem_example.pdf(622 × 373 pixels, file size: 11 KB, MIME type: application/pdf)

Captions

Add a one-line explanation of what this file represents

Captions

SummaryEdit

Description
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}

LicensingEdit

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons

attribution share alike

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/TimeThumbnailDimensionsUserComment
current23:16, 10 December 2013Thumbnail for version as of 23:16, 10 December 2013622 × 373 (11 KB)Jochen Burghardt (talk | contribs)removed incomplete hamming distance vectors
23:12, 10 December 2013Thumbnail for version as of 23:12, 10 December 2013622 × 373 (14 KB)Jochen Burghardt (talk | contribs)User created page with UploadWizard

There are no pages that use this file.

Metadata

Structured data

Items portrayed in this file

no value