File:Moore diagram of Binary Adding Machine.svg
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Size of this PNG preview of this SVG file: 233 × 143 pixels. Other resolutions: 320 × 196 pixels | 640 × 393 pixels | 1,024 × 628 pixels | 1,280 × 786 pixels | 2,560 × 1,571 pixels.
Original file (SVG file, nominally 233 × 143 pixels, file size: 3 KB)
File information
Structured data
Captions
Summary
[edit]DescriptionMoore diagram of Binary Adding Machine.svg |
English: Moore diagram of Binary Adding Machine |
Date | |
Source | Made with FR package by Laurent Bartholdi |
Author | Adam majewski |
How it was made
[edit]GAP[1] is a CAS software [2]. To run :
/usr/share/gap/bin/gap.sh
Load package fr by Laurent Bartholdi [3]
gap>LoadPackage("fr"); gap>Draw(BinaryAddingMachine,"b.dot");
Saves output to b.dot files :
digraph "BinaryAddingMachine" { a [shape=circle] b [shape=circle] a -> a [label="1/1",color=red]; a -> a [label="2/2",color=blue]; b -> a [label="1/2",color=red]; b -> b [label="2/1",color=blue]; }
Dot file is a text file describing graph in dot language. This a.dot file can be coverted to other formats using command line program dot. For example to svg :
dot -Tsvg b.dot -o b.svg
I have changed manually to :
digraph "BinaryAddingMachine" { rankdir = "LR";/* from left to right */ size ="6,6"; /* in inches */ /* vertices = nodes */ null0 [shape=point,color=red]; 1 [shape=circle,color=red] 0 [shape=circle,color=blue] /* edges = lines with arrows */ null0-> 1 [color=red]; 1 -> 1 [label="1/0",color=red]; 0 -> 0 [label="0/0",color=blue]; 0 -> 0 [label="1/1",color=blue]; 1 -> 0 [label="0/1",color=blue]; }
References
[edit]Licensing
[edit]I, the copyright holder of this work, hereby publish it under the following license:
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 | 16:01, 9 October 2011 | 233 × 143 (3 KB) | Soul windsurfer (talk | contribs) | colors | |
15:41, 9 October 2011 | 233 × 143 (3 KB) | Soul windsurfer (talk | contribs) | horizontali and with different labels | ||
10:53, 9 October 2011 | 158 × 168 (3 KB) | Soul windsurfer (talk | contribs) |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
File usage on other wikis
The following other wikis use this file:
- Usage on en.wikibooks.org