Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

GoDoc

ch := make(chan []int)
Permute(5, 5, ch)

i := 0
for p = range ch {
  fmt.Println( p )
}
ch := make(chan []int)

Permute(len(someArray), len(someArray), ch)

i := 0
for p = range ch {
  total := 0
  for index := p {
    total += someCalc(someArray[index])
  }
  fmt.Printf( "Total for this permutation was %f", total)
}

[TODO] Improve test coverage.

About

Go library for permutation generation.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages