C# 클래스 QACExperimenter.Approaches.BaseApproach

Base approach class to extend
파일 보기 프로젝트 열기: stewhir/recent-robust-qac 1 사용 예제들

공개 메소드들

메소드 설명
BaseApproach ( int autoCompleteAfterNChars, StandardEvalOutput evalOutput, PrefixProfile queryPrefixProfile ) : System
CreateAutoCompletionList ( IEnumerable allPrefixEntries, int defaultMinCutOff = 1 ) : AutoCompletionList

Create the autocompletion list from the prefix entries ready for evaluation sorting and output

InterleavedInput ( System.DateTime changeTime, string inputLine ) : void

Overide me to handle interleaved input (e.g. event-driven query classification)

SubmitQuery ( System.DateTime queryTime, string query ) : void
WaitForFinish ( ) : void

Wait until all threads have finished

보호된 메소드들

메소드 설명
AutoCompleteQuery ( System.DateTime queryTime, string partialQuery, string fullQuery ) : AutoCompletionList

Needs to be overidden to do autocompletion.

비공개 메소드들

메소드 설명
QueueEvaluationThread ( System.DateTime queryTime, string partialQuery, string query, AutoCompletionList autoCompletionList ) : void

Queue the evaluation thread

메소드 상세

AutoCompleteQuery() 보호된 메소드

Needs to be overidden to do autocompletion.
protected AutoCompleteQuery ( System.DateTime queryTime, string partialQuery, string fullQuery ) : AutoCompletionList
queryTime System.DateTime
partialQuery string
fullQuery string
리턴 AutoCompletionList

BaseApproach() 공개 메소드

public BaseApproach ( int autoCompleteAfterNChars, StandardEvalOutput evalOutput, PrefixProfile queryPrefixProfile ) : System
autoCompleteAfterNChars int
evalOutput QACExperimenter.Evaluation.StandardEvalOutput
queryPrefixProfile PrefixProfile
리턴 System

CreateAutoCompletionList() 공개 메소드

Create the autocompletion list from the prefix entries ready for evaluation sorting and output
public CreateAutoCompletionList ( IEnumerable allPrefixEntries, int defaultMinCutOff = 1 ) : AutoCompletionList
allPrefixEntries IEnumerable
defaultMinCutOff int
리턴 AutoCompletionList

InterleavedInput() 공개 메소드

Overide me to handle interleaved input (e.g. event-driven query classification)
public InterleavedInput ( System.DateTime changeTime, string inputLine ) : void
changeTime System.DateTime
inputLine string
리턴 void

SubmitQuery() 공개 메소드

public SubmitQuery ( System.DateTime queryTime, string query ) : void
queryTime System.DateTime
query string
리턴 void

WaitForFinish() 공개 메소드

Wait until all threads have finished
public WaitForFinish ( ) : void
리턴 void