<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241543</link>
    <title>MATLAB Central Newsreader - urgent help in &quot; calcualting number of free independent path&quot;</title>
    <description>Feed for thread: urgent help in &quot; calcualting number of free independent path&quot;</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Wed, 24 Dec 2008 16:46:01 -0500</pubDate>
      <title>urgent help in &quot; calcualting number of free independent path&quot;</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241543#618711</link>
      <author>ayman ayad</author>
      <description>i have a network &quot;water pipe netwrok &quot; &lt;br&gt;
and i have the &quot;connectivity matrix &quot;  bwteen points&lt;br&gt;
and i know the id of source points &lt;br&gt;
&lt;br&gt;
does anyone know a file m-file or a way where i can claculate &lt;br&gt;
free independent path , or number of possible paths between source points and any point in the network  &lt;br&gt;
so i  can have at the end a digit equall to that number of paths ??&lt;br&gt;
&lt;br&gt;
i really need that help so so so much in my Msc &lt;br&gt;
&lt;br&gt;
so if anyone can help me with that i will be so greatful &lt;br&gt;
also u can send me  in my e-mail  sea_dreamer82@yahoo.com</description>
    </item>
    <item>
      <pubDate>Wed, 24 Dec 2008 17:01:20 -0500</pubDate>
      <title>Re: urgent help in &quot; calcualting number of free independent path&quot;</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241543#618716</link>
      <author>David </author>
      <description>&quot;ayman ayad&quot; &amp;lt;sea_dreamer82@yahoo.com&amp;gt; wrote in message &amp;lt;gitp09$jh2$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; i have a network &quot;water pipe netwrok &quot; &lt;br&gt;
&amp;gt; and i have the &quot;connectivity matrix &quot;  bwteen points&lt;br&gt;
&amp;gt; and i know the id of source points &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; does anyone know a file m-file or a way where i can claculate &lt;br&gt;
&amp;gt; free independent path , or number of possible paths between source points and any point in the network  &lt;br&gt;
&amp;gt; so i  can have at the end a digit equall to that number of paths ??&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; i really need that help so so so much in my Msc &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; so if anyone can help me with that i will be so greatful &lt;br&gt;
&amp;gt; also u can send me  in my e-mail  sea_dreamer82@yahoo.com&lt;br&gt;
&lt;br&gt;
this sounds more like a question for a math or topology theory group to first determine the algorithm you need.</description>
    </item>
    <item>
      <pubDate>Wed, 24 Dec 2008 18:24:02 -0500</pubDate>
      <title>Re: urgent help in &quot; calcualting number of free independent path&quot;</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241543#618729</link>
      <author>ayman ayad</author>
      <description>i found some tips searching in wikipedia&lt;br&gt;
