Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Calculating Adjacent matrix
kitten last edited by
hi to every one
i use this code to draw a graph
now i want to calculate adjacent matrix in calculating function i wrote in my mainwindow class.
do you have any idea ?
how can i do it?
can you explain me this code more because i don't write it , i was changing it a little to create more than one line
thanks a lot
andre last edited by
Sorry, this is not the place to ask for explanations on code you found somewhere on the web. How about asking the author of that code?
For general information on how to calculate an adjacency matrix, I'd like to refer you to the math section of your nearest university library, the almighty interweb or I'd like to suggest you simply use the Boost::graph library.