Class Degrees
- Namespace
- AlgorithmsSW.Digraph
- Assembly
- AlgorithmsSW.dll
- Inheritance
-
Degrees
- Inherited Members
-
- Extension Methods
-
Constructors
Degrees(IReadOnlyDigraph)
public Degrees(IReadOnlyDigraph digraph)
Parameters
digraph
IReadOnlyDigraph
Properties
IsMap
public bool IsMap { get; }
Property Value
- bool
IsSourceless
public bool IsSourceless { get; }
Property Value
- bool
Sinks
public IEnumerable<int> Sinks { get; }
Property Value
- IEnumerable<int>
SinksCount
public int SinksCount { get; }
Property Value
- int
Sources
public IEnumerable<int> Sources { get; }
Property Value
- IEnumerable<int>
SourcesCount
public int SourcesCount { get; }
Property Value
- int
Methods
GetIndegree(int)
public int GetIndegree(int vertex)
Parameters
vertex
int
Returns
- int
GetOutdegree(int)
public int GetOutdegree(int vertex)
Parameters
vertex
int
Returns
- int