File tree 1 file changed +13
-11
lines changed
1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change 3355
3355
- * Text* <---> BWT-Text = BWT(* Text* ) <---> Compression(* BWT-Text* )
3356
3356
- BWT:
3357
3357
- From * Text* to BWT: * Text* ---> * BWT-Text* ---> Compressed * BWT-Text*
3358
- - Forming All Cyclic Rotations of a text ---> Sorting Cyclic Rotations ---> String last column
3358
+ - 1st. Form all cyclic rotations of a text by chopping off a suffix from the end of * Text* and appending it to the beginning of * Text*
3359
+ - 2nd. Sort all cyclic rotations of * Text* lexicographically to form a |* Text* | x |* Text* | matrix *** M(Text)***
3360
+ - 3rd. Extract the last column from * M(Text)* . It's *** BWT(Text)***
3359
3361
- E.g. ` AGACATA$ ` :
3360
- - v
3361
- AGACATA$ $AGACATA
3362
- GACATA$A A$AGACAT
3363
- ACATA$AG Sorting ACATA$AG BWT: Compression
3364
- CATA$AGA -------> AGACATA$ --------> ATG$CAAA ------------> ATG$C3A
3365
- ATA$AGAC $ 1st ATA$AGAC Strings Run-Length
3366
- TA$AGACA CATA$AGA last Encoding
3367
- A$AGACAT GACATA$A column
3368
- $AGACATA TA$AGACA
3369
- ^
3362
+ - Cyclic Rotations: M(Text) BWT(Text) Compressed BWT(Text):
3363
+ AGACATA$ $AGACATA
3364
+ $AGACATA A$AGACAT
3365
+ A$AGACAT Sorting ACATA$AG Extract Compression
3366
+ TA$AGACA -------> AGACATA$ --------> ATG$CAAA ------------> ATG$C3A
3367
+ ATA$AGAC $ 1st ATA$AGAC last Run-Length
3368
+ CATA$AGA CATA$AGA column Encoding
3369
+ ACATA$AG GACATA$A
3370
+ GACATA$A TA$AGACA
3371
+ ^
3370
3372
- Inverting BWT (1st version):
3371
3373
- From Compressed BWT to the original text
3372
3374
- Compressed(BWT-Text) ---> BWT-Text ---> Text
You can’t perform that action at this time.
0 commit comments