Search Results for

    Show / Hide Table of Contents

    Class IdentityShuffleStrategy

    A IShuffleStrategy which does nothing to its input, and returns it as it is.

    Inheritance
    System.Object
    IdentityShuffleStrategy
    Implements
    IShuffleStrategy
    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()
    Namespace: MoreStructures.Lists.Sorting.QuickSort
    Assembly: MoreStructures.dll
    Syntax
    public class IdentityShuffleStrategy : IShuffleStrategy
    Remarks

    Useful when used in a IThreeWayPartitionStrategy of a RecursiveQuickSort which should act deterministically.

    Methods

    | Improve this Doc View Source

    Shuffle<T>(IList<T>, Int32, Int32)

    Shuffles the items of list between index start and end.

    Declaration
    public 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 list, included.

    System.Int32 end

    The right index of the window of list, included.

    Type Parameters
    Name Description
    T

    The type of items of the list. It doesn't necessarily have to support , since items are never compared to each other, only swapped.

    Remarks

    Does nothing to the list: it returns it as it is.

    Implements

    IShuffleStrategy

    Extension Methods

    SuffixStructureNodeExtensions.GetAllSuffixesFor<TEdge, TNode>(TNode, TextWithTerminator)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX