ä½ã§ããããã¯ï¼ äºã¤ã®ã·ã¼ã±ã³ã¹ã®Longest Common Subsequence, Longest Common Subsequence Distanceåã³Shortest Edit Scriptãæ±ããã¯ã©ã¹ã Subversionã®ã³ã¼ãããC++ã«ç§»æ¤ãããã®ã§ãã ã¢ã«ã´ãªãºã ã¯ã"An O(NP) Sequence Comparison Algorithm" (Sun Wu et al.)ã«è¿°ã¹ããã¦ãããã®ã¨åä¸ã§ãè¨ç®éã¯ææªã§O(NP)ãå¹³åçã«ã¯O(N+PD)ã§ãããã ããN=äºã¤ã®ã·ã¼ã±ã³ã¹ã®é·ãã®åãP=D/2-Î/2ãD=LCSè·é¢ãÎ=äºã¤ã®ã·ã¼ã±ã³ã¹ã®é·ãã®å·®ã§ãã ããã§ããLCSè·é¢(longest common subsequence distance)ã¯ãããã·ã¼ã±ã³ã¹ãå¥ã®ã·ã¼ã±ã³ã¹ã«å¤åãããããã«å¿ è¦ãªãã·ã³ãã«ã®æ¿å ¥åã³åé¤æä½ã®æå°
{{#tags}}- {{label}}
{{/tags}}