dalicious ~master (2022-03-10T20:55:15.5110933)
Dub
Repo
Graph.degree
dalicious
math
Graph
Get the degree of node
n
.
struct
Graph
(Node, Weight = void, Flag!"isDirected" isDirected = No.isDirected, EdgePayload = void)
const nothrow pure
static if
(!(
isDirected
))
size_t
degree
(
Node
n
)
Meta
Source
See Implementation
dalicious
math
Graph
constructors
this
functions
adjacencyList
allDegrees
allIncidentEdges
bulkAddForce
degree
forceAdd
get
has
inDegree
inEdges
incidentEdges
indexOf
opBinaryRight
opOpAssign
outDegree
outEdges
replaceEdge
postblits
this(this)
properties
edges
nodes
static functions
edge
groupByNodes
orderByNodes
static variables
hasEdgePayload
isWeighted
structs
ConflictStrategy
DegreesCache
Edge
IncidentEdgesCache
variables
_edges
_nodes
Get the degree of node n.