Class NaiveFinder
Inheritance
System.Object
NaiveFinder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: MoreStructures.dll
public class NaiveFinder : ILastFirstFinder
Constructors
|
Improve this Doc
View Source
NaiveFinder(RotatedTextWithTerminator, RotatedTextWithTerminator)
Builds an instance of this finder, for the provided lastBWMColumn
and
firstBWMColumn
. Because both columns of the BWM are provided, no sorting happens.
Declaration
public NaiveFinder(RotatedTextWithTerminator lastBWMColumn, RotatedTextWithTerminator firstBWMColumn)
Parameters
Properties
|
Improve this Doc
View Source
The Burrows-Wheeler Transform. Also, the last column of the Burrows-Wheeler Matrix.
Declaration
public RotatedTextWithTerminator BWT { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public IComparer<char> CharComparer { get; }
Property Value
Type |
Description |
IComparer<System.Char> |
|
|
Improve this Doc
View Source
The sorted version of the Burrows-Wheeler Transform. Also, the first column of the Burrows-Wheeler Matrix.
Declaration
public RotatedTextWithTerminator SortedBWT { get; }
Property Value
Methods
|
Improve this Doc
View Source
Declaration
public virtual int FindIndexOfNthOccurrenceInBWT(int indexOfCharInBWT, int occurrenceRank)
Parameters
Type |
Name |
Description |
System.Int32 |
indexOfCharInBWT |
|
System.Int32 |
occurrenceRank |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
public virtual int FindIndexOfNthOccurrenceInSortedBWT(int indexOfCharInBWT, int occurrenceRank)
Parameters
Type |
Name |
Description |
System.Int32 |
indexOfCharInBWT |
|
System.Int32 |
occurrenceRank |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
public virtual int FindOccurrenceRankOfCharInBWT(int indexOfCharInBWT)
Parameters
Type |
Name |
Description |
System.Int32 |
indexOfCharInBWT |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
public virtual int FindOccurrenceRankOfCharInSortedBWT(int indexOfCharInSortedBWT)
Parameters
Type |
Name |
Description |
System.Int32 |
indexOfCharInSortedBWT |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
public virtual (int indexInSortedBWT, int occurrenceRank) LastToFirst(int indexOfCharInBWT)
Parameters
Type |
Name |
Description |
System.Int32 |
indexOfCharInBWT |
|
Returns
Type |
Description |
System.ValueTuple<System.Int32, System.Int32> |
|
Implements
Extension Methods