This commit is contained in:
Tiago Batista Cardoso
2026-02-28 22:41:19 +01:00
parent 500e03af35
commit 2d3865079d
21 changed files with 1072 additions and 570 deletions

View File

@@ -20,6 +20,7 @@ struct graph_t {
typedef struct graph_t graph_t;
// structure-related functions
int has_edge(const graph_t *graph, int u, int v);
node_t *create_node(int id);
graph_t *create_graph(int n, double p, double q);
void add_edge(graph_t *graph, int src, int dest);