15,127,310 members
Home / Discussions / Algorithms

# Algorithms

 Re: Lock free algorithms SledgeHammer016-Sep-14 12:35 SledgeHammer01 6-Sep-14 12:35
 Re: Lock free algorithms Joe Woodbury6-Sep-14 12:49 Joe Woodbury 6-Sep-14 12:49
 Re: Lock free algorithms SledgeHammer016-Sep-14 13:55 SledgeHammer01 6-Sep-14 13:55
 Re: Lock free algorithms Joe Woodbury6-Sep-14 14:11 Joe Woodbury 6-Sep-14 14:11
 Re: Lock free algorithms SledgeHammer016-Sep-14 14:37 SledgeHammer01 6-Sep-14 14:37
 Re: Lock free algorithms Joe Woodbury6-Sep-14 14:44 Joe Woodbury 6-Sep-14 14:44
 Algorithm for comparing word with randomly distributed substring asdf232111-Jul-14 0:06 asdf23211 1-Jul-14 0:06
 Re: Algorithm for comparing word with randomly distributed substring Sanmayce3-Jul-14 8:15 Sanmayce 3-Jul-14 8:15
 Hi srikanth2321, probably there are some better ways to do that, but my suggestion is the most simple: Step1: Do Wildcard search for *ABCDE* Step2: Do Wildcard search for *ABCD*E* Step3: Do Wildcard search for *ABC*DE* Step4: Do Wildcard search for *AB*CDE* Step5: Do Wildcard search for *A*BCDE* My friend, I sense the problem, you should be more precise both in testing and explaining, for instance your second example is buggy. If you want to play you can try my superb search tool Kazahana (downloadable here at CP). Let me know if you find any difficulties. The first exmple done with Step3: Copy Code ```D:\BiShowdown_Cubesort_Tcheburaschkasort_Intel_64bit>copy con test.txt ABC EFGH IJKL DE EFGH UIOP ABC GHY JKLU EF ^Z 1 file(s) copied. D:\BiShowdown_Cubesort_Tcheburaschkasort_Intel_64bit>type test.txt ABC EFGH IJKL DE EFGH UIOP ABC GHY JKLU EF D:\BiShowdown_Cubesort_Tcheburaschkasort_Intel_64bit>Kazahana.exe "*ABC*DE*" test.txt 999 Kazahana, a superfast exact & wildcards & Levenshtein Distance (Wagner-Fischer) searcher, r. 1-++fix+nowait_critical_nixFIX_Wolfram+fixITER+EX+CS, copyleft Kaze 2014-Mar-25. Enforcing Case Insensitive wildcard mode ... Enforcing SLOW wildcard mode ... Pattern: *abc*de* omp_get_num_procs( ) = 2 omp_get_max_threads( ) = 2 Enforcing HEXADECAD i.e. hexadecuple-threads ... Allocating Master-Buffer 999KB ... OK Kazahana: Total/Checked/Dumped xgrams: 2/2/1 Kazahana: Performance: 0 KB/clock Kazahana: Performance: 0 xgrams/clock Kazahana: Performance: Total/fread() clocks: 17/0 Kazahana: Performance: I/O time, i.e. fread() time, is 0 percents Kazahana: Performance: RDTSC I/O time, i.e. fread() time, is 0 ticks Kazahana: Done. D:\BiShowdown_Cubesort_Tcheburaschkasort_Intel_64bit>type Kazahana.txt ABC EFGH IJKL DE D:\BiShowdown_Cubesort_Tcheburaschkasort_Intel_64bit>```
 Re: Algorithm for comparing word with randomly distributed substring Sanmayce5-Jul-14 8:19 Sanmayce 5-Jul-14 8:19
 Cubesort Gregorius van den Hoven22-Jun-14 5:09 Gregorius van den Hoven 22-Jun-14 5:09
 Re: Cubesort Sanmayce28-Jun-14 9:02 Sanmayce 28-Jun-14 9:02
 Re: Cubesort Gregorius van den Hoven29-Jun-14 10:58 Gregorius van den Hoven 29-Jun-14 10:58
 Re: Cubesort Sanmayce30-Jun-14 7:48 Sanmayce 30-Jun-14 7:48
 Re: Cubesort Gregorius van den Hoven12-Jul-14 5:01 Gregorius van den Hoven 12-Jul-14 5:01
 Re: Cubesort Sanmayce3-Jul-14 5:30 Sanmayce 3-Jul-14 5:30
 Reduce a Q2SAT formula Apurvgupta15-Jun-14 21:48 Apurvgupta 15-Jun-14 21:48
 Fastest textual decompression in C Sanmayce10-May-14 9:54 Sanmayce 10-May-14 9:54
 Re: Fastest textual decompression in C Richard MacCutchan10-May-14 22:46 Richard MacCutchan 10-May-14 22:46
 Re: Fastest textual decompression in C Sanmayce12-May-14 1:18 Sanmayce 12-May-14 1:18
 Re: Fastest textual decompression in C Richard MacCutchan12-May-14 2:24 Richard MacCutchan 12-May-14 2:24
 Re: Fastest textual decompression in C Chris Losinger23-May-14 4:12 Chris Losinger 23-May-14 4:12
 Re: Fastest textual decompression in C Sanmayce24-May-14 8:17 Sanmayce 24-May-14 8:17
 The Bessel-Overhauser Spline interpolation - suitable values for the weight function Kenneth Haugland4-Apr-14 0:34 Kenneth Haugland 4-Apr-14 0:34
 Re: The Bessel-Overhauser Spline interpolation - suitable values for the weight function Kenneth Haugland6-Apr-14 1:30 Kenneth Haugland 6-Apr-14 1:30
 Factoring algorithm Member 41945931-Apr-14 5:46 Member 4194593 1-Apr-14 5:46
 Last Visit: 31-Dec-99 19:00     Last Update: 9-Dec-21 4:54 Refresh ᐊ Prev1...47484950515253545556 Next ᐅ