package algo
import "git.dotya.ml/wanderer/math-optim/algo"
Package algo provides implementations of optimisation algorithms.
Index ¶
- func DoCEC2020SOMAT3A(wg *sync.WaitGroup, m *sync.Mutex)
- func DoCEC2020jDE(wg *sync.WaitGroup, m *sync.Mutex)
- func DoRandomSearch(wg *sync.WaitGroup, m *sync.Mutex)
- func DoStochasticHillClimbing(wg *sync.WaitGroup, m *sync.Mutex)
- func DoStochasticHillClimbing100Neigh(wg *sync.WaitGroup, m *sync.Mutex)
- func DojDE(wg *sync.WaitGroup, m *sync.Mutex)
- func GetMeanStats() *stats.MeanStats
- func HillClimb( maxFES, benchMinIters, neighbours int, theD []int, benchFunc string, ch chan []stats.Stats, )
- func PlotMeanValsMulti( w *sync.WaitGroup, dimens, iterations int, bench, fPrefix, fExt string, algoMeanVals ...stats.AlgoMeanVals, )
- func PrepCEC2020ComparisonOfMeans(wg *sync.WaitGroup) (*report.PicList, int)
- func PrepComparisonOfMeans(wg *sync.WaitGroup) (*report.PicList, int)
- func RandomSearchNG(maxFES, benchMinIters int, theD []int, benchFunc string, ch chan []stats.Stats)
Functions ¶
func DoCEC2020SOMAT3A ¶
DoCEC2020SOMAT3A performs a search using the SOMA T3A method.
func DoCEC2020jDE ¶
func DoRandomSearch ¶
DoRandomSearch executes a search using the 'Random search' method.
func DoStochasticHillClimbing ¶
DoStochasticHillClimbing performs a search using the 'Stochastic Hill Climbing' method.
func DoStochasticHillClimbing100Neigh ¶
func DojDE ¶
func GetMeanStats ¶
GetMeanStats returns a pointer of type stats.MeanStats to a sorted package global 'meanStats'.
func HillClimb ¶
func HillClimb( maxFES, benchMinIters, neighbours int, theD []int, benchFunc string, ch chan []stats.Stats, )
HillClimb performs 30 iterations of SHC (30 singleHillClimb func calls internally) to establish a semi-relevant statistical baseline, and reports the results of the computation. nolint: gocognit
func PlotMeanValsMulti ¶
func PlotMeanValsMulti( w *sync.WaitGroup, dimens, iterations int, bench, fPrefix, fExt string, algoMeanVals ...stats.AlgoMeanVals, )
PlotMeanValsMulti creates plots for every member of 'stats.AlgoMeanVals' it is handed and saves them as 'result.Pic's results into a package-global slice.
func PrepCEC2020ComparisonOfMeans ¶
PrepCEC2020ComparisonOfMeans prepares for comparison means of CEC2020 algos.
func PrepComparisonOfMeans ¶
PrepComparisonOfMeans returns a pointer to a slice of pics (of type report.PicList) and an integer - the count of unique benchmarking functions used.
func RandomSearchNG ¶
Source Files ¶
algo.go doc.go plot.go randomSearch.go stochasticHillClimbing.go
Directories ¶
Path | Synopsis |
---|---|
algo/de | Package de contains implementation details of Differential Evolution kind of algorithms. |
algo/ga | Package ga implements Genetic Algorithms. |
- Version
- v0.0.0-20230224152531-7a5de808e98c (latest)
- Published
- Feb 24, 2023
- Platform
- linux/amd64
- Imports
- 23 packages
- Last checked
- 1 month ago –
Tools for package owners.