Stochastic Fractal Search (SFS) is a meta-heuristic optimization algorithm inspired from the concept of fractals, SFS was originally created by Dr Hamid Salimi in his article, named Stochastic Fractal Search: A powerful metaheuristic algorithm.
Also check my medium blog post behind this repo.
Fractals are impressive recursive structures and a major interest of computer graphics.
.
├── LICENSE
├── README.md
├── sfs.py (The python implementation of stochastic fractal search)
└── walks
├── random walk.py (random gaussaing walk demo)
└── self-avoiding-walk.py (self avoiding gaussaing walk demo)
- The algorithm is implemented in sfs.py, where benchmark functions could be tested effortlessly using opteval package
- You may also view some random walk demos under walks directory.
The original creator of SFS has published the Matlab code of the algorithm via MATLAB Central File Exchange.
I used gifski open-source tool for generating high-quality gifs 🎊🎊