C# Class natix.SimilaritySearch.MultiNeighborhoodHash

Inheritance: BasicIndex
Show file Open project: sadit/natix Class Usage Examples

Public Properties

Property Type Description
A natix.SimilaritySearch.NeighborhoodHash[]

Public Methods

Method Description
Build ( MetricDB db, Parameters uparams ) : void

Creates an index for db using the specified number of instances.

EstimateParameters ( MetricDB db, int max_instances, int k, double expected_recall, int num_estimation_queries ) : Parameters
Load ( BinaryReader Input ) : void
MultiNeighborhoodHash ( ) : System
Save ( BinaryWriter Output ) : void
SearchKNN ( object q, int knn, IResult res ) : IResult

Private Methods

Method Description
_EstimateParameters ( int k, double expected_recall, NeighborhoodHash I, int Q, HashSet res_array ) : int

Method Details

Build() public method

Creates an index for db using the specified number of instances.
public Build ( MetricDB db, Parameters uparams ) : void
db MetricDB
uparams Parameters
return void

EstimateParameters() public static method

public static EstimateParameters ( MetricDB db, int max_instances, int k, double expected_recall, int num_estimation_queries ) : Parameters
db MetricDB
max_instances int
k int
expected_recall double
num_estimation_queries int
return Parameters

Load() public method

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

MultiNeighborhoodHash() public method

public MultiNeighborhoodHash ( ) : 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

A public property

public NeighborhoodHash[],natix.SimilaritySearch A
return natix.SimilaritySearch.NeighborhoodHash[]