C# Class natix.SimilaritySearch.LocalSearchBeam

Inheritance: LocalSearch
Mostrar archivo Open project: sadit/natix Class Usage Examples

Public Properties

Property Type Description
BeamSize int

Public Methods

Method Description
Build ( MetricDB db, int neighbors, int beam_size ) : void
Load ( BinaryReader Input ) : void
LocalSearchBeam ( ) : System
LocalSearchBeam ( LocalSearch other, int beamsize ) : System
Save ( BinaryWriter Output ) : void
SearchKNN ( object q, int K, IResult res ) : IResult

Protected Methods

Method Description
FirstBeam ( object q, HashSet evaluated, IResult res ) : Result

Method Details

Build() public method

public Build ( MetricDB db, int neighbors, int beam_size ) : void
db MetricDB
neighbors int
beam_size int
return void

FirstBeam() protected method

protected FirstBeam ( object q, HashSet evaluated, IResult res ) : Result
q object
evaluated HashSet
res IResult
return Result

Load() public method

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

LocalSearchBeam() public method

public LocalSearchBeam ( ) : System
return System

LocalSearchBeam() public method

public LocalSearchBeam ( LocalSearch other, int beamsize ) : System
other LocalSearch
beamsize int
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

Property Details

BeamSize public_oe property

public int BeamSize
return int