Hacker News new | past | comments | ask | show | jobs | submit login

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.



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


Yes, that's it, thanks for jogging my memory!




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: