Skip to content

Using Python, project that analyzes different attributes of a given mathematical graph, such as: Topological Order, Cycles and Connected Components. Uses recursion of functions, adjacency lists, classes, and graph theory.

Notifications You must be signed in to change notification settings

marcoyuuu/Analyzing-Graphs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Analyzing-Graphs

This program finds the topological order, possible cycles, and connected components of a mathematical graph. The graphs are given through “.txt” files. I used the "Depth-First Search" (DFS) algorithm to obtain the topological order and the possible cycles, since the DFS explains how the vertices of a graph are traversed and gives them initialization and finalization times. With these times, it is possible to find trailing edges and, therefore, possible cycles. To find the connected components, I used the “Breadth-First Search” (BFS) algorithm to discern how many separate subgraphs the given graph has.

About

Using Python, project that analyzes different attributes of a given mathematical graph, such as: Topological Order, Cycles and Connected Components. Uses recursion of functions, adjacency lists, classes, and graph theory.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages