This document is archived and information here might be outdated. Recommended version. |
Maximum degree of a junction.
[Visual Basic .NET]
Public ReadOnly Property MaxDegree As Integer
[C#]
public int MaxDegree {get;}
[C++]
HRESULT get_MaxDegree(
System.Int32* MaxDegree
);
[C++] Parameters MaxDegree [out, retval]
MaxDegree is a parameter of type long*
The MaxDegree is the maximum number of edges connected to any given junction in the network. This property can be used to determine if there are incorrect connections within the network. For instance, in a Gas Network it is unlikely that there would ever be more than 4 edges attached to a junction. If MaxDegree returned a number greater than 4, it would indicate a problem in the network.