Commit Graph

247 Commits

Author SHA1 Message Date
13fd0b3bff
go(stats/table): let the printing func just print
All checks were successful
continuous-integration/drone/push Build is passing
...and handle constructing the actual table in a separate func.
also, add more tests.
2022-06-27 21:56:44 +02:00
58edf3c506
go(stats): add table_test.go
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-27 21:10:33 +02:00
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
3940036304
go(stats): add explanatory comments [skip ci] 2022-06-25 21:47:53 +02:00
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
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
7ada3dac80
go(bench): explain what Neighbourhood const is for
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-21 23:34:32 +02:00
cdc8c1f57c
golangci-lint: add wastedassign linter
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-20 17:38:42 +02:00
64c6083283
flake: add gogen ad-hoc cmd
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-20 17:34:48 +02:00
faaf19b73f
flake: allow building for {x86_64,aarch64}-darwin
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-20 15:58:44 +02:00
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
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
a121a1eb4b
go: update SaveStats func to take ([]Stats, fName)
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-20 02:49:24 +02:00
a80b6660e5
go(stats): add comment explaining BenchRound
[skip ci]
2022-06-19 21:56:36 +02:00
520c903a14
go: add func newValues()
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-19 19:44:18 +02:00
ab850f6c2c
go(report/gen,tmpl): use more meaningful var names
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-19 18:40:56 +02:00
3e641e0906
go(report/gen): drop the "S"
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-19 17:28:05 +02:00
b93f48cb08
go(bench/functions): add FunctionParams map
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-18 23:01:57 +02:00
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
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
5b7c0a16a4
go: add plotting capability
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-18 05:27:10 +02:00
8ea9e5faf7
flake: allow GOPROXY var default for nix build
All checks were successful
continuous-integration/drone/push Build is passing
...mainly due to arbitrarily failing ci builds, as this doesn't appear
to affect local builds/nix builds on remote builders, just fresh builds
in the ci.
the explanation for why this is happening might be that certain package
VCS's don't allow many/frequent connections from IP ranges other than
GOPROXY's (Google's).
that is sheer speculation, though.
however, it is still true that there are "no" failed ci builds with
GOPROXY env var set to its default value (left untouched), which does
indeed indicate that the above mentioned might be the root cause of the
issue after all.
2022-06-25 00:28:34 +02:00
49f5d93200
go(stats): update FuncStats definition
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-18 00:51:51 +02:00
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
ef919cb269
go(stats): add iteration field
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-18 00:05:12 +02:00
ed76cf865b
go(stats): add functions for manipulating Stats
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-17 23:56:36 +02:00
e178ee3237
go: add stats package
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-17 23:24:41 +02:00
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
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
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
b60b2447f7
go: format report printing msg
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-17 21:37:01 +02:00
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
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
87f652a16d
fix: adjust location of report.tex
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-17 20:45:16 +02:00
65d555b4df
fix: correct function definitions (swap De Jongs)
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-17 20:41:39 +02:00
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
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
b1278f431b
ci: '`' -> '"'
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-17 02:15:35 +02:00
b3787da640
go: implement RandomSearch (wip)
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-17 01:54:30 +02:00
3d00f09914
chore(go): move functions to its own file
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-16 17:15:39 +02:00
826347f7a7
go,tex: add logic for go-generating tex reports
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-15 23:36:47 +02:00
8b1e496c10
go: add Values type
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-15 23:29:28 +02:00
5388aeb8c9
go: add Min,Max methods for funcParams
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-15 23:27:05 +02:00
ae7e912284
go: add bench funcs
All checks were successful
continuous-integration/drone/push Build is passing
* Schwefel
* 1st De Jong
* 2nd De Jong
2022-06-15 00:26:35 +02:00
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
0f8f3bbef3
ci: add .drone.star + badges
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-14 17:31:59 +02:00
43b9d611a2
initial commit 2022-06-14 16:46:11 +02:00