C# Class natix.SimilaritySearch.KnrSeqSearch

Inheritance: BasicIndex
Afficher le fichier Open project: sadit/natix Class Usage Examples

Méthodes publiques

Свойство Type Description
K int
MAXCAND int
R Index
SEQ Sequence

Méthodes publiques

Méthode Description
Build ( KnrSeqSearch other ) : void
Build ( MetricDB db, Index refs, int K = 7, int maxcand = 1024, SequenceBuilder seq_builder = null ) : void
Build ( MetricDB db, KnrFP knrfp, int maxcand = 1024, SequenceBuilder seq_builder = null ) : void
Build ( MetricDB db, Random rand, int num_refs, int K = 7, int maxcand = 1024, SequenceBuilder seq_builder = null ) : void
BuildApprox ( MetricDB db, Random rand, int num_refs, int K = 7, int maxcand = 1024, SequenceBuilder seq_builder = null ) : void
GetKnr ( object q ) : int[]
GetSortedByPrefix ( SequenceBuilder seq_builder = null, ListIBuilder list_builder = null ) : KnrSeqSearch
GetStoredKnr ( int docid ) : int[]
KnrSeqSearch ( ) : System
KnrSeqSearch ( KnrSeqSearch other ) : System
Load ( BinaryReader Input ) : void
Save ( BinaryWriter Output ) : void
SearchKNN ( int qseq, object q, IResult res, int maxcand ) : IResult
SearchKNN ( object q, int knn, IResult res ) : IResult

Méthodes protégées

Méthode Description
GetCandidates ( int qseq, int maxcand ) : IResult
GetCandidatesPlain ( int qseq, int maxcand ) : IResult

Method Details

Build() public méthode

public Build ( KnrSeqSearch other ) : void
other KnrSeqSearch
Résultat void

Build() public méthode

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

Build() public méthode

public Build ( MetricDB db, KnrFP knrfp, int maxcand = 1024, SequenceBuilder seq_builder = null ) : void
db MetricDB
knrfp KnrFP
maxcand int
seq_builder SequenceBuilder
Résultat void

Build() public méthode

public Build ( MetricDB db, Random rand, int num_refs, int K = 7, int maxcand = 1024, SequenceBuilder seq_builder = null ) : void
db MetricDB
rand System.Random
num_refs int
K int
maxcand int
seq_builder SequenceBuilder
Résultat void

BuildApprox() public méthode

public BuildApprox ( MetricDB db, Random rand, int num_refs, int K = 7, int maxcand = 1024, SequenceBuilder seq_builder = null ) : void
db MetricDB
rand System.Random
num_refs int
K int
maxcand int
seq_builder SequenceBuilder
Résultat void

GetCandidates() protected méthode

protected GetCandidates ( int qseq, int maxcand ) : IResult
qseq int
maxcand int
Résultat IResult

GetCandidatesPlain() protected méthode

protected GetCandidatesPlain ( int qseq, int maxcand ) : IResult
qseq int
maxcand int
Résultat IResult

GetKnr() public méthode

public GetKnr ( object q ) : int[]
q object
Résultat int[]

GetSortedByPrefix() public méthode

public GetSortedByPrefix ( SequenceBuilder seq_builder = null, ListIBuilder list_builder = null ) : KnrSeqSearch
seq_builder SequenceBuilder
list_builder ListIBuilder
Résultat KnrSeqSearch

GetStoredKnr() public méthode

public GetStoredKnr ( int docid ) : int[]
docid int
Résultat int[]

KnrSeqSearch() public méthode

public KnrSeqSearch ( ) : System
Résultat System

KnrSeqSearch() public méthode

public KnrSeqSearch ( KnrSeqSearch other ) : System
other KnrSeqSearch
Résultat System

Load() public méthode

public Load ( BinaryReader Input ) : void
Input System.IO.BinaryReader
Résultat void

Save() public méthode

public Save ( BinaryWriter Output ) : void
Output System.IO.BinaryWriter
Résultat void

SearchKNN() public méthode

public SearchKNN ( int qseq, object q, IResult res, int maxcand ) : IResult
qseq int
q object
res IResult
maxcand int
Résultat IResult

SearchKNN() public méthode

public SearchKNN ( object q, int knn, IResult res ) : IResult
q object
knn int
res IResult
Résultat IResult

Property Details

K public_oe property

public int K
Résultat int

MAXCAND public_oe property

public int MAXCAND
Résultat int

R public_oe property

public Index R
Résultat Index

SEQ public_oe property

public Sequence SEQ
Résultat Sequence