YT-CPPHGL-2: Cleanup of the CPP-GL module implementation and documentation#56
Merged
Conversation
- 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
40564c4 to
cf6bd0a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A small cleanup required for the development of HGL
std::optional<bool>as algorithm predicate result type with a new ternarypredicate_resulttypeno_returnanddefault_returnalgorithm-specific types and related concepts; Introduced aresult_discriminatortype in their place