C# Class natix.SimilaritySearch.MetricShellHash

Inheritance: BasicIndex
Show file Open project: sadit/natix

Public Properties

Property Type Description
InvIndex List>
MAXCAND int
R MetricDB
S List

Public Methods

Method Description
Build ( MetricDB db, MetricDB sample ) : void
Build ( MetricDB db, int num_refs, Random rand ) : void
CreateInvIndex ( ) : void
GetMetricShell ( object q ) : int[]
GetNear ( int seq ) : Result
Load ( BinaryReader Input ) : void
MetricShellHash ( ) : System
Save ( BinaryWriter Output ) : void
SearchKNN ( object q, int knn, IResult res ) : IResult

Private Methods

Method Description
AsString ( IList array ) : string
Jaccard ( int qseq, int useq ) : double

Method Details

Build() public method

public Build ( MetricDB db, MetricDB sample ) : void
db MetricDB
sample MetricDB
return void

Build() public method

public Build ( MetricDB db, int num_refs, Random rand ) : void
db MetricDB
num_refs int
rand System.Random
return void

CreateInvIndex() public method

public CreateInvIndex ( ) : void
return void

GetMetricShell() public method

public GetMetricShell ( object q ) : int[]
q object
return int[]

GetNear() public method

public GetNear ( int seq ) : Result
seq int
return Result

Load() public method

public Load ( BinaryReader Input ) : void
Input System.IO.BinaryReader
return void

MetricShellHash() public method

public MetricShellHash ( ) : System
return System

Save() public method

public Save ( BinaryWriter Output ) : void
Output System.IO.BinaryWriter
return void

SearchKNN() public method

public SearchKNN ( object q, int knn, IResult res ) : IResult
q object
knn int
res IResult
return IResult

Property Details

InvIndex public property

public List> InvIndex
return List>

MAXCAND public property

public int MAXCAND
return int

R public property

public MetricDB R
return MetricDB

S public property

public List S
return List