I think that the new Chapel Graph Library (CGL) should definitely create all graphs in terms of hypergraphs, and should take this to the extreme! I think that CHGL should be optimized as much as we can such that we can create some interesting data structures from it...
Undirected Graph is composed of HyperGraph...
BinaryTree is composed of UndirectedGraph...
All of the underlying logic, aggregation, privatization, performance features, etc., all transfer over!
I think that the new Chapel Graph Library (CGL) should definitely create all graphs in terms of hypergraphs, and should take this to the extreme! I think that CHGL should be optimized as much as we can such that we can create some interesting data structures from it...
Undirected Graph is composed of HyperGraph... BinaryTree is composed of UndirectedGraph...
All of the underlying logic, aggregation, privatization, performance features, etc., all transfer over!