Enumerable
01 Syntax
Microsoft.VisualBasic.ComponentModel.Algorithm.BinaryTree.Enumerable
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| 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
PopulateSequence``2(BinaryTree(Of ``0, ``1))
Populate an ASC sortted sequence from this binary tree
left -> me -> rightRemarks
这个函数是直接将键名和对应的值取出来,如果是需要取出聚类的簇成员, 应该使用Enumerable.PopulateNodes()方法
Type Parameters
| Name | Description |
|---|---|
K | |
V |
Parameters
| Name | Type | Description |
|---|---|---|
tree | BinaryTree(Of ``0, ``1) | - |
PopulateNodes``2(BinaryTree(Of ``0, ``1))
将一个给定的二叉树对象转换为一个数组序列
Type Parameters
| Name | Description |
|---|---|
K | |
V |
Parameters
| Name | Type | Description |
|---|---|---|
tree | BinaryTree(Of ``0, ``1) | - |
Returns
current -> right -> left
Values``2(BinaryTree(Of ``0, ``1))
Get all value property from the childs in this given node
Type Parameters
| Name | Description |
|---|---|
K | |
V |
Parameters
| Name | Type | Description |
|---|---|---|
tree | BinaryTree(Of ``0, ``1) | - |
GetNodeCounts(BinaryTree(Of K, V))
PopulateSequence(BinaryTree(Of K, V))
PopulateNodes(BinaryTree(Of K, V))
Values(BinaryTree(Of K, V))