Re:Gray Code
by ucha on Thursday August 27, 2015 @05:53PM
(#10132385)
Could you expand on that? I don't really understand how you could simplify if/else logic by using this which is a bijection from one binary counting system to another.
[ Parent
| on HN ]
Karnaugh maps I'm guessing. https://en.wikipedia.org/wiki/Karnaugh_map
Made a tiny webapp to do this, which lets you hover over the different parts of the resulting expression, to see which parts of the karnaugh map they cover: https://github.com/ysangkok/py-kmap