STGraph icon indicating copy to clipboard operation
STGraph copied to clipboard

πŸ˜Άβ€πŸŒ«οΈ Adding CSRGraph to StaticGraph Abstraction

Open nithinmanoj10 opened this issue 1 year ago β€’ 0 comments

As of now the graph abstraction in STGraph has the following "base" classes

  1. STGraphBase
  2. StaticGraph
  3. DynamicGraph

StaticGraphand DynamicGraph inherits from STGraphBase. Whereas NaiveGraph, PCSRGraph and GPMAGraph inherits from DynamicGraphs.

However StaticGraph is not entirely serving the purpose of a base class, since we are using CSR within the class and implementing the graph class.

Solution A solution would be to create a class named CSRGraph that inherits from StaticGraph. This also enables StaticGraph to act as a base class allowing us to implement more types of static graph classes such as CSRGraph in the future

nithinmanoj10 avatar Jan 16 '24 16:01 nithinmanoj10