C# Class natix.CompactDS.Plain64PairInvertedIndex

Inheritance: ILoadSave
Mostra file Open project: sadit/natix

Public Methods

Method Description
Add ( IEnumerable sortedlist, IEnumerable distances ) : int

Adds a posting list to the index. Returns the corresponding symbol

AddItem ( int symbol, long item, double distance ) : void
Initialize ( int sigma ) : void
Load ( BinaryReader Input ) : void
Plain64PairInvertedIndex ( ) : System
PopCount ( int symbol ) : int
Save ( BinaryWriter Output ) : void
Trim ( int size ) : void
this ( int symbol ) : Node

Method Details

Add() public method

Adds a posting list to the index. Returns the corresponding symbol
public Add ( IEnumerable sortedlist, IEnumerable distances ) : int
sortedlist IEnumerable Sortedlist.
distances IEnumerable
return int

AddItem() public method

public AddItem ( int symbol, long item, double distance ) : void
symbol int
item long
distance double
return void

Initialize() public method

public Initialize ( int sigma ) : void
sigma int
return void

Load() public method

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

Plain64PairInvertedIndex() public method

public Plain64PairInvertedIndex ( ) : System
return System

PopCount() public method

public PopCount ( int symbol ) : int
symbol int
return int

Save() public method

public Save ( BinaryWriter Output ) : void
Output BinaryWriter
return void

Trim() public method

public Trim ( int size ) : void
size int
return void

this() public method

public this ( int symbol ) : Node
symbol int
return Node