-
Notifications
You must be signed in to change notification settings - Fork 372
6 лабораторная работа #1622
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
6 лабораторная работа #1622
Conversation
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
…method & remove useless expression
…ded insert_end method to the list
- Add Kruskal's algorithm implementation in lab4.cpp - Implement Disjoint Set Union (DSU) helper struct - Add input.txt for graph testing - Update CMakeLists.txt to build and test Lab4CPPTemplate
…build Cast -1 to size_t explicitly to match variable type & Fix -Werror=sign-compare build failure on Linux runner
- Implement operator[] in Vector for O(1) access without copying - Refactor Graph to use direct reference access via operator[] - Update Graph::add_vertex and Graph::remove_vertex to avoid row copying - Rewrite lab4 test logic to populate edges from graph traversal - Update CMake test to verify exact output "MST Weight: 19"
- Allocate memory for exactly 'm' edges instead of 'm * 2' - Remove redundant boundary check in edge collection loop - Ensure edge collection matches input size exactly
- Remove runtime check for edge count limit - Trust input 'm' parameter as guaranteed by file format
- Add SplayTree class implementing string container interface - Implement splay operation with zig-zig/zig-zag rotations - Add methods: insert, contains, remove - Register splay_tree.cpp in LibraryCPPClass CMake target - Add functional and anti-O(N^2) load tests in LibraryCPPClass/Tests
- Create Lab5CPPClass for performance analysis - Implement random data generator - Compare SplayTree vs std::set insertion time - Generate 'lab45results.txt' with ASCII bar chart - Add CTest execution.
Owner
|
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.
Дедюков Егор гр. 5098
Прошу выдать 6 лабораторную работу