最佳区分算法 [英] 'Best' Diff Algorithm
本文介绍了最佳区分算法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要在VB.NET中实现Diff算法,以查找一段文本的两个不同版本之间的更改。我在网上有一个侦察员,发现了几种不同的算法。
I need to implement a Diff algorithm in VB.NET to find the changes between two different versions of a piece of text. I've had a scout around the web and have found a couple of different algorithms.
这里有人知道我可以实现的最佳算法吗?
Does anybody here know of a 'best' algorithm that I could implement?
推荐答案
好吧,我在codeproject上使用了c#版本,它对我想要的东西真的很好...
Well I've used the c# version on codeproject and its really good for what I wanted...
http://www.codeproject.com/KB/ recipes / diffengine.aspx
您可能可以通过在线转换器,如果您自己做不到...
You can probably get this translated into VB.net via an online converter if you can't do it yourself...
这篇关于最佳区分算法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文