C# Class natix.SimilaritySearch.BasicIndex

The basic methods for an Index
Inheritance: Index
显示文件 Open project: sadit/natix

Protected Properties

Property Type Description
internal_numdists long

Public Methods

Method Description
BasicIndex ( ) : System

Constructor

Load ( BinaryReader Input ) : void

space

Save ( BinaryWriter Output ) : void
SearchKNN ( object q, int K ) : IResult

Search by KNN

SearchKNN ( object q, int K, IResult res ) : IResult

Perform a KNN search.

SearchRange ( object q, double radius ) : IResult

Search by range

Method Details

BasicIndex() public method

Constructor
public BasicIndex ( ) : System
return System

Load() public method

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

Save() public method

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

SearchKNN() public method

Search by KNN
public SearchKNN ( object q, int K ) : IResult
q object
K int
return IResult

SearchKNN() public abstract method

Perform a KNN search.
public abstract SearchKNN ( object q, int K, IResult res ) : IResult
q object
K int
res IResult
return IResult

SearchRange() public method

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

Property Details

internal_numdists protected_oe property

protected long internal_numdists
return long