奎因 - 麦克拉斯基算法在Python [英] Quine-McCluskey algorithm in Python

查看:2218
本文介绍了奎因 - 麦克拉斯基算法在Python的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试着写奎因 - 麦克拉斯基算法在蟒蛇,但我想看看是否有任何版本,在那里,我可能会使用代替。谷歌搜索显示,一些有用的结果。我在寻找的4x4图减少,而不是2×2或3×3。任何意见或引用?

I'm trying to write the Quine-McCluskey algorithm in python, but I wanted to see if there were any versions out there that I might use instead. A google search showed few useful results. I'm looking for 4x4 map reduction, not 2x2 or 3x3. Any ideas or references?

推荐答案

在维基百科的这些你给的链接,也有一些外部链接的底部,其中有这些,有意思的相对到项目:

In the Wikipedia of which you gave the link, there are some "External links" at the bottom, among which are these, interesting relatively to your project:

这是不是满足您的需求?

Wouldn't this fulfil your need ?

一系列的两篇文章描述算法(S)的R实现了:的第一条十二条< /一>,第r实现是详尽的,它提供了完整和详细的解决方案,它可以处理多达20个输入变量。

您可以使用 RPY Python接口至R语言运行奎因 - 麦克拉斯基算法中的R code。需要注意的是RPY的重写: rpy2

You could use the rpy Python interface to R language to run the R code of the Quine-McCluskey algorithm. Note that there is a rewrite of rpy : rpy2

另外,为什么不呢,自己写一个新的Python脚本,使用由阿德里安DUSA在2007年完成的算法的提升,趴在的第二条

Also, why not, write yourself a new Python script, using the enhancement of the algorithm done by Adrian Duşa in 2007 , lying in the second article ?

这篇关于奎因 - 麦克拉斯基算法在Python的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