Skip to content

This repository provides an Abstract Type of Data "graph_t" and algorithms (C language) related to Graph Teory.

Notifications You must be signed in to change notification settings

HenriqueSouzaMarques/Graphs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Graph Algorithms Repository

This repository provides an implementation of a graph data structure, graph_t, and various algorithms related to graph theory in the C programming language.

The knowledge and code in this repository are based on the concepts covered in the course SCC0216 - Computational Modeling with Graphs - ICMC/USP, taught by Professor Maria Cristina Ferreira de Oliveira.

Covered Topics

The repository covers the following topics:

  1. Adjacency Matrix
  2. Directed Graphs
  3. Non-Directed Graphs
  4. Weighted Graphs
  5. Breadth First Search (BFS)
  6. Depth First Search (DFS)
  7. Topological Sorting
  8. Fleury Algorithm (Eulerian Cycles)
  9. Welsh Powell Algorithm (Graph Coloring)
  10. Prim's Algorithm (Minimum Spanning Trees)
  11. Tarjan Algorithm (Connected/Strongly Connected Components in Non-Directed/Directed Graphs)
  12. Dijkstra and Bellman-Ford Algorithms (Single Source Shortest Paths)
  13. Floyd-Warshall Algorithm (All Pairs Shortest Paths)

These topics serve as a foundation for understanding and working with graph structures and algorithms.

Feel free to explore the code and use it as a reference or starting point for your own projects involving graphs and related computations.

Usage

To use the provided code, follow these steps:

  1. Clone the repository to your local machine.
  2. Navigate to the appropriate directory.
  3. Compile the C code running make
  4. Run the compiled executable with make run

About

This repository provides an Abstract Type of Data "graph_t" and algorithms (C language) related to Graph Teory.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published