1 Replies - 4007 Views - Last Post: 13 April 2010 - 07:29 AM

#1 Crunch   User is offline

  • D.I.C Lover
  • member icon

Reputation: 139
  • View blog
  • Posts: 1,222
  • Joined: 28-July 09

Adjacency Matrix

Posted 13 April 2010 - 06:33 AM

In a weighted Adjacency Matrix representation What does 0 and infinity mean?
Is This A Good Question/Topic? 0
  • +

Replies To: Adjacency Matrix

#2 r.stiltskin   User is offline

  • D.I.C Lover
  • member icon

Reputation: 2034
  • View blog
  • Posts: 5,436
  • Joined: 27-December 05

Re: Adjacency Matrix

Posted 13 April 2010 - 07:29 AM

You're probably not going to like this answer, but I'd say they mean whatever you want them to mean. A graph is an abstraction used to model some underlying relationship, process, etc. Weights on the edges of a weighted graph only have meaning in that context. They might represent some measure of cost of traversing the edge, in which case 0 would indicate the best kind of edge in some sense and ∞ would indicate an edge of "infinite" cost, or essentially a "non-edge". But conversely, the weights might be a measure of the rate of flow that each edge can accomodate, in which case 0 would be a "non-edge" and ∞ would represent an ideal edge that can handle unlimited traffic. It all depends on what the graph is modeling.
Was This Post Helpful? 1
  • +
  • -

Page 1 of 1