graph struct defn
More...
#include <graph.h>
graph struct defn
Definition at line 26 of file graph.h.
◆ add_edge
routine to add an edge in graph
Definition at line 39 of file graph.h.
◆ add_edge_sym
routine to add a symmetric edge in graph
Definition at line 41 of file graph.h.
◆ add_vertex
routine to add a vertex in graph
Definition at line 37 of file graph.h.
◆ add_wedge
routine to add a weighted edge in graph
Definition at line 43 of file graph.h.
◆ add_wedge_sym
routine to add a weighted symmetric edge in graph
Definition at line 44 of file graph.h.
◆ bfs
routine to Breadth First Search in graph
Definition at line 46 of file graph.h.
◆ cmpr
◆ conn_comp
routine to get the connected components in graph
Definition at line 48 of file graph.h.
◆ count
Vertex Count of graph.
Definition at line 29 of file graph.h.
◆ del_edge
routine to del an edge in graph
Definition at line 40 of file graph.h.
◆ del_edge_sym
routine to del a symmetric edge in graph
Definition at line 42 of file graph.h.
◆ del_vertex
routine to del a vertex in graph
Definition at line 38 of file graph.h.
◆ destroy
routine to destroy the graph instance
Definition at line 54 of file graph.h.
◆ dfs
routine to Depth First Search in graph
Definition at line 47 of file graph.h.
◆ find
routine to find a vertex in graph
Definition at line 50 of file graph.h.
◆ free
◆ has_edge
routine to check an edge between two vertices graph
Definition at line 45 of file graph.h.
◆ len
routine to get vertex count in graph
Definition at line 51 of file graph.h.
◆ max_size
Max Vertex count of graph.
Definition at line 30 of file graph.h.
◆ name
Graph Instance Name.
Definition at line 28 of file graph.h.
◆ nodes
Adaceny List Representation of graph vertices.
Definition at line 34 of file graph.h.
◆ print
routine to print graph info
Definition at line 52 of file graph.h.
◆ print_data
◆ swap
◆ topo_order_dag
routine to topologica order a DAG
Definition at line 49 of file graph.h.
◆ total_edges
Edge count of graph.
Definition at line 31 of file graph.h.
◆ wprint
routine to print graph info with edge weights
Definition at line 53 of file graph.h.
The documentation for this struct was generated from the following file: