Interface IShuffleStrategy
An algorithm shuffling the specified window of the provided list.
Namespace: MoreStructures.Lists.Sorting.QuickSort
Assembly: MoreStructures.dll
Syntax
public interface IShuffleStrategy
Methods
| Improve this Doc View SourceShuffle<T>(IList<T>, Int32, Int32)
Shuffles the items of list
between index start
and
end
.
Declaration
void Shuffle<T>(IList<T> list, int start, int end)
Parameters
Type | Name | Description |
---|---|---|
IList<T> | list | The list whose window to be shuffled. |
System.Int32 | start | The left index of the window of |
System.Int32 | end | The right index of the window of |
Type Parameters
Name | Description |
---|---|
T | The type of items of the |