C# Class Smrf.NodeXL.Algorithms.VertexDegrees

Stores the degree metrics for one vertex.
Technically, in-degree and out-degree are valid only for directed graphs and degree is valid only for undirected graphs, but all three metrics are provided by this class anyway. Degree is the sum of in-degree and out-degree.
Inheritance: Object
ファイルを表示 Open project: 2014-sed-team3/term-project

Protected Properties

Property Type Description
m_iInDegree System.Int32
m_iOutDegree System.Int32

Public Methods

Method Description
VertexDegrees ( Int32 inDegree, Int32 outDegree ) : System

Initializes a new instance of the VertexDegrees class.

Private Methods

Method Description
AssertValid ( ) : void

Method Details

VertexDegrees() public method

Initializes a new instance of the VertexDegrees class.
public VertexDegrees ( Int32 inDegree, Int32 outDegree ) : System
inDegree System.Int32 /// The vertex's in-degree. ///
outDegree System.Int32 /// The vertex's out-degree. ///
return System

Property Details

m_iInDegree protected_oe property

protected Int32,System m_iInDegree
return System.Int32

m_iOutDegree protected_oe property

protected Int32,System m_iOutDegree
return System.Int32