NamedSparseMatrix
01 Syntax
Microsoft.VisualBasic.Math.Matrix.NamedSparseMatrix
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| ContainsNode | 1 | 检查指定的节点ID是否存在于矩阵维度中 |
| CheckElement | 1 | Check of the edge connection is existsed inside this matrix? |
| GetDirectedValue | 1 | |
| SetValue | 1 | |
| ToString | 1 |
03 Properties
04 Fields
05 Members
ContainsNode(
String)检查指定的节点ID是否存在于矩阵维度中
CheckElement(
String, String)Check of the edge connection is existsed inside this matrix?
Parameters
| Name | Type | Description |
|---|---|---|
i | String | - |
j | String | - |
Returns
检查指定的边 (i -> j) 是否显式定义(非零值或在字典中存在键)
data
使用 Dictionary 存储稀疏数据
names
维护 ID 到索引的映射列表
hash
快速查找 ID 是否存在
Value
Dim
GetDirectedValue(
String, String)SetValue(
String, String, Double)ToString()