README

shuffle

Package shuffle.

GoDoc

Expand ▾ Collapse ▴

Documentation

Overview

    Package shuffle.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    func FisherYates

    func FisherYates(a FY)

      FisherYates function performs an in-place Fisher-Yates shuffle.

      Types

      type FY

      type FY interface {
      	Len() int
      	Swap(int, int)
      }

        FY interface implements the Fisher-Yates shuffle.