It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center
                            
                        
                    
                
                                已关闭8年。
            
                    
过去几天,我在该主题上进行了很多搜索,但我不明白如何在没有权重的情况下制作无向图。谁能告诉我应该使用哪种结构以及简单的算法?提前致谢!!!

最佳答案

没有任何特定要求可以迫使您对边缘进行加权。您的邻接矩阵可能具有二进制条目1-0或true-false,以指定节点之间的连接。所有图形算法均照常应用。

关于图形的非常有用的讲座:http://www.youtube.com/watch?v=ylWAB6CMYiY

09-28 09:03