8 research outputs found

    ๋ฉ€ํ‹ฐํ‚ค ํ€ต์†ŒํŠธ์™€ ๋‹ค์ค‘๋ฐ”์ดํŠธ ๋ฌธ์ž์—ด ๊ฒ€์ƒ‰์˜ ์•Œ๊ณ ๋ฆฌ์ฆ˜ ์—”์ง€๋‹ˆ์–ด๋ง

    No full text
    In classical algorithmics, the analysis of algorithms for combinatorial problems focused on the theoretical analysis of asymptotic worst-case run-times. However, asymptotically fast algorithms might not be efficient in practice. In addition, with growing requirements for innovative algorithms, the gap between theory and practice grows larger. Algorithm engineering copes with these problems and bridges the gap between the efficient algorithms developed in algorithmic theory and the algorithms used by practitioners. In this thesis, we study algorithm engineering on string matching problem and focus on two issues. First, we consider multikey quicksort for sorting strings which is a very important factor of suffix array construction algorithms. Bentley and Sedgewick proposed multikey quicksort with 'split-end' partitioning for sorting strings. But it can be slow in case of many equal element strings, because 'split-end' partitioning moves equal elements to the ends and swaps back to the middle. We improved multikey quicksort in such a case. First, we improve the operation of swapping equal elements from the ends back to the middle in 'split-end' partitioning. Then we improve multikey quicksort by using another partitioning method called 'collect-center' partitioning, instead of 'split-end' partitioning. In case of many equal element strings such as DNA sequences, HTML files, and English texts, multikey quicksort with 'collect-center' partitioning is faster than that with 'split-end' partitioning. Second, we consider a problem of false matches on multi-byte character set texts. In practice, how the pattern and the text are encoded can make the classic string matching algorithms report false matches. But, there have been few researches on the matching on multi-byte texts and especially there is no result based on suffix approach such as Boyer-Moore algorithm, Horspool algorithm, and its variant which can skip quickly over the text areas that are seen not to contain a match thus have a fast searching speed. We present two algorithms for searching strings on multi-byte texts in this thesis. First, we improve KMP algorithm by adopting a character-based prefix function to avoid false matches on multi-byte texts. Next, we improve Sunday algorithm, a variant of Horspool algorithm, by adopting a character-based shift table. A prefix function with character as a unit and a shift table with character as a unit are proposed for the first time. These algorithms do not only eliminate false matches, but also ensure a fast searching speed without a large slow-down, compared with based algorithms.๊ณ ์ „์ ์ธ ์•Œ๊ณ ๋ฆฌ์ฆ˜์—์„œ๋Š”, ์กฐํ•ฉ ๋ฌธ์ œ๋ฅผ ์œ„ํ•œ ์•Œ๊ณ ๋ฆฌ์ฆ˜์˜ ๋ถ„์„์œผ๋กœ์จ ์ ๊ทผ์ ์ธ ์ตœ์•… ์‹œ๊ฐ„ ๋ณต์žก๋„์˜ ์ด๋ก ์ ์ธ ๋ถ„์„์— ์ดˆ์ ์„ ๋งž์ถ”์—ˆ๋‹ค. ๊ทธ๋Ÿฌ๋‚˜ ์ ๊ทผ์ ์œผ๋กœ ๋น ๋ฅธ ์•Œ๊ณ ๋ฆฌ์ฆ˜๋“ค์ด ์‹ค์ œ๋กœ ํšจ์œจ์ ์ด์ง€ ์•Š์„ ์ˆ˜ ์žˆ๋‹ค. ๊ฒŒ๋‹ค๊ฐ€ ํ˜์‹ ์ ์ธ ์•Œ๊ณ ๋ฆฌ์ฆ˜๋“ค์— ๋Œ€ํ•œ ์š”๊ตฌ๊ฐ€ ๋Š˜์–ด๋‚จ๊ณผ ๋™์‹œ์—, ์ด๋ก ๊ณผ ์‹ค์ œ ์‚ฌ์ด์˜ ์ฐจ์ด๋Š” ๋‚ ๋กœ ์ปค์ ธ๊ฐ€๊ณ  ์žˆ๋‹ค. ์•Œ๊ณ ๋ฆฌ์ฆ˜ ์—”์ง€๋‹ˆ์–ด๋ง์€ ์ด๋Ÿฌํ•œ ๋ฌธ์ œ์— ๋Œ€์ฒ˜ํ•˜์—ฌ, ์•Œ๊ณ ๋ฆฌ์ฆ˜ ์ด๋ก ์œผ๋กœ ๊ฐœ๋ฐœ๋œ ํšจ์œจ์ ์ธ ์•Œ๊ณ ๋ฆฌ์ฆ˜๋“ค๊ณผ ์‹ค์ œ๋กœ ์‚ฌ์šฉ๋˜๋Š” ์•Œ๊ณ ๋ฆฌ์ฆ˜๋“ค์˜ ์ฐจ์ด๋ฅผ ๋ฉ”์šฐ๋Š” ๊ต๋Ÿ‰ ์—ญํ• ์„ ํ•œ๋‹ค. ๋ณธ ๋…ผ๋ฌธ์—์„œ๋Š” ๋ฌธ์ž์—ด ๊ฒ€์ƒ‰ ๋ฌธ์ œ์— ๋Œ€ํ•œ ์•Œ๊ณ ๋ฆฌ์ฆ˜ ์—”์ง€๋‹ˆ์–ด๋ง์„ ๋‹ค๋ฃจ๊ณ  ์žˆ์œผ๋ฉฐ ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๋‘๊ฐ€์ง€ ์ฃผ์ œ์— ์ดˆ์ ์„ ๋งž์ถ”๊ณ  ์žˆ๋‹ค. ์ฒซ์งธ๋กœ, ์ ‘๋‘์‚ฌ ๋ฐฐ์—ด ์ƒ์„ฑ ์•Œ๊ณ ๋ฆฌ์ฆ˜์—์„œ ์•„์ฃผ ์ค‘์š”ํ•œ ๋ถ€๋ถ„์ธ ๋ฌธ์ž์—ด ์ •๋ ฌ์„ ์œ„ํ•œ ๋ฉ€ํ‹ฐํ‚ค ํ€ต์†ŒํŠธ๋ฅผ ๊ฐœ์„ ํ•œ ๊ฒฐ๊ณผ๋ฅผ ์ œ์‹œํ•œ๋‹ค. Bentley์™€ Sedgewick์€ 'split-end' ๋ถ„ํ• ์„ ์ ์šฉํ•œ ๋ฉ€ํ‹ฐํ‚ค ํ€ต์†ŒํŠธ๋ฅผ ์ œ์•ˆํ•˜์˜€๋‹ค. ๊ทธ๋Ÿฌ๋‚˜ 'split-end' ๋ถ„ํ•  ๋ฐฉ์‹์€ ๊ธฐ์ค€ ์›์†Œ์™€ ๋™์ผํ•œ ์›์†Œ๋“ค์„ ๋ฐฐ์—ด์˜ ์–‘ ๋์œผ๋กœ ์ด๋™์‹œํ‚จ ํ›„์— ๋‹ค์‹œ ์ค‘์•™์œผ๋กœ ๋ชจ์œผ๋Š” ์ž‘์—…์„ ํ•˜๊ธฐ ๋•Œ๋ฌธ์—, ๋ฌธ์ž์—ด์— ๊ธฐ์ค€ ์›์†Œ์™€ ๋™์ผํ•œ ์›์†Œ๋“ค์ด ๋งŽ์ด ์žˆ๋Š” ๊ฒฝ์šฐ ๋Š๋ ค์งˆ ์ˆ˜ ์žˆ๋‹ค. ์šฐ๋ฆฌ๋Š” ์ด๋Ÿฌํ•œ ๊ฒฝ์šฐ์— ๋ฉ€ํ‹ฐํ‚ค ํ€ต์†ŒํŠธ๋ฅผ ๊ฐœ์„ ํ•œ๋‹ค. ๋จผ์ €, 'split-end' ๋ถ„ํ•  ์ž‘์—…์„ ๊ฐœ์„ ํ•œ ๊ฒฐ๊ณผ๋ฅผ ์ œ์‹œํ•œ๋‹ค. ๊ทธ๋ฆฌ๊ณ  ์šฐ๋ฆฌ๋Š” 'split-end' ๋ถ„ํ•  ๋Œ€์‹ ์— ์ƒˆ๋กœ ์ œ์‹œํ•˜๋Š” 'collect-center' ๋ถ„ํ•  ๋ฐฉ์‹์„ ์ ์šฉํ•˜์—ฌ ๋ฉ€ํ‹ฐํ‚ค ํ€ต์†ŒํŠธ๋ฅผ ๊ฐœ์„ ํ•œ๋‹ค. DNA ์—ผ๊ธฐ์„œ์—ด, HTML ํŒŒ์ผ, ๊ทธ๋ฆฌ๊ณ  ์˜๋ฌธ ํ…์ŠคํŠธ์™€ ๊ฐ™์ด ๊ธฐ์ค€ ์›์†Œ์™€ ๋™์ผํ•œ ์›์†Œ๊ฐ€ ๋งŽ์€ ๋ฌธ์ž์—ด์„ ํฌํ•จํ•˜๋Š” ๊ฒฝ์šฐ์— collect-center ๋ถ„ํ• ์„ ์ ์šฉํ•œ ๋ฉ€ํ‹ฐํ‚ค ํ€ต์†ŒํŠธ๋Š” 'split-end' ๋ถ„ํ• ์„ ์ ์šฉํ•œ ๊ฒƒ๋ณด๋‹ค ๋น ๋ฅธ ์†๋„๋ฅผ ๋ณด์ธ๋‹ค. ๋‘˜์งธ๋กœ, ์šฐ๋ฆฌ๋Š” ๋‹ค์ค‘๋ฐ”์ดํŠธ ๋ฌธ์ž์ง‘ํ•ฉ ํ…์ŠคํŠธ์—์„œ ์˜ค๊ฒ€์ƒ‰์„ ์ œ๊ฑฐํ•œ ๊ฒฐ๊ณผ๋ฅผ ์ œ์‹œํ•œ๋‹ค. ์‹ค์ œ๋กœ, ํŒจํ„ด๊ณผ ํ…์ŠคํŠธ๊ฐ€ ์–ด๋–ป๊ฒŒ ์ธ์ฝ”๋”ฉ๋˜์–ด ์žˆ๋Š”์ง€์— ๋”ฐ๋ผ์„œ ๊ธฐ์กด์˜ ๋ฌธ์ž์—ด ์•Œ๊ณ ๋ฆฌ์ฆ˜์€ ์˜ค๊ฒ€์ƒ‰์„ ํ•  ์ˆ˜ ์žˆ๋Š” ๊ฐ€๋Šฅ์„ฑ์ด ์žˆ๋‹ค. ๊ทธ๋Ÿฌ๋‚˜ ๋‹ค์ค‘๋ฐ”์ดํŠธ ํ…์ŠคํŠธ ์ƒ์—์„œ์˜ ๋ฌธ์ž์—ด ๊ฒ€์ƒ‰์— ๊ด€ํ•œ ์—ฐ๊ตฌ๋Š” ๊ฑฐ์˜ ์ด๋ฃจ์–ด์ง€์ง€ ์•Š์•˜์œผ๋ฉฐ, ํŠนํžˆ Boyer-Moore ์•Œ๊ณ ๋ฆฌ์ฆ˜, Horspool ์•Œ๊ณ ๋ฆฌ์ฆ˜ ๋“ฑ๊ณผ ๊ฐ™์€ ์ ‘๋ฏธ์‚ฌ ์ ‘๊ทผ๋ฐฉ์‹์— ๊ธฐ๋ฐ˜ํ•œ ๊ฒฐ๊ณผ๋Š” ์ง€๊ธˆ๊นŒ์ง€ ์•Œ๋ ค์ง„ ๋ฐ”๊ฐ€ ์—†๋‹ค. ์šฐ๋ฆฌ๋Š” ๋ณธ ๋…ผ๋ฌธ์—์„œ ๋‹ค์ค‘๋ฐ”์ดํŠธ ํ…์ŠคํŠธ์—์„œ์˜ ๋ฌธ์ž์—ด ๊ฒ€์ƒ‰์„ ์œ„ํ•œ ๋‘๊ฐ€์ง€ ์•Œ๊ณ ๋ฆฌ์ฆ˜์„ ์ œ์‹œํ•œ๋‹ค. ๋จผ์ € ์šฐ๋ฆฌ๋Š” ์˜ค๊ฒ€์ƒ‰์„ ํ”ผํ•  ์ˆ˜ ์žˆ๋„๋ก ๋ฌธ์ž๋‹จ์œ„ ์ ‘๋‘์‚ฌ ํ•จ์ˆ˜๋ฅผ ์ ์šฉํ•˜์—ฌ KMP ์•Œ๊ณ ๋ฆฌ์ฆ˜์„ ๊ฐœ์„ ํ•œ๋‹ค. ๋‹ค์Œ์œผ๋กœ ์šฐ๋ฆฌ๋Š” ๋ฌธ์ž๋‹จ์œ„ ์ด๋™ ํ…Œ์ด๋ธ”์„ ์ ์šฉํ•˜์—ฌ Horspool ์•Œ๊ณ ๋ฆฌ์ฆ˜์˜ ๋ณ€ํ˜•์ธ Sunday ์•Œ๊ณ ๋ฆฌ์ฆ˜์„ ๊ฐœ์„ ํ•œ๋‹ค. ๋ฌธ์ž๋‹จ์œ„์˜ ์ ‘๋‘์‚ฌ ํ•จ์ˆ˜์™€ ๋ฌธ์ž๋‹จ์œ„์˜ ์ด๋™ ํ…Œ์ด๋ธ”์€ ์ฒ˜์Œ์œผ๋กœ ๋ณธ ๋…ผ๋ฌธ์—์„œ ์ œ์‹œ๋˜๋Š” ๊ฒƒ์ด๋‹ค. ์ด ์•Œ๊ณ ๋ฆฌ์ฆ˜๋“ค์€ ์˜ค๊ฒ€์ƒ‰์„ ์ œ๊ฑฐํ•  ๋ฟ๋งŒ ์•„๋‹ˆ๋ผ ๊ธฐ๋ฐ˜์ด ๋˜๋Š” ์•Œ๊ณ ๋ฆฌ์ฆ˜๋“ค๊ณผ ๋น„๊ตํ–ˆ์„ ๋•Œ ํฐ ์†๋„ ์ €ํ•˜ ์—†์ด ๋น ๋ฅธ ์†๋„๋ฅผ ๋ณด์žฅํ•œ๋‹ค.Docto

    A Study on central neural pathways of the sciatic and the femoral nerves of the rat using pseudorabies virus

    No full text
    ํ•™์œ„๋…ผ๋ฌธ(๋ฐ•์‚ฌ)--์„œ์šธ๋Œ€ํ•™๊ต ๋Œ€ํ•™์› :์˜ํ•™๊ณผ ํ•ด๋ถ€ํ•™์ „๊ณต,1996.Docto
    corecore