&lt;br&gt;
under following links &lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://en.wikipedia.org/wiki/Connectivity_(graph_theory)&quot;&gt;http://en.wikipedia.org/wiki/Connectivity_(graph_theory)&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://en.wikipedia.org/wiki/Menger%27s_theorem&quot;&gt;http://en.wikipedia.org/wiki/Menger%27s_theorem&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
i just want to calculate the number of possible routes (path) from source points to other points in a given network .. having the connectivity (adjecency ) network &lt;br&gt;
which is in form of &lt;br&gt;
&lt;br&gt;
point id         1  2 3 4 5 &lt;br&gt;
line id 1         1 0 0 0  -1&lt;br&gt;
line id 2         0 1 -1 0  0 &lt;br&gt;
&lt;br&gt;
and so on &lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
The problem of determining whether two vertices in a graph are connected can be solved efficiently using a search algorithm, such as breadth-first search. More generally, it is easy to determine computationally whether a graph is connected (for example, by using a disjoint-set data structure), or to count the number of connected components. A simple algorithm might be written in pseudo-code as follows:&lt;br&gt;
&lt;br&gt;
Begin at any arbitrary node of the graph, G &lt;br&gt;
Proceed from that node using either depth-first or breadth-first search, counting all nodes reached. &lt;br&gt;
Once the graph has been entirely traversed, if the number of nodes counted is equal to the number of nodes of G, the graph is connected; otherwise it is disconnected. &lt;br&gt;
By Menger's theorem, for any two vertices u and v in a connected graph G, the numbers &amp;#954;(u,v) and &amp;#955;(u,v) can be determined efficiently using the max-flow min-cut algorithm. The connectivity and edge-connectivity of G can then be computed as the minimum values of &amp;#954;(u,v) and &amp;#955;(u,v), respectively.&lt;br&gt;
In computational complexity theory, SL is the class of problems log-space reducible to the problem of determining whether two vertices in a graph are connected, which was proved to be equal to L by Omer Reingold in 2004. Hence, undirected graph connectivity may be solved in O(logn) space.&lt;br&gt;
&lt;br&gt;
The problem of computing the probability that a Bernoulli random graph is connected is called Network reliability and the problem of computing whether two given vertices are connected the ST-reliability problem. Both of these are #P-hard.&lt;br&gt;
&lt;br&gt;
i&lt;br&gt;
&lt;br&gt;
Menger's theorem &lt;br&gt;
diected graph &lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&quot;David&quot; &amp;lt;dave@bigcompany.com&amp;gt; wrote in message &amp;lt;gitpsv$51s$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;ayman ayad&quot; &amp;lt;sea_dreamer82@yahoo.com&amp;gt; wrote in message &amp;lt;gitp09$jh2$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; i have a network &quot;water pipe netwrok &quot; &lt;br&gt;
&amp;gt; &amp;gt; and i have the &quot;connectivity matrix &quot;  bwteen points&lt;br&gt;
&amp;gt; &amp;gt; and i know the id of source points &lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; does anyone know a file m-file or a way where i can claculate &lt;br&gt;
&amp;gt; &amp;gt; free independent path , or number of possible paths between source points and any point in the network  &lt;br&gt;
&amp;gt; &amp;gt; so i  can have at the end a digit equall to that number of paths ??&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; i really need that help so so so much in my Msc &lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; so if anyone can help me with that i will be so greatful &lt;br&gt;
&amp;gt; &amp;gt; also u can send me  in my e-mail  sea_dreamer82@yahoo.com&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; this sounds more like a question for a math or topology theory group to first determine the algorithm you need.</description>
    </item>
    <item>
      <pubDate>Wed, 24 Dec 2008 18:44:02 -0500</pubDate>
      <title>Re: urgent help in &quot; calcualting number of free independent path&quot;</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241543#618731</link>
      <author>David </author>
      <description>&quot;ayman ayad&quot; &amp;lt;sea_dreamer82@yahoo.com&amp;gt; wrote in message &amp;lt;gituo2$r0k$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; i found some tips searching in wikipedia&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; under following links &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;a href=&quot;http://en.wikipedia.org/wiki/Connectivity_(graph_theory)&quot;&gt;http://en.wikipedia.org/wiki/Connectivity_(graph_theory)&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://en.wikipedia.org/wiki/Menger%27s_theorem&quot;&gt;http://en.wikipedia.org/wiki/Menger%27s_theorem&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; i just want to calculate the number of possible routes (path) from source points to other points in a given network .. having the connectivity (adjecency ) network &lt;br&gt;
