swarmlib
This repository implements several swarm optimization algorithms and visualizes them. Implemented algorithms: Particle Swarm Optimization (PSO), Firefly Algorithm (FA), Cuckoo Search (CS), Ant Colony Optimization (ACO), Artificial Bee Colony (ABC), Grey Wolf Optimizer (GWO) and Whale Optimization Algorithm (WOA)
파일 탐색기
최종 버전 다운로드 (.zip)- bug_report.md
- feature_request.md
- cicd.yml
- CODEOWNERS
- FUNDING.yml
- pull_request_template.md
- swarmlib.iml
- extensions.json
- launch.json
- settings.json
- dark_mode.png
- example.gif
- light_mode.png
- __init__.py
- bee_base.py
- employee_bee.py
- onlooker_bee.py
- __init__.py
- abc_problem.py
- main.py
- visualizer.py
- burma14.tsp
- __init__.py
- aco_problem.py
- ant.py
- local_2_opt.py
- main.py
- tsp_graph.py
- visualizer.py
- __init__.py
- cuckoo_problem.py
- main.py
- nest.py
- visualizer.py
- __init__.py
- firefly.py
- firefly_problem.py
- main.py
- __init__.py
- gwo_problem.py
- main.py
- visualizer.py
- wolf.py
- __init__.py
- main.py
- particle.py
- pso_problem.py
- __init__.py
- base_visualizer.py
- coordinate.py
- functions.py
- levy_flight.py
- problem_base.py
- visualizer_base.py
- __init__.py
- main.py
- whale.py
- woa_problem.py
- __init__.py
- __main__.py
- _version.py
- __init__.py
- wolf_test.py
- __init__.py
- coordinate_test.py
- functions_test.py
- levy_flight_test.py
- __init__.py
- whale_test.py
- __init__.py
- .gitattributes
- .gitignore
- .pylintrc
- CHANGELOG.md
- CONTRIBUTING.md
- LICENSE.txt
- Makefile
- MANIFEST.in
- pytest.ini
- README.md
- requirements-dev.txt
- requirements.txt
- setup.py
- ThirdPartyNotices.txt
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/HaaLeo/swarmlib
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd swarmlib
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Python
쉬움 추천사전 준비물
pip install -r requirements.txt
requirements.txt 등에 명시된 파이썬 라이브러리를 설치합니다.
python <실행할 파일명>.py # README에서 정확한 실행 파일명을 확인하세요
파이썬 스크립트(또는 모듈)를 실행합니다.
에러 메시지 없이 실행되고 터미널에 안내 문구가 출력되면 정상입니다.
3. Make
보통사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Make Linux/macOS는 보통 기본 설치되어 있습니다. Windows는 별도 설치(예: MSYS2, WSL)가 필요합니다.
make
생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.
에러 없이 끝나면 성공입니다. 생성된 실행 파일을 직접 실행해보세요.
// repository documentation
Was this content helpful?
(0 ratings)
