C# Class natix.SimilaritySearch.Result

The result set
Inheritance: IResult
Afficher le fichier Open project: sadit/natix

Méthodes publiques

Méthode Description
Contains ( int docid, double d ) : bool

Returns true if the result set contains the docid with the given distance

Equals ( IResult obj ) : bool

checks for equallity of two result's set

GetEnumerator ( ) : IEnumerator

Enumerator

PopFirst ( ) : ItemPair

Pop First (closest) item

PopLast ( ) : ItemPair

Pop Last (farthest) item

Push ( int docid, double d ) : bool

Push a docid and a distance to the result set

Remove ( int docid, double d ) : bool

Remove the register with the given docid and distance

Result ( int k ) : System

Constructor

Private Methods

Méthode Description
IEnumerable ( ) : IEnumerator

Method Details

Contains() public méthode

Returns true if the result set contains the docid with the given distance
public Contains ( int docid, double d ) : bool
docid int
d double
Résultat bool

Equals() public méthode

checks for equallity of two result's set
public Equals ( IResult obj ) : bool
obj IResult
Résultat bool

GetEnumerator() public méthode

Enumerator
public GetEnumerator ( ) : IEnumerator
Résultat IEnumerator

PopFirst() public méthode

Pop First (closest) item
public PopFirst ( ) : ItemPair
Résultat ItemPair

PopLast() public méthode

Pop Last (farthest) item
public PopLast ( ) : ItemPair
Résultat ItemPair

Push() public méthode

Push a docid and a distance to the result set
public Push ( int docid, double d ) : bool
docid int
d double
Résultat bool

Remove() public méthode

Remove the register with the given docid and distance
public Remove ( int docid, double d ) : bool
docid int
d double
Résultat bool

Result() public méthode

Constructor
public Result ( int k ) : System
k int
Résultat System