Whetstone Class reference
Whetstone Class reference
Whetstone
WhetStone Namespaces
WhetStone.Looping
binarySearch Class
binarySearch Methods
BinarySearchStartBias Method
BinarySearchStartBias(T) Method (IList(T), Func(T, Int32))
BinarySearchStartBias(T) Method (IList(T), Func(T, Boolean), binarySearch.BooleanBinSearchStyle)
BinarySearchStartBias(T) Method (IList(T), T, IComparer(T))
binarySearch
BinarySearchStartBias
T
Method (IList
T
, Func
T
, Int32
)
Performs a exponential search over an
IList
T
.
Namespace:
WhetStone.Looping
Assembly:
WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
Copy
public
static
int
BinarySearchStartBias
<T>(
this
IList
<T>
this
,
Func
<T,
int
>
searcher
)
Parameters
this
Type:
System.Collections.Generic
IList
T
The
IList
T
to search.
searcher
Type:
System
Func
T
,
Int32
The binary searcher function.
Type Parameters
T
The type of the
IList
T
.
Return Value
Type:
Int32
The index that the binary search returns, or -1 if none found.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IList
T
. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic)
or
Extension Methods (C# Programming Guide)
.
See Also
Reference
binarySearch Class
BinarySearchStartBias Overload
WhetStone.Looping Namespace