&amp;gt; which is in form of &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; point id         1  2 3 4 5 &lt;br&gt;
&amp;gt; line id 1         1 0 0 0  -1&lt;br&gt;
&amp;gt; line id 2         0 1 -1 0  0 &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; and so on &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; The problem of determining whether two vertices in a graph are connected can be solved efficiently using a search algorithm, such as breadth-first search. More generally, it is easy to determine computationally whether a graph is connected (for example, by using a disjoint-set data structure), or to count the number of connected components. A simple algorithm might be written in pseudo-code as follows:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Begin at any arbitrary node of the graph, G &lt;br&gt;
&amp;gt; Proceed from that node using either depth-first or breadth-first search, counting all nodes reached. &lt;br&gt;
&amp;gt; Once the graph has been entirely traversed, if the number of nodes counted is equal to the number of nodes of G, the graph is connected; otherwise it is disconnected. &lt;br&gt;
&amp;gt; By Menger's theorem, for any two vertices u and v in a connected graph G, the numbers &amp;#954;(u,v) and &amp;#955;(u,v) can be determined efficiently using the max-flow min-cut algorithm. The connectivity and edge-connectivity of G can then be computed as the minimum values of &amp;#954;(u,v) and &amp;#955;(u,v), respectively.&lt;br&gt;
&amp;gt; In computational complexity theory, SL is the class of problems log-space reducible to the problem of determining whether two vertices in a graph are connected, which was proved to be equal to L by Omer Reingold in 2004. Hence, undirected graph connectivity may be solved in O(logn) space.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; The problem of computing the probability that a Bernoulli random graph is connected is called Network reliability and the problem of computing whether two given vertices are connected the ST-reliability problem. Both of these are #P-hard.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; i&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Menger's theorem &lt;br&gt;
&amp;gt; diected graph &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &quot;David&quot; &amp;lt;dave@bigcompany.com&amp;gt; wrote in message &amp;lt;gitpsv$51s$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; &quot;ayman ayad&quot; &amp;lt;sea_dreamer82@yahoo.com&amp;gt; wrote in message &amp;lt;gitp09$jh2$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; i have a network &quot;water pipe netwrok &quot; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; and i have the &quot;connectivity matrix &quot;  bwteen points&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; and i know the id of source points &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; does anyone know a file m-file or a way where i can claculate &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; free independent path , or number of possible paths between source points and any point in the network  &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; so i  can have at the end a digit equall to that number of paths ??&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; i really need that help so so so much in my Msc &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; so if anyone can help me with that i will be so greatful &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; also u can send me  in my e-mail  sea_dreamer82@yahoo.com&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; this sounds more like a question for a math or topology theory group to first determine the algorithm you need.&lt;br&gt;
&lt;br&gt;
great!  now you have a place to start.  now just convert that theorem into a practical algorithm to work on the data that you have and you'll be done!</description>
    </item>
    <item>
      <pubDate>Thu, 25 Dec 2008 19:16:02 -0500</pubDate>
      <title>Re: urgent help in &quot; calcualting number of free independent path&quot;</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241543#618818</link>
      <author>ayman ayad</author>
      <description>the problem is that iam acivil engineer with like zero knowledge in such mathmatics algorithms&lt;br&gt;
