C# Class natix.CompactDS.InvIndexSketches

Inheritance: IRankSelectSeq
Afficher le fichier Open project: sadit/natix Class Usage Examples

Méthodes publiques

Свойство Type Description
AlphabetBlock int
FreqPerm IList
InvIndex IList
N int
Sketch ListSDiff64

Méthodes publiques

Méthode Description
Access ( int pos ) : int
AccessFromSketch ( int pos, int sketch_block ) : int
AccessRange ( int start, int length ) : IEnumerable
AccessRangeGeneric ( int start, int length ) : IEnumerable
Build ( IList sequence, int alphabet_size, int alphabet_block ) : void

Builds the index for the sequence

CreateSketch ( IList invindex, int maxvalue ) : void
InvIndexSketches ( ) : System
Load ( BinaryReader Input ) : void
PermSortByFreq ( IList invindex, int _maxvalue ) : 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 méthode

public Access ( int pos ) : int
pos int
Résultat int

AccessFromSketch() public méthode

public AccessFromSketch ( int pos, int sketch_block ) : int
pos int
sketch_block int
Résultat int

AccessRange() public méthode

public AccessRange ( int start, int length ) : IEnumerable
start int
length int
Résultat IEnumerable

AccessRangeGeneric() public méthode

public AccessRangeGeneric ( int start, int length ) : IEnumerable
start int
length int
Résultat IEnumerable

Build() public méthode

Builds the index for the sequence
public Build ( IList sequence, int alphabet_size, int alphabet_block ) : void
sequence IList
alphabet_size int
alphabet_block int
Résultat void

CreateSketch() public méthode

public CreateSketch ( IList invindex, int maxvalue ) : void
invindex IList
maxvalue int
Résultat void

InvIndexSketches() public méthode

public InvIndexSketches ( ) : System
Résultat System

Load() public méthode

public Load ( BinaryReader Input ) : void
Input System.IO.BinaryReader
Résultat void

PermSortByFreq() public méthode

public PermSortByFreq ( IList invindex, int _maxvalue ) : void
invindex IList
_maxvalue int
Résultat void

Rank() public méthode

public Rank ( int symbol, int pos ) : int
symbol int
pos int
Résultat int

Save() public méthode

Save the index
public Save ( BinaryWriter Output ) : void
Output System.IO.BinaryWriter
Résultat void

Select() public méthode

public Select ( int symbol, int rank ) : int
symbol int
rank int
Résultat int

Unravel() public méthode

public Unravel ( int symbol ) : Bitmap
symbol int
Résultat Bitmap

Property Details

AlphabetBlock public_oe property

The size of the block for the sketch
public int AlphabetBlock
Résultat int

FreqPerm public_oe property

Vocabulary sorted by frequency
public IList FreqPerm
Résultat IList

InvIndex public_oe property

Inverted index
public IList InvIndex
Résultat IList

N public_oe property

The size in words (entities) of the text
public int N
Résultat int

Sketch public_oe property

An sketch of the text
public ListSDiff64 Sketch
Résultat ListSDiff64