Click here to Skip to main content
15,914,070 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: Rotate Images for automatic alignment - suggestions for an algorithm please? Pin
justaudio13-Mar-08 9:48
justaudio13-Mar-08 9:48 
AnswerRe: Rotate Images for automatic alignment - suggestions for an algorithm please? Pin
Alan Balkany13-Mar-08 5:24
Alan Balkany13-Mar-08 5:24 
GeneralComputing Binary File Changes Pin
Skippums12-Mar-08 10:24
Skippums12-Mar-08 10:24 
GeneralRe: Computing Binary File Changes Pin
Member 419459326-Mar-08 8:43
Member 419459326-Mar-08 8:43 
QuestionRe: Computing Binary File Changes Pin
Skippums29-Mar-08 17:38
Skippums29-Mar-08 17:38 
GeneralRe: Computing Binary File Changes Pin
Member 419459329-Mar-08 18:27
Member 419459329-Mar-08 18:27 
GeneralRe: Computing Binary File Changes Pin
Member 419459330-Mar-08 6:48
Member 419459330-Mar-08 6:48 
QuestionRe: Computing Binary File Changes Pin
Skippums30-Mar-08 10:37
Skippums30-Mar-08 10:37 
Yes, they are similar problems in that I am looking for similarities between two inputs. However, they both require quite different solutions. For example, when finding the longest matching substring, we can stop searching when we cut the potential matches down to the longest current match. Also, the applications are completely different. I was using the longest matching substring algorithm to find matches in strings that were usually smaller than 256 characters. I wrote an algorithm that I thought would be efficient in ONLY finding such a solution. To extend my current solution to find all matching substrings would truely bloat the algorithm, making it very much less efficient than the "dumb" method of doing this. Therefore, the other solution is not usable in this case because I need to find how to modify a string (of bytes) from A to B, and in my case A and B could be very large (say 4 GB) files, so I cannot use an algorithm that requires n^2 memory (such as the levenshtein algorithm that I currently have coded, which takes about 10 minutes for two 15 KB files due to paging the n^2 table in and out of RAM/Cache). However, I CAN afford n^2 time because I am planning on writing this to be a background process to archive old versions of files. These are the reasons why this is a separate post. Thanks in advance for any additional help,

Sounds like somebody's got a case of the Mondays

-Jeff

GeneralRe: Computing Binary File Changes Pin
Member 419459330-Mar-08 12:38
Member 419459330-Mar-08 12:38 
GeneralRe: Computing Binary File Changes Pin
Member 419459316-Apr-08 16:19
Member 419459316-Apr-08 16:19 
GeneralRe: Computing Binary File Changes Pin
Skippums16-Apr-08 17:39
Skippums16-Apr-08 17:39 
GeneralRe: Computing Binary File Changes Pin
Member 419459316-Apr-08 18:50
Member 419459316-Apr-08 18:50 
GeneralRe: Computing Binary File Changes Pin
Skippums18-Apr-08 6:38
Skippums18-Apr-08 6:38 
GeneralRe: Computing Binary File Changes Pin
Member 419459327-Apr-08 8:25
Member 419459327-Apr-08 8:25 
GeneralRe: Computing Binary File Changes Pin
Skippums27-Apr-08 22:17
Skippums27-Apr-08 22:17 
GeneralRe: Computing Binary File Changes Pin
Member 419459328-Apr-08 15:34
Member 419459328-Apr-08 15:34 
GeneralSegment selected region from the video frames Pin
ptr_Electron12-Mar-08 3:17
ptr_Electron12-Mar-08 3:17 
QuestionAlgorithm performance comparison question Pin
Nick Alexeev8-Mar-08 16:32
professionalNick Alexeev8-Mar-08 16:32 
GeneralRe: Algorithm performance comparison question Pin
Skippums13-Mar-08 5:36
Skippums13-Mar-08 5:36 
GeneralWhole Number Ratios Pin
MikeMarq8-Mar-08 11:08
MikeMarq8-Mar-08 11:08 
GeneralRe: Whole Number Ratios Pin
cp98768-Mar-08 11:51
cp98768-Mar-08 11:51 
GeneralTimetable algorithm Pin
Slick697-Mar-08 0:42
Slick697-Mar-08 0:42 
GeneralRe: Timetable algorithm Pin
Paul Conrad7-Mar-08 11:13
professionalPaul Conrad7-Mar-08 11:13 
GeneralRe: Timetable algorithm Pin
Slick6911-Mar-08 1:34
Slick6911-Mar-08 1:34 
GeneralRe: Timetable algorithm Pin
Colin Angus Mackay8-Mar-08 11:23
Colin Angus Mackay8-Mar-08 11:23 

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.