Weed 資料樹
11 個節點
本頁內容 11
加法
函數Graph-friendly numeric longest-tree addition.
加法 -> 數字的 Cad Tree
左側: 數字的 Cad Tree
右側: 數字的 Cad TreeCadTree<double> Add(CadTree<double> left, CadTree<double> right)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 左側 | 數字的 Cad Tree | — | |
| 右側 | 數字的 Cad Tree | — |
返回
| 結果 | 數字的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 資料樹
- 所屬包
- 電腦輔助設計
建立資料樹
函數Creates a tree in numeric lexicographic path order, concatenating duplicate branches in input order.
建立資料樹 -> T 的 Cad Tree
路徑: 整數陣列陣列
分支: T 陣列陣列CadTree<T> Create(int[][] paths, T[][] branches)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 路徑 | 整數陣列陣列 | — | |
| 分支 | T 陣列陣列 | — |
返回
| 結果 | T 的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 資料樹
- 所屬包
- 電腦輔助設計
展平數字
函數Graph-friendly numeric flattening into {0}.
展平數字(樹: 數字的 Cad Tree) -> 數字的 Cad Tree
CadTree<double> FlattenNumbers(CadTree<double> tree)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 樹 | 數字的 Cad Tree | — |
返回
| 結果 | 數字的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 資料樹
- 所屬包
- 電腦輔助設計
翻轉矩陣
函數Transposes a rectangular tree: item indices become branches; ragged input is rejected instead of inventing nulls.
翻轉矩陣(樹: T 的 Cad Tree) -> T 的 Cad Tree
CadTree<T> FlipMatrix(CadTree<T> tree)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 樹 | T 的 Cad Tree | — |
返回
| 結果 | T 的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 資料樹
- 所屬包
- 電腦輔助設計
翻轉數字
函數Graph-friendly rectangular numeric transpose.
翻轉數字(樹: 數字的 Cad Tree) -> 數字的 Cad Tree
CadTree<double> FlipNumbers(CadTree<double> tree)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 樹 | 數字的 Cad Tree | — |
返回
| 結果 | 數字的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 資料樹
- 所屬包
- 電腦輔助設計
升級數字為資料樹
函數Graph-friendly numeric graft, appending the item index to each source path.
升級數字為資料樹(樹: 數字的 Cad Tree) -> 數字的 Cad Tree
CadTree<double> GraftNumbers(CadTree<double> tree)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 樹 | 數字的 Cad Tree | — |
返回
| 結果 | 數字的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 資料樹
- 所屬包
- 電腦輔助設計
匹配
函數Matches two item-access trees using longest branches and longest lists. The deeper tree supplies output paths; depth ties favor the left input.
匹配 -> TResult 的 Cad Tree
左側: TLeft 的 Cad Tree
右側: TRight 的 Cad Tree
組合方式: Func<TLeft, TRight, TResult>CadTree<TResult> Match(
CadTree<TLeft> left,
CadTree<TRight> right,
Func<TLeft, TRight, TResult> combine)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 左側 | TLeft 的 Cad Tree | — | |
| 右側 | TRight 的 Cad Tree | — | |
| 組合方式 | Func<TLeft, TRight, TResult> | — |
返回
| 結果 | TResult 的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 資料樹
- 所屬包
- 電腦輔助設計
數字
函數Creates a numeric tree with sorted, merged paths.
數字(路徑: 整數陣列陣列, 分支: 數字陣列陣列) -> 數字的 Cad Tree
CadTree<double> Numbers(int[][] paths, double[][] branches)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 路徑 | 整數陣列陣列 | — | |
| 分支 | 數字陣列陣列 | — |
返回
| 結果 | 數字的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 資料樹
- 所屬包
- 電腦輔助設計
簡化
函數Removes common leading indices while retaining at least one index in each path.
簡化(樹: T 的 Cad Tree) -> T 的 Cad Tree
CadTree<T> Simplify(CadTree<T> tree)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 樹 | T 的 Cad Tree | — |
返回
| 結果 | T 的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 資料樹
- 所屬包
- 電腦輔助設計
簡化數字
函數Graph-friendly removal of common path prefixes.
簡化數字(樹: 數字的 Cad Tree) -> 數字的 Cad Tree
CadTree<double> SimplifyNumbers(CadTree<double> tree)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 樹 | 數字的 Cad Tree | — |
返回
| 結果 | 數字的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 資料樹
- 所屬包
- 電腦輔助設計
修剪路徑
函數Removes trailing path indices and merges resulting branches. Removing the entire path maps to {0}.
修剪路徑(樹: T 的 Cad Tree, 層級: 整數) -> T 的 Cad Tree
CadTree<T> TrimPaths(CadTree<T> tree, int levels = 1)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 樹 | T 的 Cad Tree | — | |
| 層級 | 整數 | 1 |
返回
| 結果 | T 的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 資料樹
- 所屬包
- 電腦輔助設計