File:Moore diagram of Binary Adding Machine.svg

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

Original file (SVG file, nominally 233 × 143 pixels, file size: 3 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary

[edit]
Description
English: Moore diagram of Binary Adding Machine
Date
Source Made with FR package by Laurent Bartholdi
Author Adam majewski
 
W3C-validity not checked.

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]
  1. GAP software at wikipedia
  2. CAS at wikipedia
  3. FR package by Laurent Bartholdi for GAP CAS

Licensing

[edit]
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
current16:01, 9 October 2011Thumbnail for version as of 16:01, 9 October 2011233 × 143 (3 KB)Soul windsurfer (talk | contribs)colors
15:41, 9 October 2011Thumbnail for version as of 15:41, 9 October 2011233 × 143 (3 KB)Soul windsurfer (talk | contribs)horizontali and with different labels
10:53, 9 October 2011Thumbnail for version as of 10:53, 9 October 2011158 × 168 (3 KB)Soul windsurfer (talk | contribs)

There are no pages that use this file.

File usage on other wikis

The following other wikis use this file: