TreeChildren

TreeChildren[tree]

提取 Tree 对象 tree 的根的孩子.

更多信息

范例

打开所有单元关闭所有单元

基本范例  (1)

提取树的孩子子树:

属性和关系  (4)

TreeChildren[Tree[data,subtrees]] 给出 subtrees:

TreeChildren[Tree[data,{}]] 给出 {}:

TreeChildren[Tree[data,None]] 给出 None:

TreeChildren[tree] 给出 None 时,RootTree[tree] 给出 Tree[TreeData[tree],None]

TreeChildren[tree] 给出列表时,RootTree[tree] 给出 Tree[TreeData[tree],{}]

TreeChildren[tree] 给出列表时,TreeChildren[tree] 等价于 TreeLevel[tree,{1}]

Wolfram Research (2021),TreeChildren,Wolfram 语言函数,https://reference.wolfram.com/language/ref/TreeChildren.html (更新于 2022 年).

文本

Wolfram Research (2021),TreeChildren,Wolfram 语言函数,https://reference.wolfram.com/language/ref/TreeChildren.html (更新于 2022 年).

CMS

Wolfram 语言. 2021. "TreeChildren." Wolfram 语言与系统参考资料中心. Wolfram Research. 最新版本 2022. https://reference.wolfram.com/language/ref/TreeChildren.html.

APA

Wolfram 语言. (2021). TreeChildren. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/TreeChildren.html 年

BibTeX

@misc{reference.wolfram_2024_treechildren, author="Wolfram Research", title="{TreeChildren}", year="2022", howpublished="\url{https://reference.wolfram.com/language/ref/TreeChildren.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_treechildren, organization={Wolfram Research}, title={TreeChildren}, year={2022}, url={https://reference.wolfram.com/language/ref/TreeChildren.html}, note=[Accessed: 22-November-2024 ]}