C# Class natix.CompactDS.CompressedInvertedIndex

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

Build ( InvertedIndex invindex ) : CompressedInvertedIndex
CompressedInvertedIndex ( ) : System
Decompress ( List list, int symbol ) : void
Load ( BinaryReader Input ) : void
PopCount ( int symbol ) : int
Save ( BinaryWriter Output ) : 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

Build() public static method

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

CompressedInvertedIndex() public method

public CompressedInvertedIndex ( ) : System
return System

Decompress() public method

public Decompress ( List list, int symbol ) : void
list List
symbol int
return void

Load() public method

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

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

this() public method

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