Replies: 1 comment
-
Hi @Sober7135 ,Thank you for pointing out this issue. There is no function to be able to get adjacent list types in c++ library. If it's required, GAR can add this function, such as |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Since
EdgeInfo
only provides two functions related to adjacent list.incubator-graphar/cpp/src/graphar/graph_info.h
Line 506 in b7768ad
incubator-graphar/cpp/src/graphar/graph_info.h
Lines 522 to 523 in b7768ad
If we want to know what adjacent list types the edge info contains, we might write codes like this:
So i wonder if there is any other way to get adjacent list types of edge info. Or maybe we should provide a function like
GetPropertyGroups
to return a list of adjacent list types.(This situation mainly occurs when reading graphar format from disk. We need to first construct
GraphInfo
, thenVertexInfo
andEdgeInfo
, finally constructVerticeCollection
andEdgesCollection
to iterate over vertices and edges. Constructing anEdgesCollection
requires knowing the adjacent list type)If I said something incorrect, please point it out. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions