C# Class natix.SimilaritySearch.Result

The result set
Inheritance: IResult
ファイルを表示 Open project: sadit/natix

Public Methods

Method 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

Method Description
IEnumerable ( ) : IEnumerator

Method Details

Contains() public method

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

Equals() public method

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

GetEnumerator() public method

Enumerator
public GetEnumerator ( ) : IEnumerator
return IEnumerator

PopFirst() public method

Pop First (closest) item
public PopFirst ( ) : ItemPair
return ItemPair

PopLast() public method

Pop Last (farthest) item
public PopLast ( ) : ItemPair
return ItemPair

Push() public method

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

Remove() public method

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

Result() public method

Constructor
public Result ( int k ) : System
k int
return System