Explain graph code

This commit is contained in:
Danila Fedorin 2020-03-14 21:04:13 -07:00
parent ccac53854d
commit 9e14b2920c

View File

@ -26,8 +26,8 @@ class function_graph {
size_t indegree; size_t indegree;
}; };
using edge = std::pair<function, function>;
using data_ptr = std::shared_ptr<group_data>; using data_ptr = std::shared_ptr<group_data>;
using edge = std::pair<function, function>;
using group_edge = std::pair<group_id, group_id>; using group_edge = std::pair<group_id, group_id>;
std::map<function, std::set<function>> adjacency_lists; std::map<function, std::set<function>> adjacency_lists;