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
This alternative representation is more space efficient for graphs with a relatively low number of edges compared to number of nodes.
Open Questions
Should we support both approaches and leave it to the user to decide? Or can we be smart and select the approach based on what the user graph looks like?
The text was updated successfully, but these errors were encountered:
With a graph
the TinyGraphIO interchange file format stores the compressed sparse row representation
where
edges(v) = targets[offsets[v]] - targets[offsets[v + 1]]
Varints of Deltas
For a compact representation we use the following techniques
With delta encoded varints for offsets and varints for targets, the compressed sparse row graph can be compactly represented as
Dense Bitsets
An alternative is representing offsets as a dense bitset indicating when a new sub-range in targets starts
This alternative representation is more space efficient for graphs with a relatively low number of edges compared to number of nodes.
Open Questions
Should we support both approaches and leave it to the user to decide? Or can we be smart and select the approach based on what the user graph looks like?
The text was updated successfully, but these errors were encountered: