<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Wed, 22 May 2013 03:36:12 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Sameer Borate's Blog: Building a adjacency matrix of a graph]]></title>
      <guid>http://www.phpdeveloper.org/news/17555</guid>
      <link>http://www.phpdeveloper.org/news/17555</link>
      <description><![CDATA[<p>
Building on the graphing tutorial in <a href="http://phpdeveloper.org/news/17543">his last post</a> <i>Sameer</i> continues on looking at graphs in PHP with <a href="http://www.codediesel.com/algorithms/building-a-adjacency-matrix-of-a-graph/">this new post</a> showing how to create an "agency matrix" of a currently built graph.
</p>
<blockquote>
Building a graph is not enough; we also need the ability to search through it. To make it easier to build search algorithms, it is useful if we can represent the graph and its connections in a different way; adjacency matrix being one such representation. An adjacency matrix is a means of representing which vertices (or nodes) of a graph are adjacent to which other vertices.
</blockquote>
<p>
He includes some sample code to extract the data from a graph (built with the PEAR Structures_Graph package) and create a basic "table" of information about each nodes' connections. 
</p>]]></description>
      <pubDate>Fri, 17 Feb 2012 09:19:12 -0600</pubDate>
    </item>
  </channel>
</rss>
