C# 클래스 natix.CompactDS.InvIndexSketches

상속: IRankSelectSeq
파일 보기 프로젝트 열기: sadit/natix 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AlphabetBlock int
FreqPerm IList
InvIndex IList
N int
Sketch ListSDiff64

공개 메소드들

메소드 설명
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

메소드 상세

Access() 공개 메소드

public Access ( int pos ) : int
pos int
리턴 int

AccessFromSketch() 공개 메소드

public AccessFromSketch ( int pos, int sketch_block ) : int
pos int
sketch_block int
리턴 int

AccessRange() 공개 메소드

public AccessRange ( int start, int length ) : IEnumerable
start int
length int
리턴 IEnumerable

AccessRangeGeneric() 공개 메소드

public AccessRangeGeneric ( int start, int length ) : IEnumerable
start int
length int
리턴 IEnumerable

Build() 공개 메소드

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
리턴 void

CreateSketch() 공개 메소드

public CreateSketch ( IList invindex, int maxvalue ) : void
invindex IList
maxvalue int
리턴 void

InvIndexSketches() 공개 메소드

public InvIndexSketches ( ) : System
리턴 System

Load() 공개 메소드

public Load ( BinaryReader Input ) : void
Input System.IO.BinaryReader
리턴 void

PermSortByFreq() 공개 메소드

public PermSortByFreq ( IList invindex, int _maxvalue ) : void
invindex IList
_maxvalue int
리턴 void

Rank() 공개 메소드

public Rank ( int symbol, int pos ) : int
symbol int
pos int
리턴 int

Save() 공개 메소드

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

Select() 공개 메소드

public Select ( int symbol, int rank ) : int
symbol int
rank int
리턴 int

Unravel() 공개 메소드

public Unravel ( int symbol ) : Bitmap
symbol int
리턴 Bitmap

프로퍼티 상세

AlphabetBlock 공개적으로 프로퍼티

The size of the block for the sketch
public int AlphabetBlock
리턴 int

FreqPerm 공개적으로 프로퍼티

Vocabulary sorted by frequency
public IList FreqPerm
리턴 IList

InvIndex 공개적으로 프로퍼티

Inverted index
public IList InvIndex
리턴 IList

N 공개적으로 프로퍼티

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

Sketch 공개적으로 프로퍼티

An sketch of the text
public ListSDiff64 Sketch
리턴 ListSDiff64