i was hoping to find someone who have such algorithm or .m file already written &lt;br&gt;
&lt;br&gt;
or any .m file that calculate the reliability of a network  or number of possible routes from a single point to all other points in a network &lt;br&gt;
&lt;br&gt;
hope to find an answer , thanks&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&quot;David&quot; &amp;lt;dave@bigcompany.com&amp;gt; wrote in message &amp;lt;gitvti$jfu$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;ayman ayad&quot; &amp;lt;sea_dreamer82@yahoo.com&amp;gt; wrote in message &amp;lt;gituo2$r0k$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; i found some tips searching in wikipedia&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; under following links &lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &lt;a href=&quot;http://en.wikipedia.org/wiki/Connectivity_(graph_theory)&quot;&gt;http://en.wikipedia.org/wiki/Connectivity_(graph_theory)&lt;/a&gt;&lt;br&gt;
&amp;gt; &amp;gt; &lt;a href=&quot;http://en.wikipedia.org/wiki/Menger%27s_theorem&quot;&gt;http://en.wikipedia.org/wiki/Menger%27s_theorem&lt;/a&gt;&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; i just want to calculate the number of possible routes (path) from source points to other points in a given network .. having the connectivity (adjecency ) network &lt;br&gt;
&amp;gt; &amp;gt; which is in form of &lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; point id         1  2 3 4 5 &lt;br&gt;
&amp;gt; &amp;gt; line id 1         1 0 0 0  -1&lt;br&gt;
&amp;gt; &amp;gt; line id 2         0 1 -1 0  0 &lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; and so on &lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; The problem of determining whether two vertices in a graph are connected can be solved efficiently using a search algorithm, such as breadth-first search. More generally, it is easy to determine computationally whether a graph is connected (for example, by using a disjoint-set data structure), or to count the number of connected components. A simple algorithm might be written in pseudo-code as follows:&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Begin at any arbitrary node of the graph, G &lt;br&gt;
&amp;gt; &amp;gt; Proceed from that node using either depth-first or breadth-first search, counting all nodes reached. &lt;br&gt;
&amp;gt; &amp;gt; Once the graph has been entirely traversed, if the number of nodes counted is equal to the number of nodes of G, the graph is connected; otherwise it is disconnected. &lt;br&gt;
&amp;gt; &amp;gt; By Menger's theorem, for any two vertices u and v in a connected graph G, the numbers &amp;#954;(u,v) and &amp;#955;(u,v) can be determined efficiently using the max-flow min-cut algorithm. The connectivity and edge-connectivity of G can then be computed as the minimum values of &amp;#954;(u,v) and &amp;#955;(u,v), respectively.&lt;br&gt;
&amp;gt; &amp;gt; In computational complexity theory, SL is the class of problems log-space reducible to the problem of determining whether two vertices in a graph are connected, which was proved to be equal to L by Omer Reingold in 2004. Hence, undirected graph connectivity may be solved in O(logn) space.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; The problem of computing the probability that a Bernoulli random graph is connected is called Network reliability and the problem of computing whether two given vertices are connected the ST-reliability problem. Both of these are #P-hard.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; i&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Menger's theorem &lt;br&gt;
&amp;gt; &amp;gt; diected graph &lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &quot;David&quot; &amp;lt;dave@bigcompany.com&amp;gt; wrote in message &amp;lt;gitpsv$51s$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &quot;ayman ayad&quot; &amp;lt;sea_dreamer82@yahoo.com&amp;gt; wrote in message &amp;lt;gitp09$jh2$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; i have a network &quot;water pipe netwrok &quot; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; and i have the &quot;connectivity matrix &quot;  bwteen points&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; and i know the id of source points &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; does anyone know a file m-file or a way where i can claculate &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; free independent path , or number of possible paths between source points and any point in the network  &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; so i  can have at the end a digit equall to that number of paths ??&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; i really need that help so so so much in my Msc &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; so if anyone can help me with that i will be so greatful &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; also u can send me  in my e-mail  sea_dreamer82@yahoo.com&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; this sounds more like a question for a math or topology theory group to first determine the algorithm you need.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; great!  now you have a place to start.  now just convert that theorem into a practical algorithm to work on the data that you have and you'll be done!</description>
    </item>
    <item>
      <pubDate>Wed, 07 Jan 2009 14:33:02 -0500</pubDate>
      <title>Re: urgent help in &quot; calcualting number of free independent path&quot;</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241543#620280</link>
      <author>ayman ayad</author>
      <description>hi all &lt;br&gt;
I wish you all first a wonderful day and hope everything is going great &lt;br&gt;
Let me introduce myself &lt;br&gt;
Aim   ayman Ramadan from Egypt &lt;br&gt;
I prepare my master in &quot;optimal design of pipe network&quot;&lt;br&gt;
And I was seeking a help in the matter of &lt;br&gt;
&quot;Transferring the arc-node adjacency matrix into node- arc connectivity matrix&quot;&lt;br&gt;
&lt;br&gt;
For example &lt;br&gt;
A closed rectangle loop of 4 nodes A, B.C.D&lt;br&gt;
The arc-node adjacency matrix = [ 1 0 -1 0 ; 0 1 -1 0 ; 0 0 1 -1 ; -1 0 0 1]&lt;br&gt;
I have such matrix and I want to convert it into &lt;br&gt;
[0 1 0 1; 1 0 1 0; 0 1 0 1 ; 1 0 1 0]&lt;br&gt;
Can you help me with that?&lt;br&gt;
I really hope that I didn&amp;#8217;t annoy you &lt;br&gt;
&lt;br&gt;
Wish you again best &lt;br&gt;
Yours&lt;br&gt;
Ayman Ayad&lt;br&gt;
Sea_dreamer82@yahoo.com&lt;br&gt;
&lt;br&gt;
&amp;nbsp;</description>
    </item>
    <item>
      <pubDate>Mon, 20 Jul 2009 12:09:01 -0400</pubDate>
      <title>Re: urgent help in &quot; calcualting number of free independent path&quot;</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241543#666601</link>
      <author>Ray </author>
      <description>Ayman,&lt;br&gt;
