algos permutation method names changed to algos.PermuteTYPE

This commit is contained in:
alexchao26
2020-12-26 18:01:33 -05:00
parent 1ff4e487f9
commit 44e9fdae09
4 changed files with 35 additions and 13 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ func main() {
}
// Make perms via a util function
perms := algos.MakeIntPermutations([]int{5, 6, 7, 8, 9})
perms := algos.PermuteIntSlice([]int{5, 6, 7, 8, 9})
// iterate over all perms and run through a single pass of the Amps
// if the final output (from Amp E) is higher, update the highestOutput variable