C# 클래스 QuizGameServer.FuzzyAnswerMatchStrategy

상속: IAnswerMatchingStrategy
파일 보기 프로젝트 열기: pebblecode/ChatQuiz 1 사용 예제들

공개 메소드들

메소드 설명
FuzzyAnswerMatchStrategy ( ) : System
FuzzyAnswerMatchStrategy ( int maxDistance ) : System
IsMatch ( string p1, string p2 ) : bool

비공개 메소드들

메소드 설명
Compute ( string s, string t ) : int

Compute the distance between two strings.

메소드 상세

FuzzyAnswerMatchStrategy() 공개 메소드

public FuzzyAnswerMatchStrategy ( ) : System
리턴 System

FuzzyAnswerMatchStrategy() 공개 메소드

public FuzzyAnswerMatchStrategy ( int maxDistance ) : System
maxDistance int
리턴 System

IsMatch() 공개 메소드

public IsMatch ( string p1, string p2 ) : bool
p1 string
p2 string
리턴 bool