data_structures
Data Fields
s_graph Struct Reference

A graph implemented using a set of arrays. More...

#include <graph.h>

Data Fields

size_t v
 The number of vertices. More...
 
size_t e
 The number of edges. More...
 
t_rbtadj
 The set of arrays, where each arrays represents the adjacency of a given vertex. More...
 
const t_typetype
 The type of vertices in the graph. More...
 

Detailed Description

A graph implemented using a set of arrays.

Definition at line 39 of file graph.h.

Field Documentation

◆ adj

s_graph::adj

The set of arrays, where each arrays represents the adjacency of a given vertex.

Definition at line 43 of file graph.h.

◆ e

s_graph::e

The number of edges.

Definition at line 42 of file graph.h.

◆ type

s_graph::type

The type of vertices in the graph.

Definition at line 44 of file graph.h.

◆ v

s_graph::v

The number of vertices.

Definition at line 41 of file graph.h.


The documentation for this struct was generated from the following file: