UWB-Biocomputing / Graphitti

A project to facilitate construction of high-performance simulations of graph-structured systems.
https://uwb-biocomputing.github.io/Graphitti/
Apache License 2.0
7 stars 14 forks source link

Modify GraphManager so that it can handle different property structs for different application domains #648

Open stiber opened 1 month ago

stiber commented 1 month ago

Right now, we use a single struct for each kind of property (vertex, edge, graph), with all properties for all domains merged together. It would be good to instead either use inheritance in the structs or a template GraphManager to enable each domain to define its properties separately.

jardiamj commented 1 month ago

I am sure that to implement this, the GraphManager must be a template class. Inheritance in the structs alone might not be enough.