Skip to content

Links counting

Abstract

TODO

# SpeciesInteractionNetworks.linksFunction.

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.

source

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)

source

# SpeciesInteractionNetworks.connectanceFunction.

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

Martinez (1992)

source

# SpeciesInteractionNetworks.linkagedensityFunction.

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).

source

Variances for probabilistic networks

# SpeciesInteractionNetworks.links_varianceFunction.

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)

source

# SpeciesInteractionNetworks.connectance_varianceFunction.

connectance_variance(N::SpeciesInteractionNetwork{<:Partiteness, <:Probabilistic})

See also connectance.

References

Poisot, Cirtwill, Cazelles, Gravel, Fortin and Stouffer (2015)

source

# SpeciesInteractionNetworks.linkagedensity_varianceFunction.

linkagedensity_variance(N::SpeciesInteractionNetwork{<:Partiteness, <:Probabilistic})

See also linkagedensity_variance.

References

Poisot, Cirtwill, Cazelles, Gravel, Fortin and Stouffer (2015)

source