shuffle

package module
v0.0.0-...-7b79869 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2015 License: MIT Imports: 1 Imported by: 2

README

shuffle

Package shuffle.

GoDoc

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL