Commit Graph

116 Commits

Author SHA1 Message Date
ed2aece330
go: add flag -generate
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-18 02:33:17 +02:00
1c7fd068c5
go: add note about the report file being generated
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-18 02:31:04 +02:00
948a95fb7e
go(report,main): add flag -printreport
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-18 01:58:56 +02:00
5eaeb9c692
go(report): make report creation just work™
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-18 01:50:40 +02:00
9435f81fa2
tmpl(tex): format table,pic,allpics
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-18 01:05:17 +02:00
efbc963875
go(algo): use var for algo name
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-18 00:23:53 +02:00
602ee8206f
go(report): add report_base.tex,meta.sty
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-17 22:18:27 +02:00
fda5f46623
go(util): modify SanitiseFName, add test
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-17 21:50:19 +02:00
c9f15c9b99
tmpl,tex: fix leading whitespace deletion
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-17 21:38:48 +02:00
962edc69c9
golangci-lint: bump to go1.18.4
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-17 19:26:52 +02:00
852b380ea9
golangci-lint: disable bodyclose linter
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-17 19:23:07 +02:00
edbd58ef17
tmpl(tex): include -> input to fix nesting issues
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-17 18:00:19 +02:00
052b51f0df
go(report): rework gen.go,report.tmpl
All checks were successful
continuous-integration/drone/push Build is passing
make report include `report_base.tex` file verbatim and save it in
`out/tex/report.tex` as a base file of the report.

currently, this is done when running `go generate ./report` but there
are plans to switch from that to emitting the file during runtime, as is
done with all other templates.
2022-07-17 13:28:45 +02:00
6db4b60875
go(algo): use Dimensions slice from the bench pkg
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-17 11:57:40 +02:00
7742642e14
go(report): embed all templates
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-17 11:36:59 +02:00
446f63b59e
go(report): aggregate all table tex files
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-16 23:30:56 +02:00
496ddc191a
ci: refresh in parallel
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-16 22:09:08 +02:00
01a0ed12c4
go(report): aggregate all tex files tracking plots
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-16 22:05:15 +02:00
610060c88f
go(report): process pic lists in batches
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-16 21:40:53 +02:00
c47951f3ea
go(algo_test): add more checks
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-16 17:01:01 +02:00
0169196a93
go(plot): use chans, output latex from pic.tmpl
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-13 23:47:37 +02:00
3401a2e58e
go(util): add custom print func
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-13 23:18:31 +02:00
621f56f5e3
go(stats): rework table saving,structure
All checks were successful
continuous-integration/drone/push Build is passing
* create tables as defined in the report pkg.
* add new funcs to calculate stats and prepare the necessary table
  structs.
* rework existing `stats` tests
* handle a weird test behaviour when tmpl at `report/table.tmpl` is not
  found when testing a `stats` func.
2022-07-13 17:35:18 +02:00
2697b296b5
go(stats): relocate stats to common outdir
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-13 15:41:54 +02:00
96a93788da
go(report): add table.go, table.tmpl
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-13 00:15:40 +02:00
2d88ab9afc
go(report): add pic.go, pics.tmpl
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-12 22:31:29 +02:00
a2bc1eec6f
stop tracking generated report.tex
All checks were successful
continuous-integration/drone/push Build is passing
also, look for `report.tex` in the new place from now on.
2022-07-12 21:15:38 +02:00
7b22723cb0
go: standardise output dirs for reporting material
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-12 16:56:49 +02:00
65b1ce02df
go(plot): decouple extension from filename
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-11 21:41:05 +02:00
fc080c3b8e
go(algo): use a buffered chan to get results
All checks were successful
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
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-10 20:54:48 +02:00
c0adff4b78
go(algo): run algorithms concurrently
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-09 16:19:56 +02:00
1c5dfa9818
go(plot): enable concurrent plotting
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-08 22:51:31 +02:00
bf08d22549
go(bench): add doc.go
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-08 22:41:10 +02:00
cb5d8b8931
ci: ping godocs.io to re-fetch sources
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-08 22:36:55 +02:00
002c6756b4
go(report): add doc.go
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-08 22:19:47 +02:00
54cd582887
go(algo): add doc.go
All checks were successful
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
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-08 22:11:30 +02:00
aaa6e6f298
go(algo): do HillClimb
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-08 21:40:04 +02:00
c0ab6f3fff
go(algo): implement Stochastic Hill Climbing
All checks were successful
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
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-08 19:22:09 +02:00
d2ab681218
go(plot): print info with appropriate func
All checks were successful
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
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-08 19:04:05 +02:00
75471ba6e8
go(plot): set default plotter line width
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-08 19:01:21 +02:00
8f1e05fb77
go(plot): set default plotter font style
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-08 19:00:11 +02:00
340c6e7238
go(plot): rename allStats -> algoStats
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-08 18:16:51 +02:00
0131fccfba
go(plot): set font for tick labels
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-08 17:55:15 +02:00
141c48b722
go(plot): edit title text style
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-08 17:50:57 +02:00
29bc85ba59
go(plot): stop adding plot grid
All checks were successful
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
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-08 17:17:25 +02:00