UndirectedGraphQ[g] 如果图 g 是一个无向图,产生 True;否则,产生 False.
检验一个图是否是无向图:
对于并非无向图的输入,UndirectedGraphQ 给出 False:
GraphQ DirectedGraphQ UndirectedEdge Graph
400+ new features, including the new Wolfram Predictive Interface, social network analysis, enterprise CDF deployment, and more »