File:Huffman (To be or not to be).svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file (SVG file, nominally 406 × 440 pixels, file size: 11 KB)

Captions

Captions

Huffman tree based on the phrase "To be or not to be"

Summary

[edit]
Description
English: Huffman tree based on the phrase "To be or not to be".
Deutsch: Huffmanbaum basierend auf der Phrase "To be or not to be".
Date
Source huffman.ooz.ie/tree.dot?text=TO BE OR NOT TO BE
Author huffman.ooz.ie
Other versions
SVG development
InfoField
 
The SVG code is valid.
 
This diagram was created with Graphviz.
 
 This diagram uses embedded text that can be easily translated using a text editor.

Graphviz source

[edit]
/* 
  Huffman Tree DOT graph.

  DOT Reference :  http://www.graphviz.org/doc/info/lang.html
                   http://en.wikipedia.org/wiki/DOT_language
  Timestamp     :  1368947341 
  Phrase        :  'TO BE OR NOT TO BE'

  Generated on http://huffman.ooz.ie/
*/

digraph G {
    edge [label=0];
    graph [ranksep=0];
    N [shape=record, label="{{N|1}|0000}"];
    R [shape=record, label="{{R|1}|0001}"];
    B [shape=record, label="{{B|2}|001}"];
    O [shape=record, label="{{O|4}|01}"];
    E [shape=record, label="{{E|2}|100}"];
    T [shape=record, label="{{T|3}|101}"];
    SPACE [shape=record, label="{{SPACE|5}|11}"];
    18 -> 8 -> 4 -> 2 -> N;
    10 -> 5 -> E;2 -> R [label=1];
    4 -> B [label=1];
    8 -> O [label=1];
    5 -> T [label=1];
    18 -> 10 -> SPACE [label=1];
}

Licensing

[edit]
I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current07:18, 19 May 2013Thumbnail for version as of 07:18, 19 May 2013406 × 440 (11 KB)Pyfisch (talk | contribs){{Information |Description ={{en|1=Huffman tree based on the phrase "To be or not to be".}} {{de|1=Huffmanbaum basierend auf der Phrase "To be or not to be".}} |Source =huffman.ooz.ie/tree.dot?text=TO BE OR NOT TO BE |Author =huffman...

The following page uses this file:

File usage on other wikis

The following other wikis use this file:

Metadata