21 #ifndef MAX_VERTEX_NUMBER 22 #define MAX_VERTEX_NUMBER 1309073 25 #ifndef MAX_EDGE_NUMBER 26 #define MAX_EDGE_NUMBER 5309056 29 typedef struct Graph {
71 loadGraph(
char * InVertexFileName,
char * OutVertexFileName,
char * InEdgeFileName,
char * OutEdgeFileName);
EdgeId inEdgesIDs[MAX_VERTEX_NUMBER]
Edge outEdges[MAX_EDGE_NUMBER]
static size_t getInDegree(Graph *graph, NodeId node)
Edge inEdges[MAX_EDGE_NUMBER]
unsigned counter[N_THREADS]
static size_t getOutDegree(Graph *graph, NodeId node)
General class used to describe a graph in PandA.
static Edge * getOutEdges(Graph *graph, NodeId node)
#define MAX_VERTEX_NUMBER
static Edge * getInEdges(Graph *graph, NodeId node)
void loadGraph(char *InVertexFileName, char *OutVertexFileName, char *InEdgeFileName, char *OutEdgeFileName)
EdgeId outEdgesIDs[MAX_VERTEX_NUMBER]