C# Class natix.CompactDS.GolynskiMunroRaoSeq

Inheritance: IRankSelectSeq
Exibir arquivo Open project: sadit/natix Class Usage Examples

Public Methods

Method Description
Access ( int pos ) : int
Build ( IList seq, int sigma, BitmapFromBitStream bitmap_builder, int cyclic_perm_t ) : void
BuildPermInvIndex ( IList seq, int start_index, int sigma, List lists ) : void
GolynskiMunroRaoSeq ( ) : System
Load ( BinaryReader Input ) : void
Rank ( int symbol, int pos ) : int
Save ( BinaryWriter Output ) : void
Select ( int symbol, int abs_rank ) : int
Unravel ( int symbol ) : Bitmap

Protected Methods

Method Description
GetBlockRank ( int symbol, int block_id ) : int

Private Methods

Method Description
Print1Perm ( IPermutation p ) : void
PrintPerms ( ) : void
compute_num_blocks ( ) : void

Method Details

Access() public method

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

Build() public method

public Build ( IList seq, int sigma, BitmapFromBitStream bitmap_builder, int cyclic_perm_t ) : void
seq IList
sigma int
bitmap_builder BitmapFromBitStream
cyclic_perm_t int
return void

BuildPermInvIndex() public method

public BuildPermInvIndex ( IList seq, int start_index, int sigma, List lists ) : void
seq IList
start_index int
sigma int
lists List
return void

GetBlockRank() protected method

protected GetBlockRank ( int symbol, int block_id ) : int
symbol int
block_id int
return int

GolynskiMunroRaoSeq() public method

public GolynskiMunroRaoSeq ( ) : 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

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

Select() public method

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

Unravel() public method

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