Network Methods

Comuna.NET

Network Methods

The Network type exposes the following members.

Methods
  NameDescription
Public methodAddEdge
Adds a new Connection to the network.
Public methodAddEdgeRange (Inherited from UndirectedGraphUInt32, Connection.)
Public methodAddVertex
Adds a new node to the network.
Public methodAddVertexRange (Inherited from UndirectedGraphUInt32, Connection.)
Public methodAddVerticesAndEdge (Inherited from UndirectedGraphUInt32, Connection.)
Public methodAddVerticesAndEdgeRange (Inherited from UndirectedGraphUInt32, Connection.)
Public methodAdjacentDegree (Inherited from UndirectedGraphUInt32, Connection.)
Public methodAdjacentEdge (Inherited from UndirectedGraphUInt32, Connection.)
Public methodAdjacentEdges (Inherited from UndirectedGraphUInt32, Connection.)
Public methodClear
Removes all nodes and connections from this network.
Public methodClearAdjacentEdges (Inherited from UndirectedGraphUInt32, Connection.)
Public methodClearConnections
Removes all connections from this network.
Public methodClearNodes
Removes all nodes from this network.
Public methodContainsEdge(UTP) (Inherited from UndirectedGraphUInt32, Connection.)
Public methodContainsEdge(UTP, UTP) (Inherited from UndirectedGraphUInt32, Connection.)
Public methodContainsVertex (Inherited from UndirectedGraphUInt32, Connection.)
Public methodDispose
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodIsAdjacentEdgesEmpty (Inherited from UndirectedGraphUInt32, Connection.)
Public methodStatic memberLoadFromCsv
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.
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodOnEdgeAdded (Inherited from UndirectedGraphUInt32, Connection.)
Protected methodOnEdgeRemoved (Inherited from UndirectedGraphUInt32, Connection.)
Protected methodOnVertexAdded (Inherited from UndirectedGraphUInt32, Connection.)
Protected methodOnVertexRemoved (Inherited from UndirectedGraphUInt32, Connection.)
Public methodRemoveAdjacentEdgeIf (Inherited from UndirectedGraphUInt32, Connection.)
Public methodRemoveEdge
Removes the given Connection from the network and updates weights.
Public methodRemoveEdgeIf (Inherited from UndirectedGraphUInt32, Connection.)
Public methodRemoveEdges (Inherited from UndirectedGraphUInt32, Connection.)
Public methodRemoveVertex
Removes the given node (ID) from the network and updates weights.
Public methodRemoveVertexIf (Inherited from UndirectedGraphUInt32, Connection.)
Public methodSaveToCsv
Writes the network's edge information to a given CSV (comma-separated values) file. The format is 'source_node, target_node, weight]'.
Public methodToString (Overrides ObjectToString.)
Public methodTrimEdgeExcess (Inherited from UndirectedGraphUInt32, Connection.)
Public methodTryGetEdge (Inherited from UndirectedGraphUInt32, Connection.)
Top
See Also