Skip to content

Add algorithm_names.hpp constants (fixes #238)#287

Open
SESHASHAYANAN wants to merge 1 commit intomotiwari:mainfrom
SESHASHAYANAN:fix/issue-238-standardize-naming
Open

Add algorithm_names.hpp constants (fixes #238)#287
SESHASHAYANAN wants to merge 1 commit intomotiwari:mainfrom
SESHASHAYANAN:fix/issue-238-standardize-naming

Conversation

@SESHASHAYANAN
Copy link

Description: Fixes #238. This Pull Request standardizes the usage of algorithm names across the codebase by introducing a central header file: headers/algorithm_names.hpp.

This file defines constants for algorithm identifiers like BANDITPAM, PAM, and FASTPAM1. I have updated the core C++ implementation to use these constants instead of hardcoded string literals. This change improves code maintainability, prevents potential typo-related bugs, and ensures a single source of truth for algorithm naming conventions across the library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Standardize banditpam across URL and all code

1 participant