C# Class natix.CompactDS.Plain64InvertedIndex

Inheritance: InvertedIndex
显示文件 Open project: sadit/natix Class Usage Examples

Public Methods

Method Description
Add ( IEnumerable sortedlist ) : int

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

Add ( IEnumerable sortedlist ) : int

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

AddItem ( int symbol, long item ) : void
Build ( InvertedIndex invindex ) : Plain64InvertedIndex
Initialize ( int sigma ) : void
Load ( BinaryReader Input ) : void
Plain64InvertedIndex ( ) : System
PopCount ( int symbol ) : int
Save ( BinaryWriter Output ) : void
Trim ( int size ) : void
this ( int symbol ) : List

Method Details

Add() public method

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

Add() public method

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

AddItem() public method

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

Build() public static method

public static Build ( InvertedIndex invindex ) : Plain64InvertedIndex
invindex InvertedIndex
return Plain64InvertedIndex

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

Plain64InvertedIndex() public method

public Plain64InvertedIndex ( ) : System
return System

PopCount() public method

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

Save() public method

public Save ( BinaryWriter Output ) : void
Output System.IO.BinaryWriter
return void

Trim() public method

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

this() public method

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