com.hankcs.hanlp.algoritm
类 LongestCommonSubstring

java.lang.Object
  继承者 com.hankcs.hanlp.algoritm.LongestCommonSubstring

public class LongestCommonSubstring
extends Object

求最长公共字串的长度

作者:
hankcs

构造方法摘要
LongestCommonSubstring()
           
 
方法摘要
static int compute(char[] str1, char[] str2)
           
static int compute(String str1, String str2)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

LongestCommonSubstring

public LongestCommonSubstring()
方法详细信息

compute

public static int compute(char[] str1,
                          char[] str2)

compute

public static int compute(String str1,
                          String str2)


Copyright © 2014–2015 码农场. All rights reserved.