{ "info": { "author": "Iztok Fister Jr. and Marko Burjek", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Scientific/Engineering", "Topic :: Software Development" ], "description": "# Bat Algorithm in Python\n\n## Objective\nThe main objective is to create an implementation of bat algorithm in Python programming language.\n\n## Installation\n\n pip install BatAlgorithm\n\n### Example\nThe following example presents a simple use of bat algorithm. `Fun()` denotes the objective function that may be changed by the user. Control parameters should be defined within `BatAlgorithm()` constructor. Order of parameters is as\nfollows: `BatAlgorithm(D, NP, N_Gen, A, r, Qmin, Qmax, Lower, Upper, function)` where:\n\n- `D` denotes dimension of the problem,\n- `NP` denotes population size,\n- `N_Gen` denotes number of generations (iterations),\n- `A` parameter denotes loudness,\n- `r` parameter denotes pulse rate,\n- `Qmin` parameter denotes frequency minimum,\n- `Qmax` parameter denotes frequency maximum,\n- `Lower` denotes lower bound,\n- `Upper` denotes upper bound and\n- `function` passes objective function.\n\n## CODE EXAMPLE:\n\n```python\nimport random\nfrom BatAlgorithm import *\n\ndef Fun(D, sol):\n val = 0.0\n for i in range(D):\n val = val + sol[i] * sol[i]\n return val\n\n# For reproducive results\n#random.seed(5)\n\nfor i in range(10):\n Algorithm = BatAlgorithm(10, 40, 1000, 0.5, 0.5, 0.0, 2.0, -10.0, 10.0, Fun)\n Algorithm.move_bat()\n```\n\n## Bugs\nBugs and extension should be send via Github.\n\n## Authors\nIztok Fister Jr. and Marko Burjek\n\n## References\n\nYang, X.-S. \"A new metaheuristic bat-inspired algorithm.\" Nature inspired cooperative strategies for optimization (NICSO 2010). Springer\nBerlin Heidelberg, 2010. 65-74.\n\nFister, I. Jr., Fister, I., Yang, X.-S., Fong, S., Zhuang, Y. \"Bat algorithm: Recent advances.\" IEEE 15th International Symposium on Computational Intelligence and Informatics (CINTI), IEEE, 2014. 163-167.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/buma/BatAlgorithm", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "BatAlgorithm", "package_url": "https://pypi.org/project/BatAlgorithm/", "platform": "", "project_url": "https://pypi.org/project/BatAlgorithm/", "project_urls": { "Homepage": "https://github.com/buma/BatAlgorithm" }, "release_url": "https://pypi.org/project/BatAlgorithm/0.3.1/", "requires_dist": null, "requires_python": "", "summary": "Bat algorithm implementation", "version": "0.3.1" }, "last_serial": 5327738, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "7d2a1e9552740c603cf85921b9af7bf4", "sha256": "36b66a2c2ae03d7fecefb1f32c1dcf35e208a9d79171675dd8d85e3e87f8457f" }, "downloads": -1, "filename": "BatAlgorithm-0.1.tar.gz", "has_sig": false, "md5_digest": "7d2a1e9552740c603cf85921b9af7bf4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1287, "upload_time": "2015-09-23T16:26:49", "url": "https://files.pythonhosted.org/packages/98/de/660d8117d01aeffe998932077b87373622d9412cc4f11fb7ab4ccb0b0454/BatAlgorithm-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "1949f43bd7ed882b56ea8dd6dfc35145", "sha256": "d11313cef181030be160e878eecb9d7223f802b2370264a66b603c640caa58b8" }, "downloads": -1, "filename": "BatAlgorithm-0.2.tar.gz", "has_sig": false, "md5_digest": "1949f43bd7ed882b56ea8dd6dfc35145", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1579, "upload_time": "2019-05-07T08:10:03", "url": "https://files.pythonhosted.org/packages/ee/c1/581e95ce2785152a8465b9e8cc128c906a6e040942d8e7f9227179c95160/BatAlgorithm-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "5214096ae8b40c1c5a19c23293345568", "sha256": "388e2c0b3d1f9fc65af8e3276be09bde34db38c05dfc96774005813ac789cc50" }, "downloads": -1, "filename": "BatAlgorithm-0.3.tar.gz", "has_sig": false, "md5_digest": "5214096ae8b40c1c5a19c23293345568", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2998, "upload_time": "2019-05-28T15:42:58", "url": "https://files.pythonhosted.org/packages/c0/c4/0889330893b6b71dba41cfe1b942d33d90685b5b17b2541d76e3e523529c/BatAlgorithm-0.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "d8e3e0f9938c39359cd6bd89a02537d4", "sha256": "7dfb034272700fba8c9f77102fb5929ca838a938d2a2098283f1d167b293b7cc" }, "downloads": -1, "filename": "BatAlgorithm-0.3.1.tar.gz", "has_sig": false, "md5_digest": "d8e3e0f9938c39359cd6bd89a02537d4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2994, "upload_time": "2019-05-28T16:16:26", "url": "https://files.pythonhosted.org/packages/a6/c2/2912eea1d744bb60603ad7060f3719863114b96d43d97996540d50bfd6f9/BatAlgorithm-0.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d8e3e0f9938c39359cd6bd89a02537d4", "sha256": "7dfb034272700fba8c9f77102fb5929ca838a938d2a2098283f1d167b293b7cc" }, "downloads": -1, "filename": "BatAlgorithm-0.3.1.tar.gz", "has_sig": false, "md5_digest": "d8e3e0f9938c39359cd6bd89a02537d4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2994, "upload_time": "2019-05-28T16:16:26", "url": "https://files.pythonhosted.org/packages/a6/c2/2912eea1d744bb60603ad7060f3719863114b96d43d97996540d50bfd6f9/BatAlgorithm-0.3.1.tar.gz" } ] }