AdjMatrix<'NodeKey, 'NodeData, 'EdgeData> Type

A adjacency matrix storing additional node information

Constructors

Constructor Description

AdjMatrix(nodeCount)

Full Usage: AdjMatrix(nodeCount)

Parameters:
    nodeCount : int

Returns: AdjMatrix<'NodeKey, 'NodeData, 'EdgeData>
nodeCount : int
Returns: AdjMatrix<'NodeKey, 'NodeData, 'EdgeData>

AdjMatrix(edgeData, nodeData, nodekeyIndex)

Full Usage: AdjMatrix(edgeData, nodeData, nodekeyIndex)

Parameters:
    edgeData : 'EdgeData[,]
    nodeData : 'NodeData array
    nodekeyIndex : Dictionary<'NodeKey, int>

Returns: AdjMatrix<'NodeKey, 'NodeData, 'EdgeData>
edgeData : 'EdgeData[,]
nodeData : 'NodeData array
nodekeyIndex : Dictionary<'NodeKey, int>
Returns: AdjMatrix<'NodeKey, 'NodeData, 'EdgeData>

Instance members

Instance member Description

this.Bykey

Full Usage: this.Bykey

Parameters:
    sourceKey : 'NodeKey
    targetKey : 'NodeKey

Returns: 'EdgeData
sourceKey : 'NodeKey
targetKey : 'NodeKey
Returns: 'EdgeData

this[n, m]

Full Usage: this[n, m]

Parameters:
    n : int
    m : int

Returns: 'EdgeData
n : int
m : int
Returns: 'EdgeData

this.Nodes

Full Usage: this.Nodes

Returns: 'NodeData array
Returns: 'NodeData array

this.NodesByKey

Full Usage: this.NodesByKey

Parameters:
    key : 'NodeKey

Returns: 'NodeData
key : 'NodeKey
Returns: 'NodeData