-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature getters for set of neighbors (#318)
* Remove static_cast of 0 to template type T in best_first_search * Change all the raw pointers in the library to smart pointers * Rewrite tests to use smart pointers * Finish converting tests to smart pointers * Add setter for nodes in Edge nodePair * Fix addition of edges and construction of adjacency matrix * Add overloads of algorithms which take raw pointers to mantain interface * Fix typos in tests * Change dynamic_casts into dynamic_pointer_casts * Decrease the number of random edges and nodes in RW and partition tests * Add out/inOutEdges convenience methods for Graph * Add tests for the out/inOutEdges methods * Add overload of equality operators and hash functions for pointers of nodes * Implement new hash functions for pointers of nodes and edges * Increase number of nodes and edges in partition and RW tests * Fix typo * Use shared pointers in random node/edge generators * Convert pointers in TransitiveReductionTest.cpp * Add overload of addEdge for raw pointers * Fix typo * Fix edge insertion in FloydWarshall benchmark * Fix typo in benchmark * Remove all the calls to new in the tests * Fix typo in benchmark FloydWarshall Fix typo in benchmark FloydWarshall * Conversion of example codes * Formatting * Add test for overloads of out/inOutEdges * Change name of out/inOutEdges methods to out/inOutNeighbors --------- Co-authored-by: sbaldu <[email protected]>
- Loading branch information
Showing
2 changed files
with
357 additions
and
56 deletions.
There are no files selected for viewing
This file contains 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
Oops, something went wrong.