swarmlib
swarmlib copied to clipboard
Use color gradient for intermediate best solutions
Description
Currently in the CS and ABC algorithms the same color (yellow) is used to visualize the current best solution.
Proposal
To indicate the convergence of the algorithms the colors for the current best solution shall be retrieved from a color gradient. For example very light yellow to very dark yellow. With this change the user can easily understand how the algorithm converges.
Resources
- How to create a custom color gradient Link to Stackoverflow post