C# Class natix.SimilaritySearch.CompactPivotsLRANS

Inheritance: BasicIndex
Datei anzeigen Open project: sadit/natix

Public Properties

Property Type Description
DIST IList[]
MAX_SYMBOL int
MEAN IList
PIVS MetricDB
STDDEV IList
alpha_stddev double

Public Methods

Method Description
Build ( LAESA idx, int num_pivs, int num_rings, ListIBuilder list_builder = null ) : void
CompactPivotsLRANS ( ) : System
Discretize ( double d, float stddev, float mean ) : int
Load ( BinaryReader Input ) : void
Load_DIST ( BinaryReader Input ) : void
Save ( BinaryWriter Output ) : void
Save_DIST ( BinaryWriter Output ) : void
SearchKNN ( object q, int K, IResult res ) : IResult
SearchRange ( object q, double radius ) : IResult

Protected Methods

Method Description
ComputeStats ( IList seq, int p ) : void

Method Details

Build() public method

public Build ( LAESA idx, int num_pivs, int num_rings, ListIBuilder list_builder = null ) : void
idx LAESA
num_pivs int
num_rings int
list_builder ListIBuilder
return void

CompactPivotsLRANS() public method

public CompactPivotsLRANS ( ) : System
return System

ComputeStats() protected method

protected ComputeStats ( IList seq, int p ) : void
seq IList
p int
return void

Discretize() public method

public Discretize ( double d, float stddev, float mean ) : int
d double
stddev float
mean float
return int

Load() public method

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

Load_DIST() public method

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

Save() public method

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

Save_DIST() public method

public Save_DIST ( 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 IList[] DIST
return IList[]

MAX_SYMBOL public_oe property

public int MAX_SYMBOL
return int

MEAN public_oe property

public IList MEAN
return IList

PIVS public_oe property

public MetricDB PIVS
return MetricDB

STDDEV public_oe property

public IList STDDEV
return IList

alpha_stddev public_oe property

The alpha_stddev. A positive value used to multiply the stddev in order to manipulate the number of rings
public double alpha_stddev
return double