{"id":17259514,"url":"https://github.com/muneeb706/bellman-ford-sssp","last_synced_at":"2025-09-01T16:46:27.498Z","repository":{"id":154490540,"uuid":"304520432","full_name":"muneeb706/Bellman-Ford-SSSP","owner":"muneeb706","description":"In this project, serial and parallel version of bellman ford algorithm for single source shortest path is implemented","archived":false,"fork":false,"pushed_at":"2024-01-21T08:43:28.000Z","size":25,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T06:33:57.545Z","etag":null,"topics":["simd"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/muneeb706.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-10-16T04:35:54.000Z","updated_at":"2025-03-17T08:19:33.000Z","dependencies_parsed_at":"2024-01-20T10:23:43.040Z","dependency_job_id":"1305fee7-5bd0-4455-8920-2533bf9ab70a","html_url":"https://github.com/muneeb706/Bellman-Ford-SSSP","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/muneeb706/Bellman-Ford-SSSP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muneeb706%2FBellman-Ford-SSSP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muneeb706%2FBellman-Ford-SSSP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muneeb706%2FBellman-Ford-SSSP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muneeb706%2FBellman-Ford-SSSP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/muneeb706","download_url":"https://codeload.github.com/muneeb706/Bellman-Ford-SSSP/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muneeb706%2FBellman-Ford-SSSP/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273158336,"owners_count":25055859,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["simd"],"created_at":"2024-10-15T07:45:18.866Z","updated_at":"2025-09-01T16:46:27.476Z","avatar_url":"https://github.com/muneeb706.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bellman-Ford-SSSP\nThis repository contains implementations of the Bellman-Ford algorithm for Single Source Shortest Path (SSSP) problem in three different ways:\n\n1. Serial implementation (`bellman-ford-sssp-serial.cpp`)\n2. Parallel implementation using pthreads (`bellman-ford-sssp-pthread.cpp`)\n3. Parallel implementation using SIMD and Tiling (`bellman-ford-sssp-simd.cpp`)\n\n## Dataset\nThe program automatically downloads and uses the `higgs-twitter.mtx` data file for its operations. This dataset is part of the [Higgs Twitter dataset](https://suitesparse-collection-website.herokuapp.com/MM/SNAP/higgs-twitter.tar.gz), which captures the spread of news about the discovery of a new particle with the features of the Higgs boson on 4th July 2012.\n\n## Compilation and Execution\nThe code can be compiled and executed using the `g++` compiler for the serial and parallel implementations. However, for the SIMD vectorized version, the `ARM architecture` is needed. \n\nPlease follow the instructions below to compile and execute the programs:\n\n### For Serial Program\n\n#### Compile\n```bash\ng++ bellman-ford-sssp-serial.cpp graph.cpp dataset_operations.cpp -o bellman-ford-sssp-serial -std=c++20 -lcurl\n```\n#### Execute\n```bash\n./bellman-ford-sssp-serial \n```\n\n### For Parallel Program\n\n#### Compile\n```bash\ng++ bellman-ford-sssp-pthread.cpp graph.cpp dataset_operations.cpp -o bellman-ford-sssp-pthread -std=c++20 -lpthread -lcurl\n```\n#### Execute\n```bash\n./bellman-ford-sssp-pthread\n```\n\n### For SIMD Vectorization Program\n\nThe SIMD vectorized version of the program is designed to run on ARM architecture, specifically using ARM NEON intrinsics for SIMD vectorization. \n\n#### Compile\n```bash\ng++ bellman-ford-sssp-simd.cpp dataset_operations.cpp -o bellman-ford-sssp-simd -march=armv8-a -mfpu=neon -std=c++20 -lcurl\n```\n#### Execute\n```bash\n./bellman-ford-sssp-simd\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuneeb706%2Fbellman-ford-sssp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmuneeb706%2Fbellman-ford-sssp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuneeb706%2Fbellman-ford-sssp/lists"}