C# Class natix.SimilaritySearch.PivotGroupIndex

Inheritance: BasicIndex
Datei anzeigen Open project: sadit/natix Class Usage Examples

Public Properties

Property Type Description
GROUPS natix.SimilaritySearch.PivotGroup[]

Public Methods

Method Description
Build ( MetricDB db, int num_groups, double alpha, int min_bs, bool do_far = true, int num_build_processors = -1, Func new_pivot_group = null ) : void
Build ( PivotGroupIndex pgi, int num_groups ) : void
Load ( BinaryReader Input ) : void
PivotGroupIndex ( ) : System
Save ( BinaryWriter Output ) : void
SearchKNN ( object q, int K, IResult res ) : IResult
SearchRange ( object q, double radius ) : IResult

Protected Methods

Method Description
InitGROUPS ( int len ) : void

Method Details

Build() public method

public Build ( MetricDB db, int num_groups, double alpha, int min_bs, bool do_far = true, int num_build_processors = -1, Func new_pivot_group = null ) : void
db MetricDB
num_groups int
alpha double
min_bs int
do_far bool
num_build_processors int
new_pivot_group Func
return void

Build() public method

public Build ( PivotGroupIndex pgi, int num_groups ) : void
pgi PivotGroupIndex
num_groups int
return void

InitGROUPS() protected method

protected InitGROUPS ( int len ) : void
len int
return void

Load() public method

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

PivotGroupIndex() public method

public PivotGroupIndex ( ) : 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 K, IResult res ) : IResult
q object
K int
res IResult
return IResult

SearchRange() public method

public SearchRange ( object q, double radius ) : IResult
q object
radius double
return IResult

Property Details

GROUPS public_oe property

public PivotGroup[],natix.SimilaritySearch GROUPS
return natix.SimilaritySearch.PivotGroup[]