EdgeTaggedGraphQ
更多信息
- EdgeTaggedGraphQ 通常用来测试图中的边是否有标注.
范例
打开所有单元 关闭所有单元基本范例 (2)
EdgeTaggedGraph[{12, 23, 31}]EdgeTaggedGraphQ[%]如果输入是没有标注的图,EdgeTaggedGraphQ 给出 False:
CompleteGraph[5]EdgeTaggedGraphQ[%]范围 (6)
EdgeTaggedGraphQ 适用于无向图:
EdgeTaggedGraphQ[[image]]EdgeTaggedGraphQ[[image]]EdgeTaggedGraphQ[[image]]EdgeTaggedGraphQ[[image]]如果不是有标注的图,EdgeTaggedGraphQ 给出 False:
EdgeTaggedGraphQ[x]EdgeTaggedGraphQ[Graph[garbage]]EdgeTaggedGraphQ 适用于大图:
g = GridGraph[{10, 10, 10, 10}];EdgeTaggedGraphQ[%] // Timing{VertexCount[g], EdgeCount[g]}属性和关系 (5)
IndexEdgeTaggedGraph 生成有标注的图:
IndexEdgeTaggedGraph[WheelGraph[5]]EdgeTaggedGraphQ[%]用 UndirectedEdge 构建有标注的无向图:
Graph[{1Overscript[, 1]2, 2Overscript[, 1]3, 3Overscript[, 1]1}]{UndirectedGraphQ[%], EdgeTaggedGraphQ[%]}用 DirectedEdge 构建有标注的有向图:
Graph[{1Overscript[, 1]2, 2Overscript[, 1]3, 3Overscript[, 1]1}]{DirectedGraphQ[%], EdgeTaggedGraphQ[%]}Graph[{12, 11, 23, 31}]{EdgeTaggedGraphQ[%], LoopFreeGraphQ[%]}EdgeTags 给出图的标注的列表:
g = IndexEdgeTaggedGraph[CompleteGraph[4]]EdgeTaggedGraphQ[g]EdgeTags[g]相关指南
-
▪
- 图的操作与修改
文本
Wolfram Research (2020),EdgeTaggedGraphQ,Wolfram 语言函数,https://reference.wolfram.com/language/ref/EdgeTaggedGraphQ.html.
CMS
Wolfram 语言. 2020. "EdgeTaggedGraphQ." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/EdgeTaggedGraphQ.html.
APA
Wolfram 语言. (2020). EdgeTaggedGraphQ. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/EdgeTaggedGraphQ.html 年
BibTeX
@misc{reference.wolfram_2026_edgetaggedgraphq, author="Wolfram Research", title="{EdgeTaggedGraphQ}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/EdgeTaggedGraphQ.html}", note=[Accessed: 09-September-2026]}
BibLaTeX
@online{reference.wolfram_2026_edgetaggedgraphq, organization={Wolfram Research}, title={EdgeTaggedGraphQ}, year={2020}, url={https://reference.wolfram.com/language/ref/EdgeTaggedGraphQ.html}, note=[Accessed: 09-September-2026]}