Skip to content

sgalella/BeesAlgorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bees Algorithm

Implementation of the bees algorithm proposed in The Bees Algorithm – A Novel Tool for Complex Optimization Problems based on the foraging behavior observed in honey bees colonies.

Honey bees communicate the location of resources such as flowers with nectar through the waggle dance. The angle of the bee relative to the sun conveys information about the direction, whereas the waggle's duration has information about the distance to the source. Bees on the hive will weigh the quality of those new places and explore them accordingly.

Installation

To install the dependencies, run the following command:

pip install -r requirements.txt

If using Conda, you can also create an environment with the requirements:

conda env create -f environment.yml

By default the environment name is bees-algorithm. To activate it run:

conda activate bees-algorithm

Usage

Run the algorithm from the command line with:

python -m bees_algorithm

To modify any parameter of the simulation, edit bees_algorithm/__main__.py. For more information regarding the different visualization modes check notebooks/.

About

Implementation of the BA for solving minimization problems.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published