Skip to content

Simplify traversal_common.hpp by unifying property function concepts#22

Merged
pratzl merged 1 commit intomainfrom
phil_refinement
Apr 11, 2026
Merged

Simplify traversal_common.hpp by unifying property function concepts#22
pratzl merged 1 commit intomainfrom
phil_refinement

Conversation

@pratzl
Copy link
Copy Markdown
Collaborator

@pratzl pratzl commented Apr 11, 2026

  • Define vertex_property_fn_for and vertex_fn_value_t as the primary concept/alias for per-vertex callable properties
  • Redefine distance_fn_for and predecessor_fn_for in terms of vertex_property_fn_for to eliminate duplicated constraints
  • Redefine distance_fn_value_t in terms of vertex_fn_value_t to eliminate duplicated type extraction logic

- Define vertex_property_fn_for and vertex_fn_value_t as the primary
  concept/alias for per-vertex callable properties
- Redefine distance_fn_for and predecessor_fn_for in terms of
  vertex_property_fn_for to eliminate duplicated constraints
- Redefine distance_fn_value_t in terms of vertex_fn_value_t to
  eliminate duplicated type extraction logic
@pratzl pratzl merged commit 7645a19 into main Apr 11, 2026
11 checks passed
@pratzl pratzl deleted the phil_refinement branch April 11, 2026 14:53
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.

1 participant