C# Class natix.CompactDS.InvIndexXLBSeq

Inheritance: Sequence
Show file Open project: sadit/natix Class Usage Examples

Public Properties

Property Type Description
InvIndex natix.CompactDS.Bitmap[]
Lens Bitmap
N int

Public Methods

Method Description
Access ( int pos ) : int
Build ( IList sequence, int alphabet_size, int t = 16, BitmapFromList rowbuilder = null, BitmapFromBitStream lenbuilder = null ) : void

Builds the index for the sequence

GetNotIdxPERM ( ) : IList
GetPERM ( ) : IPermutation
InvIndexXLBSeq ( ) : System
Load ( BinaryReader Input ) : void
Rank ( int symbol, int pos ) : int
Save ( BinaryWriter Output ) : void

Save the index

Select ( int symbol, int rank ) : int
Unravel ( int symbol ) : Bitmap

Method Details

Access() public method

public Access ( int pos ) : int
pos int
return int

Build() public method

Builds the index for the sequence
public Build ( IList sequence, int alphabet_size, int t = 16, BitmapFromList rowbuilder = null, BitmapFromBitStream lenbuilder = null ) : void
sequence IList
alphabet_size int
t int
rowbuilder BitmapFromList
lenbuilder BitmapFromBitStream
return void

GetNotIdxPERM() public method

public GetNotIdxPERM ( ) : IList
return IList

GetPERM() public method

public GetPERM ( ) : IPermutation
return IPermutation

InvIndexXLBSeq() public method

public InvIndexXLBSeq ( ) : System
return System

Load() public method

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

Rank() public method

public Rank ( int symbol, int pos ) : int
symbol int
pos int
return int

Save() public method

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

Select() public method

public Select ( int symbol, int rank ) : int
symbol int
rank int
return int

Unravel() public method

public Unravel ( int symbol ) : Bitmap
symbol int
return Bitmap

Property Details

InvIndex public property

Inverted index
public Bitmap[],natix.CompactDS InvIndex
return natix.CompactDS.Bitmap[]

Lens public property

public Bitmap,natix.CompactDS Lens
return Bitmap

N public property

The size in words (entities) of the text
public int N
return int