Property | Type | Description | |
---|---|---|---|
K | int | ||
MAXCAND | int | ||
R | Index | ||
SEQ | Sequence |
Method | Description | |
---|---|---|
Build ( |
||
Build ( MetricDB db, Index refs, int K = 7, int maxcand = 1024, SequenceBuilder seq_builder = null ) : void | ||
Build ( MetricDB db, |
||
Build ( MetricDB db, |
||
BuildApprox ( MetricDB db, |
||
GetKnr ( object q ) : int[] | ||
GetSortedByPrefix ( SequenceBuilder seq_builder = null, ListIBuilder list_builder = null ) : |
||
GetStoredKnr ( int docid ) : int[] | ||
KnrSeqSearch ( ) : System | ||
KnrSeqSearch ( |
||
Load ( |
||
Save ( |
||
SearchKNN ( int qseq, object q, IResult res, int maxcand ) : IResult | ||
SearchKNN ( object q, int knn, IResult res ) : IResult |
Method | Description | |
---|---|---|
GetCandidates ( int qseq, int maxcand ) : IResult | ||
GetCandidatesPlain ( int qseq, int maxcand ) : IResult |
public Build ( MetricDB db, Index refs, int K = 7, int maxcand = 1024, SequenceBuilder seq_builder = null ) : void | ||
db | MetricDB | |
refs | Index | |
K | int | |
maxcand | int | |
seq_builder | SequenceBuilder | |
return | void |
public Build ( MetricDB db, |
||
db | MetricDB | |
knrfp | ||
maxcand | int | |
seq_builder | SequenceBuilder | |
return | void |
public Build ( MetricDB db, |
||
db | MetricDB | |
rand | ||
num_refs | int | |
K | int | |
maxcand | int | |
seq_builder | SequenceBuilder | |
return | void |
public BuildApprox ( MetricDB db, |
||
db | MetricDB | |
rand | ||
num_refs | int | |
K | int | |
maxcand | int | |
seq_builder | SequenceBuilder | |
return | void |
protected GetCandidates ( int qseq, int maxcand ) : IResult | ||
qseq | int | |
maxcand | int | |
return | IResult |
protected GetCandidatesPlain ( int qseq, int maxcand ) : IResult | ||
qseq | int | |
maxcand | int | |
return | IResult |
public GetSortedByPrefix ( SequenceBuilder seq_builder = null, ListIBuilder list_builder = null ) : |
||
seq_builder | SequenceBuilder | |
list_builder | ListIBuilder | |
return |
public KnrSeqSearch ( |
||
other | ||
return | System |
public Load ( |
||
Input | ||
return | void |
public Save ( |
||
Output | ||
return | void |
public SearchKNN ( int qseq, object q, IResult res, int maxcand ) : IResult | ||
qseq | int | |
q | object | |
res | IResult | |
maxcand | int | |
return | IResult |
public SearchKNN ( object q, int knn, IResult res ) : IResult | ||
q | object | |
knn | int | |
res | IResult | |
return | IResult |