Class BWTransform
The Burrows-Wheeler Transform (BWT) of a TextWithTerminator Text
is a permutation
of the chars of Text
which corresponds to the LastColumn of the
BWMatrix of Text
.
Inheritance
Implements
Inherited Members
Namespace: MoreStructures.BurrowsWheelerTransform
Assembly: MoreStructures.dll
Syntax
public class BWTransform : IEquatable<BWTransform>
Remarks
This langword_csharp_record is a typed wrapped of the underlying langword_csharp_string representing the BWT. It guarantes immutability and strong typing, and also keeps together the Text and its transform Content.
Constructors
| Improve this Doc View SourceBWTransform(TextWithTerminator, RotatedTextWithTerminator)
The Burrows-Wheeler Transform (BWT) of a TextWithTerminator Text
is a permutation
of the chars of Text
which corresponds to the LastColumn of the
BWMatrix of Text
.
Declaration
public BWTransform(TextWithTerminator Text, RotatedTextWithTerminator Content)
Parameters
Type | Name | Description |
---|---|---|
TextWithTerminator | Text | The text to calculate the BWT of. |
RotatedTextWithTerminator | Content | The string which corresponds to the transform of the text. |
Remarks
This langword_csharp_record is a typed wrapped of the underlying langword_csharp_string representing the BWT. It guarantes immutability and strong typing, and also keeps together the Text and its transform Content.
Fields
| Improve this Doc View SourceQuickSort
A strategy to sort a RotatedTextWithTerminator using
Declaration
public static readonly BWTransform.SortStrategy QuickSort
Field Value
Type | Description |
---|---|
BWTransform.SortStrategy |
Remarks
Tipically used to sort the Burrows-Wheeler Transform.
Properties
| Improve this Doc View SourceContent
Declaration
public RotatedTextWithTerminator Content { get; set; }
Property Value
Type | Description |
---|---|
RotatedTextWithTerminator |
Length
The length of this transform, which corresponds to the length of Content.
Declaration
public int Length { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Text
Declaration
public TextWithTerminator Text { get; set; }
Property Value
Type | Description |
---|---|
TextWithTerminator |