Network Class |
Namespace: Comuna
The Network type exposes the following members.
| Name | Description | |
|---|---|---|
| AllowParallelEdges | (Inherited from UndirectedGraphUInt32, Connection.) | |
| EdgeCapacity | (Inherited from UndirectedGraphUInt32, Connection.) | |
| EdgeCount | (Inherited from UndirectedGraphUInt32, Connection.) | |
| EdgeEqualityComparer | (Inherited from UndirectedGraphUInt32, Connection.) | |
| Edges | (Inherited from UndirectedGraphUInt32, Connection.) | |
| IsDirected | (Inherited from UndirectedGraphUInt32, Connection.) | |
| IsEdgesEmpty | (Inherited from UndirectedGraphUInt32, Connection.) | |
| IsVerticesEmpty | (Inherited from UndirectedGraphUInt32, Connection.) | |
| TotalWeight |
Gets the total weight associated with all connections in this network.
| |
| VertexCount | (Inherited from UndirectedGraphUInt32, Connection.) | |
| Vertices | (Inherited from UndirectedGraphUInt32, Connection.) | |
| Weights |
Gets the weights associated with each node in this network.
|
| Name | Description | |
|---|---|---|
| AddEdge |
Adds a new Connection to the network.
| |
| AddEdgeRange | (Inherited from UndirectedGraphUInt32, Connection.) | |
| AddVertex |
Adds a new node to the network.
| |
| AddVertexRange | (Inherited from UndirectedGraphUInt32, Connection.) | |
| AddVerticesAndEdge | (Inherited from UndirectedGraphUInt32, Connection.) | |
| AddVerticesAndEdgeRange | (Inherited from UndirectedGraphUInt32, Connection.) | |
| AdjacentDegree | (Inherited from UndirectedGraphUInt32, Connection.) | |
| AdjacentEdge | (Inherited from UndirectedGraphUInt32, Connection.) | |
| AdjacentEdges | (Inherited from UndirectedGraphUInt32, Connection.) | |
| Clear |
Removes all nodes and connections from this network.
| |
| ClearAdjacentEdges | (Inherited from UndirectedGraphUInt32, Connection.) | |
| ClearConnections |
Removes all connections from this network.
| |
| ClearNodes |
Removes all nodes from this network.
| |
| ContainsEdge(UTP) | (Inherited from UndirectedGraphUInt32, Connection.) | |
| ContainsEdge(UTP, UTP) | (Inherited from UndirectedGraphUInt32, Connection.) | |
| ContainsVertex | (Inherited from UndirectedGraphUInt32, Connection.) | |
| Dispose | Releases all resources used by the Network | |
| Equals | (Inherited from Object.) | |
| Finalize | (Inherited from Object.) | |
| GetHashCode | (Inherited from Object.) | |
| GetType | (Inherited from Object.) | |
| IsAdjacentEdgesEmpty | (Inherited from UndirectedGraphUInt32, Connection.) | |
| LoadFromCsv |
Creates a new Network by reading the edge information stored in the given CSV (comma-separated
values) file.
The format is 'source_node, target_node [, weight]'. If not provided, weight of the edge is considered to be 1.
| |
| MemberwiseClone | (Inherited from Object.) | |
| OnEdgeAdded | (Inherited from UndirectedGraphUInt32, Connection.) | |
| OnEdgeRemoved | (Inherited from UndirectedGraphUInt32, Connection.) | |
| OnVertexAdded | (Inherited from UndirectedGraphUInt32, Connection.) | |
| OnVertexRemoved | (Inherited from UndirectedGraphUInt32, Connection.) | |
| RemoveAdjacentEdgeIf | (Inherited from UndirectedGraphUInt32, Connection.) | |
| RemoveEdge |
Removes the given Connection from the network and updates weights.
| |
| RemoveEdgeIf | (Inherited from UndirectedGraphUInt32, Connection.) | |
| RemoveEdges | (Inherited from UndirectedGraphUInt32, Connection.) | |
| RemoveVertex |
Removes the given node (ID) from the network and updates weights.
| |
| RemoveVertexIf | (Inherited from UndirectedGraphUInt32, Connection.) | |
| SaveToCsv |
Writes the network's edge information to a given CSV (comma-separated values) file.
The format is 'source_node, target_node, weight]'.
| |
| ToString | (Overrides ObjectToString.) | |
| TrimEdgeExcess | (Inherited from UndirectedGraphUInt32, Connection.) | |
| TryGetEdge | (Inherited from UndirectedGraphUInt32, Connection.) |
| Name | Description | |
|---|---|---|
| Cleared | (Inherited from UndirectedGraphUInt32, Connection.) | |
| EdgeAdded | (Inherited from UndirectedGraphUInt32, Connection.) | |
| EdgeRemoved | (Inherited from UndirectedGraphUInt32, Connection.) | |
| VertexAdded | (Inherited from UndirectedGraphUInt32, Connection.) | |
| VertexRemoved | (Inherited from UndirectedGraphUInt32, Connection.) |