C# Class natix.SimilaritySearch.DynamicSequential

The sequential index
Inheritance: BasicIndex
Afficher le fichier Open project: sadit/natix Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public AppendKExtremes ( IResult near, IResult far, List items ) : void
near IResult
far IResult
items List
Résultat void

ComputeDistances() public static méthode

public static ComputeDistances ( MetricDB db, IEnumerable sample, object piv, List output ) : List
db MetricDB
sample IEnumerable
piv object
output List
Résultat List

ComputeDistances() public static méthode

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

ComputeDistances() public static méthode

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
Résultat List

ComputeDistances() public méthode

public ComputeDistances ( object piv, List output ) : List
piv object
output List
Résultat List

ComputeDistances() public méthode

public ComputeDistances ( object piv, List output, Stats &stats ) : List
piv object
output List
stats Stats
Résultat List

ComputeDistances() public méthode

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
Résultat List

DropCloseToMean() public méthode

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
Résultat void

DynamicSequential() public méthode

Constructor
public DynamicSequential ( ) : System
Résultat System

GetAnyItem() public abstract méthode

public abstract GetAnyItem ( ) : int
Résultat int

Iterate() public abstract méthode

public abstract Iterate ( ) : IEnumerable
Résultat IEnumerable

Remove() public méthode

public Remove ( IEnumerable docs ) : void
docs IEnumerable
Résultat void

Remove() public méthode

public Remove ( IResult res ) : void
res IResult
Résultat void

Remove() public abstract méthode

public abstract Remove ( int docid ) : void
docid int
Résultat void

SearchExtremes() public méthode

public SearchExtremes ( object q, IResult near, IResult far ) : void
q object
near IResult
far IResult
Résultat void

SearchKNN() public méthode

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

SearchRange() public méthode

Search by range
public SearchRange ( object q, double radius ) : IResult
q object
radius double
Résultat IResult

SortByDistance() public static méthode

public static SortByDistance ( List output ) : void
output List
Résultat void