Click here to Skip to main content
15,894,740 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: how to convert plural word to singular? Pin
73Zeppelin14-Nov-08 0:39
73Zeppelin14-Nov-08 0:39 
GeneralRe: how to convert plural word to singular? Pin
User 171649214-Nov-08 1:13
professionalUser 171649214-Nov-08 1:13 
GeneralRe: how to convert plural word to singular? Pin
73Zeppelin14-Nov-08 2:18
73Zeppelin14-Nov-08 2:18 
AnswerRe: how to convert plural word to singular? Pin
User 171649214-Nov-08 1:39
professionalUser 171649214-Nov-08 1:39 
QuestionTable comparison material Pin
aggressor_us12-Nov-08 13:29
aggressor_us12-Nov-08 13:29 
AnswerRe: Table comparison material Pin
Member 419459315-Nov-08 12:22
Member 419459315-Nov-08 12:22 
GeneralRe: Table comparison material Pin
aggressorus17-Nov-08 6:09
aggressorus17-Nov-08 6:09 
GeneralRe: Table comparison material Pin
Member 419459317-Nov-08 12:40
Member 419459317-Nov-08 12:40 
I would guess that something, more like SED, is what you need. As I remember it from way back (many years), it would search for differences down to single characters. Its name means Stream EDitor.

I'm not too sure whether this would work or not, depending on the implementation. Usually DIFF algos are based on line differences and the whole line is marked as different. Depending on how large the files are, this could take a lot of time (order O(nm)). The method I developed talking to Skippums (in the referenced thread) speeded this up with some tricks.

Later, Skippums had another problem. He wanted an archive method for huge files (exceeding 512 MB) where the files were prior versions of documents, or programs, etc, etc - what it amounted to was he needed a small SED type of file created in order to save only the changes. Once you get into massive files, comparisons like this are extremely difficult and time consuming. I developed a method to minimize this time and was testing this. I asked for a sample file or two of this massive size (I could only come up with 9 and 11 MB libraries). I had sent him this data (the algorithm - my code was in MASM) and he finally responded to my Email about a month later explaining that he had been on vacation and would get back to me That was in July. I have checked his message log, and that is about when his last message was posted here.

I have also worked with DIFF algos.

If any of this algo info would be of use to you, I would be happy to help you.

Dave.
GeneralRe: Table comparison material Pin
aggressorus9-Dec-08 7:13
aggressorus9-Dec-08 7:13 
QuestionBuffering data for delimiter seperated blocks (theoretical question) Pin
invictus311-Nov-08 11:29
invictus311-Nov-08 11:29 
AnswerRe: Buffering data for delimiter seperated blocks (theoretical question) Pin
Arash Partow12-Nov-08 0:57
Arash Partow12-Nov-08 0:57 
AnswerRe: Buffering data for delimiter separated blocks (theoretical question) Pin
Alan Balkany12-Nov-08 3:37
Alan Balkany12-Nov-08 3:37 
QuestionConstructing a convex hull. Pin
Member 419459311-Nov-08 8:56
Member 419459311-Nov-08 8:56 
AnswerRe: Constructing a convex hull. Pin
Arash Partow12-Nov-08 0:45
Arash Partow12-Nov-08 0:45 
GeneralRe: Constructing a convex hull. Pin
Member 419459312-Nov-08 4:58
Member 419459312-Nov-08 4:58 
GeneralRe: Constructing a convex hull. Pin
Member 419459312-Nov-08 5:13
Member 419459312-Nov-08 5:13 
QuestionLimit finding Pin
Hadi Dayvary6-Nov-08 10:19
professionalHadi Dayvary6-Nov-08 10:19 
AnswerRe: Limit finding Pin
73Zeppelin6-Nov-08 10:26
73Zeppelin6-Nov-08 10:26 
GeneralRe: Limit finding Pin
Hadi Dayvary6-Nov-08 10:37
professionalHadi Dayvary6-Nov-08 10:37 
GeneralRe: Limit finding Pin
BobInNJ6-Nov-08 12:57
BobInNJ6-Nov-08 12:57 
GeneralRe: Limit finding Pin
bulg6-Nov-08 13:59
bulg6-Nov-08 13:59 
GeneralRe: Limit finding Pin
73Zeppelin6-Nov-08 21:13
73Zeppelin6-Nov-08 21:13 
GeneralRe: Limit finding Pin
Hadi Dayvary7-Nov-08 9:43
professionalHadi Dayvary7-Nov-08 9:43 
GeneralRe: Limit finding Pin
73Zeppelin7-Nov-08 18:44
73Zeppelin7-Nov-08 18:44 
GeneralOff-Topic Pin
soap brain8-Nov-08 1:16
soap brain8-Nov-08 1:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.