Click here to Skip to main content
14,693,770 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: (untagged)
Program that Input is adjacency matrix of 10 vertices ,Output connectivity matrix of 10 vertices.

Pls i need to submit tomorrow and i have no idea on how to begin..Pls help
Posted

Perhaps you should have started earlier?

We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.

So, your question will probably be rather more specific than that, but start with Google.
Wiki explains what an Adjacency matrix[^] is, but Wolfram Alpha[^] says :
"The adjacency matrix, sometimes also called the connection matrix, of a..."
So you need to look at your question in detail to work out what kind of transformation you should be applying. We can't code it for you (and since it's your homework wouldn't do so anyway!)

Try it yourself, you may find it is not as difficult as you think!
   
what does this means : #define MAX 20
   

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