Commit Graph

125 Commits

Author SHA1 Message Date
surtur 8f50a1ea51
go(plot): use createPath instead of createFolder
All checks were successful
continuous-integration/drone/push Build is passing
..as it's more universal, should we start/allow passing more complex
paths than "./res-folder".. should e.g. "./res/subpath" be passed to the
former func, it would error out more easily, as the subpath would likely
be non-existent, akin to `mkdir <path>` vs `mkdir -p <path>`.
2022-06-29 17:04:45 +02:00
surtur c8ed8eb82b
go(util_test.go): use more sensible error message
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-29 17:02:13 +02:00
surtur b9a4ff3192
go(algo/util): add createPath func
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-29 16:54:55 +02:00
surtur babbd4201e
go: fix DoRandomSearch unit test
All checks were successful
continuous-integration/drone/push Build is passing
the test was previously failing due to a folder not present when results
were to be saved.
2022-06-28 23:42:15 +02:00
surtur b24f7db46f
go(algo/util): add createFolder func
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-28 23:40:35 +02:00
surtur 4abc9e6246
go(randomSearch): print progress stats
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-25 21:55:36 +02:00
surtur d2c4f2b1db
go: add a way to iterate over func names for stats
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-24 00:56:10 +02:00
surtur 63da28a8f0
go: add a way to print statistic table
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-24 00:45:43 +02:00
surtur c0d8f8e6e8
go(algo): rework the plotting func, add util.go
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-20 03:32:48 +02:00
surtur 86226ac76f
fix(go): RandomSearch -> RandomSearchNG
All checks were successful
continuous-integration/drone/push Build is passing
that is, a next-gen (actually working) version of the algo...
also rm the attempt at plotting before another rework.
2022-06-20 03:04:59 +02:00
surtur 520c903a14
go: add func newValues()
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-19 19:44:18 +02:00
surtur 5038e75a38
go(plot): svg instead of png for 100-fold speed-up
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2022-06-18 21:22:19 +02:00
surtur ed816620c1
go: change Functions var to a string-func map
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-18 20:40:27 +02:00
surtur 5b7c0a16a4
go: add plotting capability
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-18 05:27:10 +02:00
surtur a913bbb407
go(algo): var name i -> iter
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-18 00:08:10 +02:00
surtur cbf47031f9
go: implement RandomSearch wip2
All checks were successful
continuous-integration/drone/push Build is passing
* perform RandomSearch with each of the benchmarking functions for a
  prescribed number of iterations

left to do:
* saving the solution
* parsing the solution to a table
* parsing the solution to generate graphs

* follow-up of b3787da640
2022-06-17 22:33:37 +02:00
surtur f1b3c1c90f
go(randomSearch): properly size the vals slice
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-17 22:14:56 +02:00
surtur 53a5de92dd
go(randomSearch): iterate with j^wi
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-17 21:41:54 +02:00
surtur 3e24a71283
chore(go): reach bench funcs via Functions slice
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-17 21:08:26 +02:00
surtur cb2b98ed57
fix(go): call bench functions by their names
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-17 21:03:03 +02:00
surtur 8a2d3eb5ee
fix(go): only pass raw dimensions count
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-17 20:26:21 +02:00
surtur ffc8b90e98
chore(go): print algo-stamps without errors
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-17 19:55:23 +02:00
surtur b3787da640
go: implement RandomSearch (wip)
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-17 01:54:30 +02:00
surtur 8b1e496c10
go: add Values type
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-15 23:29:28 +02:00
surtur ab14e97f16
go: add RandomSearch,SHC algos
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-14 22:34:52 +02:00