You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Graph.hpp has become pretty large and is a bit of a pain to sift through.
We should break-out Graph.hpp into two major modules:
Graph.hpp will contain the declaration of class Graph and define basic construction elements, edge, and node operations.
Graph/Algorithms/... will contain algorithm implementations that implement the algorithms declared in Graph.hpp.
If we want to remove the need for users to include algorithm files, we can create Graph_decl.hpp as a pure declaration file for class Graph, and have implementations in Graph.hpp and Algorithms/.... Tbh not entirely sure this is necessary, but it might avoid a circular include.
We can also use this as an opportunity to move some of the utility functions, such as reading and writing to various file formats, into Utils/Graph/... subfolder.
The text was updated successfully, but these errors were encountered:
Graph.hpp has become pretty large and is a bit of a pain to sift through.
We should break-out Graph.hpp into two major modules:
class Graph
and define basic construction elements, edge, and node operations.If we want to remove the need for users to include algorithm files, we can create
Graph_decl.hpp
as a pure declaration file forclass Graph
, and have implementations inGraph.hpp
and Algorithms/.... Tbh not entirely sure this is necessary, but it might avoid a circular include.We can also use this as an opportunity to move some of the utility functions, such as reading and writing to various file formats, into Utils/Graph/... subfolder.
The text was updated successfully, but these errors were encountered: