hnsw
Heirarchical Navigable Small Worlds
File Explorer
Download Latest Version (.zip)- settings.json
- build-and-test.yml
- bench_simd.cpp
- CMakeLists.txt
- pyhnsw.cpp
- __init__.py
- conftest.py
- test_basic.py
- test_edge_cases.py
- test_metrics.py
- test_performance.py
- .gitignore
- CMakeLists.txt
- pyproject.toml
- pytest.ini
- README.md
- requirements.txt
- setup.py
- test_pyhnsw.py
- hnsw.h
- simd_distance.h
- framework.h
- test_hnsw.h
- framework.cpp
- test_hnsw.cpp
- CMakeLists.txt
- .gitattributes
- .gitignore
- CMakeLists.txt
- LICENSE
- r_build.txt
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/dicroce/hnsw
Downloads the entire project code from GitHub to your computer.
cd hnsw
Moves into the project folder you just downloaded.
2. CMake
Medium RecommendedPrerequisites
mkdir build && cd build
Creates a folder to hold the build output and moves into it.
cmake ..
Analyzes the source code and generates build configuration files (must be run inside the build folder).
make
Compiles the code based on the generated build configuration to produce an executable.
Check that an executable was created inside the build folder, then run it directly (e.g. ./build/app_name).
3. Python
EasyPrerequisites
โ ๏ธ This is a large repository, so this method may point to an internal sub-package rather than the actual core product. Check the full README as well.
pip install -r bindings/pyhnsw/requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
python <์คํํ ํ์ผ๋ช
>.py # README์์ ์ ํํ ์คํ ํ์ผ๋ช
์ ํ์ธํ์ธ์
Runs the Python script (or module).
If it runs without errors and prints output in the terminal, it worked.
// repository documentation
Was this content helpful?
(0 ratings)
