![]()  | 
  
    PandA-2024.02
    
   | 
 
#include <stddef.h>

Go to the source code of this file.
Data Structures | |
| struct | Edge | 
| struct | Graph | 
Macros | |
| #define | N_THREADS 8 | 
| #define | MAX_VERTEX_NUMBER 1309073 | 
| #define | MAX_EDGE_NUMBER 5309056 | 
Typedefs | |
| typedef unsigned int | NodeId | 
| typedef unsigned int | EdgeId | 
| typedef unsigned int | PropertyId | 
| typedef struct Edge | Edge | 
| typedef struct Graph | Graph | 
Functions | |
| static size_t | getInDegree (Graph *graph, NodeId node) | 
| static Edge * | getInEdges (Graph *graph, NodeId node) | 
| static size_t | getOutDegree (Graph *graph, NodeId node) | 
| static Edge * | getOutEdges (Graph *graph, NodeId node) | 
| void | loadGraph (char *InVertexFileName, char *OutVertexFileName, char *InEdgeFileName, char *OutEdgeFileName) | 
Variables | |
| Graph | TheGraph | 
| unsigned | numAnswers | 
| unsigned | counter [N_THREADS] | 
| #define MAX_EDGE_NUMBER 5309056 | 
Definition at line 26 of file simple_API.h.
| #define MAX_VERTEX_NUMBER 1309073 | 
Definition at line 22 of file simple_API.h.
| #define N_THREADS 8 | 
Definition at line 7 of file simple_API.h.
Referenced by getOutEdges().
| typedef unsigned int EdgeId | 
Definition at line 12 of file simple_API.h.
| typedef unsigned int NodeId | 
Definition at line 11 of file simple_API.h.
| typedef unsigned int PropertyId | 
Definition at line 13 of file simple_API.h.
Definition at line 45 of file simple_API.h.
References Graph::inEdgesIDs, and Edge::node.
Definition at line 50 of file simple_API.h.
References Graph::inEdges, Graph::inEdgesIDs, and Edge::node.
Definition at line 60 of file simple_API.h.
References Edge::node, and Graph::outEdgesIDs.
Definition at line 65 of file simple_API.h.
References counter, loadGraph(), N_THREADS, Edge::node, numAnswers, Graph::outEdges, Graph::outEdgesIDs, and TheGraph.

| void loadGraph | ( | char * | InVertexFileName, | 
| char * | OutVertexFileName, | ||
| char * | InEdgeFileName, | ||
| char * | OutEdgeFileName | ||
| ) | 
Definition at line 10 of file load_graph.c.
 1.8.13