PathGraphQ[g] 如果图 g 是一个路径图,则给出 True;否则,给出 False.
检验一个图是否是路径图:
顶点度至多为2:
完全图不是一个路径图:
顶点度大于2:
Graph DirectedGraph TreeGraph PathGraph ConnectedGraphQ LoopFreeGraphQ TreeGraphQ
400+ new features, including the new Wolfram Predictive Interface, social network analysis, enterprise CDF deployment, and more »