Class BoyerMoore<T>
A boyer-moore majority finder algorithm implementation.
Inherited Members
Namespace: Advanced.Algorithms.Search
Assembly: Advanced.Algorithms.dll
Syntax
public class BoyerMoore<T>
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 |