Class BoyerMoore<T>
A boyer-moore majority finder algorithm implementation.
Namespace: Advanced.Algorithms.Search
Assembly: Advanced.Algorithms.dll
Syntax
public class BoyerMoore<T> : object where T : IComparable
Type Parameters
Name | Description |
---|---|
T |
Methods
FindMajority(IEnumerable<T>)
Declaration
public static T FindMajority(IEnumerable<T> input)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<T> | input |
Returns
Type | Description |
---|---|
T |