Click here to Skip to main content
15,895,084 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello All,

I am trying to solve travelling salesperson problem using priority queue.

Can anybody help me how to find Bound for the matrix which is two dimwnsional array
W[i][j].
Posted
Comments
Sergey Alexandrovich Kryukov 23-Nov-11 2:05am    
Homework? What's already done? Any particular problem?
--SA

Google[^] is your friend - try doing some basic research yourself...
 
Share this answer
 
The array W[i][j] is not equivalent to a matrix; this is a jaggeed array, see:
http://en.wikipedia.org/wiki/Jagged_array[^],
http://msdn.microsoft.com/en-us/library/2s05feca.aspx[^].

"Bound for the matrix" sounds wrong. I don't think this expression makes any sense.

To represent a matrix, use W[i, j].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900