C# Class natix.SimilaritySearch.SAT

Inheritance: BasicIndex, ILoadSave
Exibir arquivo Open project: sadit/natix Class Usage Examples

Public Properties

Property Type Description
root Node

Public Methods

Method Description
Build ( MetricDB db, Random rand ) : void
Load ( BinaryReader Input ) : void
SAT ( ) : System
Save ( BinaryWriter Output ) : void
SearchKNN ( object q, int K, IResult res ) : IResult

Protected Methods

Method Description
BuildNode ( Node node, List items, int depth ) : void
SearchKNNNode ( Node node, object q, IResult res ) : void
SortItems ( List items ) : void

Method Details

Build() public method

public Build ( MetricDB db, Random rand ) : void
db MetricDB
rand System.Random
return void

BuildNode() protected method

protected BuildNode ( Node node, List items, int depth ) : void
node Node
items List
depth int
return void

Load() public method

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

SAT() public method

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

SearchKNNNode() protected method

protected SearchKNNNode ( Node node, object q, IResult res ) : void
node Node
q object
res IResult
return void

SortItems() protected method

protected SortItems ( List items ) : void
items List
return void

Property Details

root public_oe property

public Node root
return Node