&lt;br&gt;
The number of paths from one node to another can be obtained through linear graph theory.  Multiply the adjacency matrix times itself (A^2) and you will see the number of paths of length 2 between each pair of nodes ij.  Multiply the adjacency matrix by itself n times (A^n) to find the number of paths of length n between each pair of nodes ij.&lt;br&gt;
&lt;br&gt;
Ref:  &lt;a href=&quot;http://oneweb.utc.edu/~Christopher-Mawata/petersen/lesson7.htm&quot;&gt;http://oneweb.utc.edu/~Christopher-Mawata/petersen/lesson7.htm&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
Ray&lt;br&gt;
_________________&lt;br&gt;
&quot;ayman ayad&quot; &amp;lt;sea_dreamer82@yahoo.com&amp;gt; wrote in message &amp;lt;gitp09$jh2$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; i have a network &quot;water pipe netwrok &quot; &lt;br&gt;
&amp;gt; and i have the &quot;connectivity matrix &quot;  bwteen points&lt;br&gt;
&amp;gt; and i know the id of source points &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; does anyone know a file m-file or a way where i can claculate &lt;br&gt;
&amp;gt; free independent path , or number of possible paths between source points and any point in the network  &lt;br&gt;
&amp;gt; so i  can have at the end a digit equall to that number of paths ??&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; i really need that help so so so much in my Msc &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; so if anyone can help me with that i will be so greatful &lt;br&gt;
&amp;gt; also u can send me  in my e-mail  sea_dreamer82@yahoo.com</description>
    </item>
    <item>
      <pubDate>Mon, 20 Jul 2009 13:11:01 -0400</pubDate>
      <title>Re: urgent help in &quot; calcualting number of free independent path&quot;</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241543#666619</link>
      <author>Andy Eisenberg</author>
      <description>I'm not sure what the difference is between an arc-node adjacency matrix and a node-arc connectivity matrix, and I'm at work right now so I can't spend time looking this up.  But since your arc-node adjacency matrix (which seems to be your input) has -1 in it, it is not just the standard adjacency matrix of a directed graph.  So Ray's solution of raising the matrix to a power will not work.&lt;br&gt;
&lt;br&gt;
&quot;Ray &quot; &amp;lt;removethis_ray@aarden.us&amp;gt; wrote in message &amp;lt;h41mot$gkq$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Ayman,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; The number of paths from one node to another can be obtained through linear graph theory.  Multiply the adjacency matrix times itself (A^2) and you will see the number of paths of length 2 between each pair of nodes ij.  Multiply the adjacency matrix by itself n times (A^n) to find the number of paths of length n between each pair of nodes ij.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Ref:  &lt;a href=&quot;http://oneweb.utc.edu/~Christopher-Mawata/petersen/lesson7.htm&quot;&gt;http://oneweb.utc.edu/~Christopher-Mawata/petersen/lesson7.htm&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Ray&lt;br&gt;
&amp;gt; _________________&lt;br&gt;
&amp;gt; &quot;ayman ayad&quot; &amp;lt;sea_dreamer82@yahoo.com&amp;gt; wrote in message &amp;lt;gitp09$jh2$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; i have a network &quot;water pipe netwrok &quot; &lt;br&gt;
&amp;gt; &amp;gt; and i have the &quot;connectivity matrix &quot;  bwteen points&lt;br&gt;
&amp;gt; &amp;gt; and i know the id of source points &lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; does anyone know a file m-file or a way where i can claculate &lt;br&gt;
&amp;gt; &amp;gt; free independent path , or number of possible paths between source points and any point in the network  &lt;br&gt;
&amp;gt; &amp;gt; so i  can have at the end a digit equall to that number of paths ??&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; i really need that help so so so much in my Msc &lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; so if anyone can help me with that i will be so greatful &lt;br&gt;
&amp;gt; &amp;gt; also u can send me  in my e-mail  sea_dreamer82@yahoo.com</description>
    </item>
  </channel>
</rss>

