Links counting
Abstract
TODO
Number of links
#
SpeciesInteractionNetworks.links
— Function.
links(N::SpeciesInteractionNetwork{<:Partiteness, <:Interactions})
The number of links in a network is defined as the number of non-zero elements in the network. For quantitative networks, this is not weighted by the intensity of each interaction.
links(N::SpeciesInteractionNetwork{<:Partiteness, <:Probabilistic})
The number of links in a probabilistic network is defined as the expected number of interactions in the network. See also links_variance
.
References
Poisot, Cirtwill, Cazelles, Gravel, Fortin and Stouffer (2015)
#
SpeciesInteractionNetworks.connectance
— Function.
connectance(N::SpeciesInteractionNetwork)
The connectance, also known as the density, of a network is defined as the ratio between the number of existing links and the number of possible links. This value is in the unit interval. For a probabilistic network, this returns the expected connectance.
References
#
SpeciesInteractionNetworks.linkagedensity
— Function.
connectance(N::SpeciesInteractionNetwork)
The linkage density of a network is the average number of interaction per species (or its expected value in the case of probabilistic networks).
Variances for probabilistic networks
#
SpeciesInteractionNetworks.links_variance
— Function.
links_variance(N::SpeciesInteractionNetwork{<:Partiteness, <:Probabilistic})
The variance in the expected number of links in a probabilistic network is defined as the sum of $p \times (1 - p)$, where $p$ is the probability of all interactions (including $p = 0$).
References
Poisot, Cirtwill, Cazelles, Gravel, Fortin and Stouffer (2015)
#
SpeciesInteractionNetworks.connectance_variance
— Function.
connectance_variance(N::SpeciesInteractionNetwork{<:Partiteness, <:Probabilistic})
See also connectance
.
References
Poisot, Cirtwill, Cazelles, Gravel, Fortin and Stouffer (2015)
#
SpeciesInteractionNetworks.linkagedensity_variance
— Function.
linkagedensity_variance(N::SpeciesInteractionNetwork{<:Partiteness, <:Probabilistic})
See also linkagedensity_variance
.
References
Poisot, Cirtwill, Cazelles, Gravel, Fortin and Stouffer (2015)