[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] cost associated with links.




Hi ns - users,

 	I have a question regarding the cost associated with the links in ns.

	Given the bandwidth and the delay of the link how is its cost determined
  in ns and what cost metric is used? Since the shortest path is based on
  the cost associated with the links, these bandwidth and delays
  characterstics of a link must be used to represent cost.

	Where in ns can i find such a conversion (bandwidth & delay to
  cost) if it exists else how does ns determines the shortest paths, does
  it simply use number of hops and assumes all links have cost 1 ?

 	Please give me some pointers in this area .

Thanks,
Sincerely,
Abrar.