Code Examples
  Home arrow Code Examples arrow Circles and Connectivity in Graphs
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
CODE EXAMPLES

Circles and Connectivity in Graphs
By: Gabor Bernat
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 2
    2009-05-19

    Table of Contents:
  • Circles and Connectivity in Graphs
  • Circles and the Base Circle System
  • Strong connective components
  • Show it in C

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Circles and Connectivity in Graphs


    (Page 1 of 4 )

    Search and you will find. At least this is what everybody says whenever you are lost and you do not know what to do. This is as true in life as it is in graph theory. Today we're going to search for some answers concerning strong connectivity and circles inside graphs. When all is said and done, we'll find another way to use graphs to solve some complex algorithm-related problems. This is the fifth part of a multi-part series.

    Some wise mathematicians once embarked on a search to resolve certain problems and ultimately found the solution. This article is part of a series I am writing about these graphs, presenting various ways to use them and certain algorithms. This is a continuation of the article I wrote on the depth-first search algorithm.

    I will try to explain how we can reuse searches to solve complex problems. If you missed the previous part I strongly recommend that you read it, as it contains information that will be necessary for you to comprehend this article. We have much ground to cover, so let us begun.

    I already defined connectivity inside a graph during the introductory article to this saga entitled “An Insight into Graphs.” Connectivity can be illustrated in a graph which contains no directed edges;  between any two vertexes, there exists a road. If a graph is not in the described state, we can talk about the components of it (sub graphs) that will satisfy this criteria.

    Strong connectivity means the same as ordinary connectivity, but we translate everything to a graph with directed edges. If you read the previous article, it is easy to deduce that calculating the number of connected components in a graph is the same as counting the number of times we call the DFS search.

    Every call will inform us of another connective sub-graph. However, when we go to graphs with directed edges, the problem becomes a little more complicated. Before we take a closer look at this difficulty, we first need to learn how to find the base circle system inside a graph.

    More Code Examples Articles
    More By Gabor Bernat


     

    CODE EXAMPLES ARTICLES

    - Bipartite Graphs
    - Connectivity in Graphs
    - The Ford-Fulkerson Algorithm
    - Critical Paths
    - The Bellman-Ford and Roy-Floyd Algorithms
    - Shortest Path Algorithms in Graphs
    - Minimum Spanning Tree
    - Articulation Edges and Vertexes
    - Circles and Connectivity in Graphs
    - Depth-First Search in Graphs
    - Breadth-First Search in Graphs
    - The Prufer Code and the Floyd-Warshall Algor...
    - An Insight into Graphs
    - Coding a Custom Object with WSC
    - Creating a Custom Object with WSC





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek