C# Class QACExperimenter.Approaches.BaseApproach

Base approach class to extend
Afficher le fichier Open project: stewhir/recent-robust-qac Class Usage Examples

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
AutoCompleteQuery ( System.DateTime queryTime, string partialQuery, string fullQuery ) : AutoCompletionList

Needs to be overidden to do autocompletion.

Private Methods

Méthode Description
QueueEvaluationThread ( System.DateTime queryTime, string partialQuery, string query, AutoCompletionList autoCompletionList ) : void

Queue the evaluation thread

Method Details

AutoCompleteQuery() protected méthode

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

BaseApproach() public méthode

public BaseApproach ( int autoCompleteAfterNChars, StandardEvalOutput evalOutput, PrefixProfile queryPrefixProfile ) : System
autoCompleteAfterNChars int
evalOutput QACExperimenter.Evaluation.StandardEvalOutput
queryPrefixProfile PrefixProfile
Résultat System

CreateAutoCompletionList() public méthode

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
Résultat AutoCompletionList

InterleavedInput() public méthode

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
Résultat void

SubmitQuery() public méthode

public SubmitQuery ( System.DateTime queryTime, string query ) : void
queryTime System.DateTime
query string
Résultat void

WaitForFinish() public méthode

Wait until all threads have finished
public WaitForFinish ( ) : void
Résultat void