Class BinarySearchFinder
A NaiveFinder refinement which iterates over BWT and uses
binary search on SortedBWT, taking advantage of the fact that it is sorted.
Inheritance
System.Object
BinarySearchFinder
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 BinarySearchFinder : NaiveFinder, ILastFirstFinder
Constructors
|
Improve this Doc
View Source
BinarySearchFinder(RotatedTextWithTerminator, RotatedTextWithTerminator)
Declaration
public BinarySearchFinder(RotatedTextWithTerminator lastBWMColumn, RotatedTextWithTerminator firstBWMColumn)
Parameters
Properties
|
Improve this Doc
View Source
The ISearch implementation to be used when searching for items in lists sorted
in ascending order.
Declaration
protected static ISearch OrderedAscListSearch { get; }
Property Value
Methods
|
Improve this Doc
View Source
Declaration
public override int FindIndexOfNthOccurrenceInSortedBWT(int indexOfCharInBWT, int occurrenceRank)
Parameters
Type |
Name |
Description |
System.Int32 |
indexOfCharInBWT |
|
System.Int32 |
occurrenceRank |
|
Returns
Type |
Description |
System.Int32 |
|
Overrides
|
Improve this Doc
View Source
Declaration
public override int FindOccurrenceRankOfCharInSortedBWT(int indexOfCharInSortedBWT)
Parameters
Type |
Name |
Description |
System.Int32 |
indexOfCharInSortedBWT |
|
Returns
Type |
Description |
System.Int32 |
|
Overrides
Implements
Extension Methods