Skip to content

YT-CPPHGL-2: Cleanup of the CPP-GL module implementation and documentation#56

Merged
SpectraL519 merged 12 commits into
hgl-masterfrom
hgl-2-gl-cleanup
Nov 1, 2025
Merged

YT-CPPHGL-2: Cleanup of the CPP-GL module implementation and documentation#56
SpectraL519 merged 12 commits into
hgl-masterfrom
hgl-2-gl-cleanup

Conversation

@SpectraL519
Copy link
Copy Markdown
Owner

@SpectraL519 SpectraL519 commented Nov 1, 2025

A small cleanup required for the development of HGL

  • Changed the minimum required C++ standard to C++23
  • Changed the minimum required GCC version to 14 and CLang version to 18
  • Replaced the usage of std::optional<bool> as algorithm predicate result type with a new ternary predicate_result type
  • Removed the no_return and default_return algorithm-specific types and related concepts; Introduced a result_discriminator type in their place
  • Aligned the documentation

@SpectraL519 SpectraL519 changed the base branch from hgl-master to master November 1, 2025 09:46
@SpectraL519 SpectraL519 changed the base branch from master to hgl-master November 1, 2025 09:46
Copy link
Copy Markdown
Owner Author

@SpectraL519 SpectraL519 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

SpectraL519 and others added 12 commits November 1, 2025 11:06
- Renamed the `prim_mst` function to `edge_heap_prim_mst`
- Added the `vertex_heap_prim_mst` function for finding the MST of a graph
- Added the `edge_descriptor::incident_vertex_id` method
- Updated the license comments and the licence verification script
- Created a new `include/hgl` directory with a dummy implementation file
- Moved the current CPP-GL test files to a dedicated `tests/source/gl` directory
- Created a new `tests/source/hgl` directory with a dummy test file for the HGL module
- Aligned the testing CMake file to define executables for the GL and HGL modules separately
- Removed the library namespace aliases in test files
- Aligned the github workflows to properly execute both GL and HGL module tests
  - Removed the negative weight check
  - Enqueueing edges only if the target vertex in a current iteration is not yet visited
- Improved vertex degree calculating for the adjacency matrix representation
Copy link
Copy Markdown
Owner Author

@SpectraL519 SpectraL519 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@SpectraL519 SpectraL519 merged commit e220490 into hgl-master Nov 1, 2025
4 checks passed
@SpectraL519 SpectraL519 deleted the hgl-2-gl-cleanup branch November 1, 2025 10:09
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