C# Class natix.SimilaritySearch.PivotsAbstract

Inheritance: BasicIndex, IndexSingle
显示文件 Open project: sadit/natix

Public Properties

Property Type Description
DIST List[]
PIVS MetricDB

Public Methods

Method Description
Build ( MetricDB db, MetricDB pivs, int NUMBER_TASKS = -1 ) : void
CreateQueryContext ( object q ) : object
Load ( BinaryReader Input ) : void
MustReviewItem ( object q, int item, double radius, object ctx ) : bool
PivotsAbstract ( ) : System
Save ( BinaryWriter Output ) : void
SearchKNN ( object q, int K, IResult res ) : IResult
SearchRange ( object q, double radius ) : IResult

Method Details

Build() public method

public Build ( MetricDB db, MetricDB pivs, int NUMBER_TASKS = -1 ) : void
db MetricDB
pivs MetricDB
NUMBER_TASKS int
return void

CreateQueryContext() public method

public CreateQueryContext ( object q ) : object
q object
return object

Load() public method

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

MustReviewItem() public method

public MustReviewItem ( object q, int item, double radius, object ctx ) : bool
q object
item int
radius double
ctx object
return bool

PivotsAbstract() public method

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

DIST public_oe property

public List[] DIST
return List[]

PIVS public_oe property

public MetricDB PIVS
return MetricDB