C# Class natix.SimilaritySearch.NeighborhoodHash

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

Méthodes publiques

Свойство Type Description
CountSymbolBits int
NeighborhoodExpansion int
R Index
SymbolsPerHash int
hashTable List>.Dictionary

Méthodes publiques

Méthode Description
BubbleSort ( int seq ) : void
Build ( MetricDB db, int symbolsPerHash ) : void
Build ( MetricDB db, int symbolsPerHash, int neighborhoodExpansion, Random rand ) : void
EncodeKnr ( int seq ) : long
FetchPostingLists ( List rankedList, int start ) : IEnumerable>
InternalSearchKNN ( object q, IResult res, IEnumerable postingLists, HashSet evaluated ) : void
Load ( BinaryReader Input ) : void
NeighborhoodHash ( ) : System
RankRefs ( object q ) : List
Save ( BinaryWriter Output ) : void
SearchKNN ( object q, int knn, IResult res ) : IResult

Private Methods

Méthode Description
countBits ( int numrefs ) : int

Method Details

BubbleSort() public static méthode

public static BubbleSort ( int seq ) : void
seq int
Résultat void

Build() public méthode

public Build ( MetricDB db, int symbolsPerHash ) : void
db MetricDB
symbolsPerHash int
Résultat void

Build() public méthode

public Build ( MetricDB db, int symbolsPerHash, int neighborhoodExpansion, Random rand ) : void
db MetricDB
symbolsPerHash int
neighborhoodExpansion int
rand System.Random
Résultat void

EncodeKnr() public méthode

public EncodeKnr ( int seq ) : long
seq int
Résultat long

FetchPostingLists() public méthode

public FetchPostingLists ( List rankedList, int start ) : IEnumerable>
rankedList List
start int
Résultat IEnumerable>

InternalSearchKNN() public méthode

public InternalSearchKNN ( object q, IResult res, IEnumerable postingLists, HashSet evaluated ) : void
q object
res IResult
postingLists IEnumerable
evaluated HashSet
Résultat void

Load() public méthode

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

NeighborhoodHash() public méthode

public NeighborhoodHash ( ) : System
Résultat System

RankRefs() public méthode

public RankRefs ( object q ) : List
q object
Résultat List

Save() public méthode

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

SearchKNN() public méthode

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

Property Details

CountSymbolBits public_oe property

public int CountSymbolBits
Résultat int

NeighborhoodExpansion public_oe property

public int NeighborhoodExpansion
Résultat int

R public_oe property

public Index R
Résultat Index

SymbolsPerHash public_oe property

public int SymbolsPerHash
Résultat int

hashTable public_oe property

public Dictionary> hashTable
Résultat List>.Dictionary