fc080c3b8e
go(algo): use a buffered chan to get results
continuous-integration/drone/push Build is passing
2022-07-11 20:59:18 +02:00
be55fc7d99
go: mv util{_test}.go to a separate util pkg
continuous-integration/drone/push Build is passing
2022-07-10 20:54:48 +02:00
c0adff4b78
go(algo): run algorithms concurrently
continuous-integration/drone/push Build is passing
2022-07-09 16:19:56 +02:00
1c5dfa9818
go(plot): enable concurrent plotting
continuous-integration/drone/push Build is passing
2022-07-08 22:51:31 +02:00
bf08d22549
go(bench): add doc.go
continuous-integration/drone/push Build is passing
2022-07-08 22:41:10 +02:00
cb5d8b8931
ci: ping godocs.io to re-fetch sources
continuous-integration/drone/push Build is passing
2022-07-08 22:36:55 +02:00
002c6756b4
go(report): add doc.go
continuous-integration/drone/push Build is passing
2022-07-08 22:19:47 +02:00
54cd582887
go(algo): add doc.go
continuous-integration/drone/push Build is passing
2022-07-08 22:16:22 +02:00
c1f986860e
go(algo): properly clean up in util_test.go
continuous-integration/drone/push Build is passing
2022-07-08 22:11:30 +02:00
aaa6e6f298
go(algo): do HillClimb
continuous-integration/drone/push Build is passing
2022-07-08 21:40:04 +02:00
c0ab6f3fff
go(algo): implement Stochastic Hill Climbing
continuous-integration/drone Build is passing
continuous-integration/drone/push Build is passing
2022-07-08 19:57:44 +02:00
bec2ee3046
go(plot): track plotting execution time
continuous-integration/drone/push Build is passing
2022-07-08 19:22:09 +02:00
d2ab681218
go(plot): print info with appropriate func
continuous-integration/drone/push Build is passing
2022-07-08 19:20:21 +02:00
79ed004754
go(plot): set proper global min for axis label
continuous-integration/drone/push Build is passing
2022-07-08 19:04:05 +02:00
75471ba6e8
go(plot): set default plotter line width
continuous-integration/drone/push Build is passing
2022-07-08 19:01:21 +02:00
8f1e05fb77
go(plot): set default plotter font style
continuous-integration/drone/push Build is passing
2022-07-08 19:00:11 +02:00
340c6e7238
go(plot): rename allStats -> algoStats
continuous-integration/drone/push Build is passing
2022-07-08 18:16:51 +02:00
0131fccfba
go(plot): set font for tick labels
continuous-integration/drone/push Build is passing
2022-07-08 17:55:15 +02:00
141c48b722
go(plot): edit title text style
continuous-integration/drone/push Build is passing
2022-07-08 17:50:57 +02:00
29bc85ba59
go(plot): stop adding plot grid
continuous-integration/drone/push Build is passing
2022-07-08 17:41:25 +02:00
1380cf3cdc
go(plot): remove plot legend for n-iter comparison
continuous-integration/drone/push Build is passing
2022-07-08 17:17:25 +02:00
0794e48530
go(plot): set Y axis' min/max dynamically
continuous-integration/drone/push Build is passing
2022-07-08 03:32:07 +02:00
e1fa0f08ff
go(algo): seed prng once per algo run
continuous-integration/drone/push Build is passing
2022-07-07 17:55:47 +02:00
ab6dc7412e
go(bench): add MaxNeighbourVariancePercent
continuous-integration/drone/push Build is passing
2022-07-07 16:40:37 +02:00
b6e7e916ce
go(algo/plot.go): set label,legend text style
continuous-integration/drone/push Build is passing
2022-07-05 22:56:01 +02:00
54c01dc616
go(stats/table.go): pretty print stats
continuous-integration/drone/push Build is passing
2022-07-05 22:03:37 +02:00
26065d3f10
go(algo): seed prng with "time.Now().UnixNano()"
continuous-integration/drone/push Build is passing
2022-07-05 21:46:09 +02:00
11719bc5fa
readme: add godoc badge [skip ci]
2022-07-04 17:34:17 +02:00
466db72a8d
readme: use a static badge (offline availability)
...
this badge does not change so it is IMO better to show a copy from the
repo instead of pulling the image from origin every time README.md is
displayed...
[skip ci]
2022-07-04 13:16:35 +02:00
17f4065fbb
vimrc: use golangci-lint run
without '.'
continuous-integration/drone/push Build is passing
2022-07-02 22:58:54 +02:00
8f50a1ea51
go(plot): use createPath instead of createFolder
...
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
c8ed8eb82b
go(util_test.go): use more sensible error message
continuous-integration/drone/push Build is passing
2022-06-29 17:02:13 +02:00
b9a4ff3192
go(algo/util): add createPath func
continuous-integration/drone/push Build is passing
2022-06-29 16:54:55 +02:00
babbd4201e
go: fix DoRandomSearch unit test
...
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
b24f7db46f
go(algo/util): add createFolder func
continuous-integration/drone/push Build is passing
2022-06-28 23:40:35 +02:00
35d433e847
go(bench): explain {Schwefel,DeJong{1,2}}Params
continuous-integration/drone Build is passing
continuous-integration/drone/push Build is passing
2022-06-28 23:04:31 +02:00
17e73d6c5c
go(bench): add functions_test.go
continuous-integration/drone/push Build is passing
2022-06-28 22:54:24 +02:00
32649e28c1
grammar: a -> the value [skip ci]
2022-06-28 22:02:13 +02:00
ea0ccedbba
go(stats/table_test.go): prettify struct printing
continuous-integration/drone/push Build is passing
2022-06-28 00:44:58 +02:00
5cfe297a09
go(bench): add bench_test.go
continuous-integration/drone/push Build is passing
2022-06-27 22:32:00 +02:00
13fd0b3bff
go(stats/table): let the printing func just print
...
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
continuous-integration/drone/push Build is passing
2022-06-27 21:10:33 +02:00
4abc9e6246
go(randomSearch): print progress stats
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
continuous-integration/drone/push Build is passing
2022-06-24 00:56:10 +02:00
63da28a8f0
go: add a way to print statistic table
continuous-integration/drone/push Build is passing
2022-06-24 00:45:43 +02:00
7ada3dac80
go(bench): explain what Neighbourhood const is for
continuous-integration/drone/push Build is passing
2022-06-21 23:34:32 +02:00
cdc8c1f57c
golangci-lint: add wastedassign linter
continuous-integration/drone/push Build is passing
2022-06-20 17:38:42 +02:00
64c6083283
flake: add gogen ad-hoc cmd
continuous-integration/drone/push Build is passing
2022-06-20 17:34:48 +02:00
faaf19b73f
flake: allow building for {x86_64,aarch64}-darwin
continuous-integration/drone/push Build is passing
2022-06-20 15:58:44 +02:00