adfba66f38
mv most of profiling logic to profile.go
continuous-integration/drone/push Build is passing
2023-02-24 16:00:00 +01:00
cf61dd4795
run.go: add a way to profile program's mem usage
...
continuous-integration/drone/push Build is passing
to prevent defer-after-exit, rework the way run() is done:
* make run return an error
* return nil if all went well
* return err if something went south
special-case ErrNoAlgoSelected in main().
adjust run_test.go to these new realities, also.
2023-02-24 15:37:59 +01:00
a74ea8c8e4
run.go: add a way to profile program's cpu usage
...
continuous-integration/drone/push Build is passing
set the flag `cpuprofile` to a file where the cpu profiling output
should be saved. the output can then be read using:
`go tool pprof math-optim <profiling output file`.
ref: https://go.dev/blog/pprof
2023-02-24 14:27:58 +01:00
9dce419cfb
golangci-lint: enable tparallel
continuous-integration/drone/push Build is passing
2023-02-24 14:24:57 +01:00
d70b01eee6
Merge branch 'feature-ev' into development
...
* feature-ev:
report/comparisonOfMeans.go: obj init readability
algo: rm cec2020 package
report/pics.tmpl: increase pic width
ga: add pure Differential Evolution
algo: rm comment [skip ci]
algo: stop printing pic list when comparing means
run: handle comparing means for all algos
run: plug in SOMA T3A
algo: add DoCEC2020SOMAT3A func
algo: add PrepCEC2020ComparisonOfMeans+helper func
algo: use jDE from the GA package
algo: correct a typo [skip ci]
ga: improve object/func init readability
fix(cec2020): add Schwefel Modified's missing case
2023-02-23 23:19:27 +01:00
5b02120f96
report/comparisonOfMeans.go: obj init readability
continuous-integration/drone/push Build is passing
2023-02-23 23:16:31 +01:00
6c1458f08b
algo: rm cec2020 package
continuous-integration/drone/push Build is passing
2023-02-23 23:13:11 +01:00
806e513b55
report/pics.tmpl: increase pic width
continuous-integration/drone/push Build is passing
2023-02-23 23:11:23 +01:00
7fabbf75e8
ga: add pure Differential Evolution
continuous-integration/drone/push Build is passing
2023-02-23 22:35:56 +01:00
0edbec1a9c
algo: rm comment [skip ci]
2023-02-23 22:26:40 +01:00
becd8c5f3b
algo: stop printing pic list when comparing means
continuous-integration/drone/push Build is passing
2023-02-23 22:24:22 +01:00
35fae028ae
run: handle comparing means for all algos
continuous-integration/drone/push Build is passing
2023-02-23 18:09:26 +01:00
6f39c616c0
run: plug in SOMA T3A
continuous-integration/drone/push Build is passing
2023-02-23 18:07:41 +01:00
ead8c80e56
algo: add DoCEC2020SOMAT3A func
continuous-integration/drone/push Build is passing
2023-02-23 18:05:18 +01:00
80a9cd5743
algo: add PrepCEC2020ComparisonOfMeans+helper func
continuous-integration/drone/push Build is passing
2023-02-23 17:59:26 +01:00
22e2703ed2
algo: use jDE from the GA package
continuous-integration/drone/push Build is passing
2023-02-23 17:56:33 +01:00
7317a023dc
algo: correct a typo [skip ci]
2023-02-23 17:50:13 +01:00
dd92f3fb41
ga: improve object/func init readability
continuous-integration/drone/push Build is passing
2023-02-22 23:26:28 +01:00
e1fac11ec5
fix(cec2020): add Schwefel Modified's missing case
continuous-integration/drone/push Build is passing
2023-02-22 12:52:14 +01:00
23731ca55b
Merge branch 'feature-ev' into development
continuous-integration/drone/push Build is passing
2023-02-22 00:49:21 +01:00
1e8b3d2d84
readme: rm codebeat badge [skip ci]
2023-02-22 00:35:29 +01:00
74109521b0
ga: implement SOMA T3A algorithm
continuous-integration/drone/push Build is passing
2023-02-21 23:51:52 +01:00
f4f5f366e9
plot: set x-axis label to FES for MeanVals
continuous-integration/drone/push Build is passing
2023-02-21 23:45:39 +01:00
5e4eee8853
ga/population: idiomaticise init
continuous-integration/drone/push Build is passing
2023-02-21 22:03:10 +01:00
c4efcbb103
ga/population: rm unused variables
continuous-integration/drone/push Build is passing
2023-02-21 21:41:44 +01:00
b3b1b38ac8
ga: add SOMA T3A struct
continuous-integration/drone/push Build is passing
2023-02-15 22:56:40 +01:00
04ad04188a
plot: properly label x_axis for jDE/SOMA
continuous-integration/drone/push Build is passing
2023-02-15 15:20:04 +01:00
bba409177c
inputData: add test for fnum 24 in 100D
continuous-integration/drone/push Build is passing
2023-02-15 14:16:14 +01:00
27a0c6dbe3
inputData: add shift data parsing
continuous-integration/drone/push Build is passing
2023-02-15 13:20:21 +01:00
af27d7a62e
fix: correct vimrc gitattribute [skip ci]
2023-02-14 21:14:11 +01:00
80f061db9a
cec2020: add inputData{,_test}.go + input_data/
continuous-integration/drone/push Build is passing
2023-02-14 21:11:11 +01:00
138e6f1d0b
fix: clear up Hybrid funcs
continuous-integration/drone/push Build is passing
2023-02-12 14:07:34 +01:00
3933dc608a
fix: correct Lunacek Bi-Rastrigin func
continuous-integration/drone/push Build is passing
2023-02-12 10:41:21 +01:00
e846fe25e5
fix: return value from Rosenbrock-Griewank
continuous-integration/drone/push Build is passing
2023-02-12 00:04:43 +01:00
3d83683b8b
add ga (Genetic Algorightms) package
continuous-integration/drone/push Build is passing
2023-02-11 20:04:02 +01:00
441a52b130
cec2020: add TestDiscus
continuous-integration/drone/push Build is passing
2023-02-09 23:58:29 +01:00
b38ab3b4fa
cec2020: add TestWeierstrass
continuous-integration/drone/push Build is passing
2023-02-09 23:57:36 +01:00
e6b9703f1e
cec2020: add TestSchafferExpanded
continuous-integration/drone/push Build is passing
2023-02-09 23:56:41 +01:00
3ab74b07eb
cec2020: add more tests (basicFunctions)
continuous-integration/drone/push Build is passing
2023-02-09 23:55:22 +01:00
018cf070c3
cec2020: add more tests
continuous-integration/drone/push Build is passing
2023-02-09 23:45:04 +01:00
54b4ec536a
plot: print information before panicking
continuous-integration/drone/push Build is passing
2023-02-09 23:35:54 +01:00
937e8204c4
cec2020: clean-up comment [skip ci]
2023-02-09 23:15:24 +01:00
e006d104a9
fix(jDE): correct recombination w/ mutant
continuous-integration/drone/push Build is passing
2023-02-09 23:13:57 +01:00
f1fa67ab79
re-enable Composition funcs (w/ Griewank solved)
continuous-integration/drone/push Build is passing
2023-02-09 22:10:33 +01:00
558a4bf561
cec2020: add benchFunctions_test.go
continuous-integration/drone/push Build is passing
2023-02-09 22:04:47 +01:00
2b56f6e6c6
fix(Griewank): don't pass 0 in sqrt
continuous-integration/drone/push Build is passing
2023-02-09 22:03:18 +01:00
4af5b9ca1c
chore: follow up on 578df3d (weights w/ make)
continuous-integration/drone/push Build is passing
2023-02-09 22:00:38 +01:00
c35bd7c47f
readme: add codebeat badge
continuous-integration/drone/push Build is passing
2023-02-09 16:20:00 +01:00
13aaac9597
jde: disable debug printing
continuous-integration/drone/push Build is passing
2023-02-09 03:56:31 +01:00
7f4e3baf1a
run,algo: tweak what runs when
continuous-integration/drone/push Build is passing
2023-02-09 03:46:07 +01:00