C# Class natix.CompactDS.CSA

Inheritance: ITextIndex
Mostra file Open project: sadit/natix

Public Properties

Property Type Description
Psi IList
SA_invsamples ListIFS
SA_marked Bitmap
SA_sample_step short
SA_samples ListIFS
charT int[]
newF Bitmap

Private Properties

Property Type Description
GetCharId int
_get_suffix_lazy IList
_lex_cmp int

Public Methods

Method Description
Build ( string sa_name, ListIBuilder list_builder = null ) : void
CSA ( ) : System
CountOcc ( IList query ) : int
Extract ( int start_pos, int len ) : IList
GetSuffix ( IList Output, int suffix_index, int len ) : IList
GetSuffixLazy ( int suffix_index, int len ) : IEnumerable
GetText ( IList Output ) : IList
Load ( string basename ) : void
Locate ( IList query ) : IList
Locate ( int suffix ) : int
Save ( string basename ) : void
Search ( IList query, int &start_pos, int &end_pos ) : bool

Private Methods

Method Description
GetCharId ( int c ) : int
_get_suffix_lazy ( int suffix ) : IList
_lex_cmp ( IList a, IList b ) : int

Method Details

Build() public method

public Build ( string sa_name, ListIBuilder list_builder = null ) : void
sa_name string
list_builder ListIBuilder
return void

CSA() public method

public CSA ( ) : System
return System

CountOcc() public method

public CountOcc ( IList query ) : int
query IList
return int

Extract() public method

public Extract ( int start_pos, int len ) : IList
start_pos int
len int
return IList

GetSuffix() public method

public GetSuffix ( IList Output, int suffix_index, int len ) : IList
Output IList
suffix_index int
len int
return IList

GetSuffixLazy() public method

public GetSuffixLazy ( int suffix_index, int len ) : IEnumerable
suffix_index int
len int
return IEnumerable

GetText() public method

public GetText ( IList Output ) : IList
Output IList
return IList

Load() public method

public Load ( string basename ) : void
basename string
return void

Locate() public method

public Locate ( IList query ) : IList
query IList
return IList

Locate() public method

public Locate ( int suffix ) : int
suffix int
return int

Save() public method

public Save ( string basename ) : void
basename string
return void

Search() public method

public Search ( IList query, int &start_pos, int &end_pos ) : bool
query IList
start_pos int
end_pos int
return bool

Property Details

Psi public_oe property

public IList Psi
return IList

SA_invsamples public_oe property

public ListIFS SA_invsamples
return ListIFS

SA_marked public_oe property

public Bitmap,natix.CompactDS SA_marked
return Bitmap

SA_sample_step public_oe property

public short SA_sample_step
return short

SA_samples public_oe property

public ListIFS SA_samples
return ListIFS

charT public_oe property

public int[] charT
return int[]

newF public_oe property

public Bitmap,natix.CompactDS newF
return Bitmap