C# Class natix.SimilaritySearch.PivotGroup

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

Public Properties

Property Type Description
Items ItemPair[]
Pivs Pivot[]

Public Methods

Method Description
Build ( MetricDB DB, double alpha, int min_bs, int seed, bool do_far ) : void
Load ( BinaryReader Input ) : void
PivotGroup ( ) : System
Save ( BinaryWriter Output ) : void
SearchKNN ( MetricDB db, object q, int K, IResult res, short A, short current_rank_A ) : int

Protected Methods

Method Description
SearchExtremes ( DynamicSequential idx, List items, object piv, double alpha_stddev, int min_bs, IResult &near, IResult &far, DynamicSequential &stats ) : void

Method Details

Build() public method

public Build ( MetricDB DB, double alpha, int min_bs, int seed, bool do_far ) : void
DB MetricDB
alpha double
min_bs int
seed int
do_far bool
return void

Load() public method

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

PivotGroup() public method

public PivotGroup ( ) : System
return System

Save() public method

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

SearchExtremes() protected method

protected SearchExtremes ( DynamicSequential idx, List items, object piv, double alpha_stddev, int min_bs, IResult &near, IResult &far, DynamicSequential &stats ) : void
idx DynamicSequential
items List
piv object
alpha_stddev double
min_bs int
near IResult
far IResult
stats DynamicSequential
return void

SearchKNN() public method

public SearchKNN ( MetricDB db, object q, int K, IResult res, short A, short current_rank_A ) : int
db MetricDB
q object
K int
res IResult
A short
current_rank_A short
return int

Property Details

Items public property

public ItemPair[] Items
return ItemPair[]

Pivs public property

public Pivot[] Pivs
return Pivot[]