C# Class natix.SimilaritySearch.DynamicSequential

The sequential index
Inheritance: BasicIndex
ファイルを表示 Open project: sadit/natix Class Usage Examples

Public Methods

Method Description
AppendKExtremes ( IResult near, IResult far, List items ) : void
ComputeDistances ( MetricDB db, IEnumerable sample, object piv, List output ) : List
ComputeDistances ( MetricDB db, IEnumerable sample, object piv, List output, Stats &stats ) : List
ComputeDistances ( MetricDB db, IEnumerable sample, object piv, List output, Stats &stats, int &min_objID, int &max_objID ) : List
ComputeDistances ( object piv, List output ) : List
ComputeDistances ( object piv, List output, Stats &stats ) : List
ComputeDistances ( object piv, List output, Stats &stats, int &min_objID, int &max_objID ) : List
DropCloseToMean ( double near_radius, double far_radius, IResult near, IResult far, List items ) : void
DynamicSequential ( ) : System

Constructor

GetAnyItem ( ) : int
Iterate ( ) : IEnumerable
Remove ( IEnumerable docs ) : void
Remove ( IResult res ) : void
Remove ( int docid ) : void
SearchExtremes ( object q, IResult near, IResult far ) : void
SearchKNN ( object q, int k, IResult R ) : IResult

KNN Search

SearchRange ( object q, double radius ) : IResult

Search by range

SortByDistance ( List output ) : void

Method Details

AppendKExtremes() public method

public AppendKExtremes ( IResult near, IResult far, List items ) : void
near IResult
far IResult
items List
return void

ComputeDistances() public static method

public static ComputeDistances ( MetricDB db, IEnumerable sample, object piv, List output ) : List
db MetricDB
sample IEnumerable
piv object
output List
return List

ComputeDistances() public static method

public static ComputeDistances ( MetricDB db, IEnumerable sample, object piv, List output, Stats &stats ) : List
db MetricDB
sample IEnumerable
piv object
output List
stats Stats
return List

ComputeDistances() public static method

public static ComputeDistances ( MetricDB db, IEnumerable sample, object piv, List output, Stats &stats, int &min_objID, int &max_objID ) : List
db MetricDB
sample IEnumerable
piv object
output List
stats Stats
min_objID int
max_objID int
return List

ComputeDistances() public method

public ComputeDistances ( object piv, List output ) : List
piv object
output List
return List

ComputeDistances() public method

public ComputeDistances ( object piv, List output, Stats &stats ) : List
piv object
output List
stats Stats
return List

ComputeDistances() public method

public ComputeDistances ( object piv, List output, Stats &stats, int &min_objID, int &max_objID ) : List
piv object
output List
stats Stats
min_objID int
max_objID int
return List

DropCloseToMean() public method

public DropCloseToMean ( double near_radius, double far_radius, IResult near, IResult far, List items ) : void
near_radius double
far_radius double
near IResult
far IResult
items List
return void

DynamicSequential() public method

Constructor
public DynamicSequential ( ) : System
return System

GetAnyItem() public abstract method

public abstract GetAnyItem ( ) : int
return int

Iterate() public abstract method

public abstract Iterate ( ) : IEnumerable
return IEnumerable

Remove() public method

public Remove ( IEnumerable docs ) : void
docs IEnumerable
return void

Remove() public method

public Remove ( IResult res ) : void
res IResult
return void

Remove() public abstract method

public abstract Remove ( int docid ) : void
docid int
return void

SearchExtremes() public method

public SearchExtremes ( object q, IResult near, IResult far ) : void
q object
near IResult
far IResult
return void

SearchKNN() public method

KNN Search
public SearchKNN ( object q, int k, IResult R ) : IResult
q object
k int
R IResult
return IResult

SearchRange() public method

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

SortByDistance() public static method

public static SortByDistance ( List output ) : void
output List
return void