nuget server logo nuget api documents
↑

API Docs / Microsoft.VisualBasic.Runtime / Enumerable

Enumerable

Full name Microsoft.VisualBasic.ComponentModel.Algorithm.BinaryTree.Enumerable Assembly Microsoft.VisualBasic.Runtime Members 7

01 Syntax

Microsoft.VisualBasic.ComponentModel.Algorithm.BinaryTree.Enumerable

02 Methods

NameOverloadsSummary
PopulateSequence 1 Populate an ASC sortted sequence from this binary tree left -> me -> right
PopulateNodes 1 将一个给定的二叉树对象转换为一个数组序列
Values 1 Get all value property from the childs in this given node
GetNodeCounts 1
PopulateSequence 1
PopulateNodes 1
Values 1

03 Members

method PopulateSequence #
PopulateSequence``2(BinaryTree(Of ``0, ``1))

Populate an ASC sortted sequence from this binary tree

 left -> me -> right
Remarks

这个函数是直接将键名和对应的值取出来,如果是需要取出聚类的簇成员, 应该使用Enumerable.PopulateNodes()方法

Type Parameters
NameDescription
K
V
Parameters
NameTypeDescription
treeBinaryTree(Of ``0, ``1)

-

method PopulateNodes #
PopulateNodes``2(BinaryTree(Of ``0, ``1))

将一个给定的二叉树对象转换为一个数组序列

Type Parameters
NameDescription
K
V
Parameters
NameTypeDescription
treeBinaryTree(Of ``0, ``1)

-

Returns

current -> right -> left

method Values #

Get all value property from the childs in this given node

Type Parameters
NameDescription
K
V
Parameters
NameTypeDescription
treeBinaryTree(Of ``0, ``1)

-

method GetNodeCounts #
GetNodeCounts(BinaryTree(Of K, V))
method PopulateSequence #
PopulateSequence(BinaryTree(Of K, V))
method PopulateNodes #
PopulateNodes(BinaryTree(Of K, V))
method Values #