prioritiseFLOW: Prioritise sites according to population flow

Description Usage Arguments Value Examples

Description

Prioritise sites according to population flow

Usage

1
prioritiseFLOW(network, sites, method = "igraph", plot = TRUE)

Arguments

network

adjacency network describing where birds are going

sites

network sites including latitude and longitude, and population count at each site

method

max_flow method, currently that of igraph, but will also support gurobi or lpsolve

plot

TRUE/FALSE to determine whether the output is plotted or not

Value

a list containting the prioritisation (as a list of the sites in the order they are removed), the network which was randomly generated, the tracks that were randomly generated, and the sites that were randomly generated for animals to use.

Examples

1
2
3
4
5
pop=100000
rand_net = randomNET(nsites=15,pop=pop)

# priotise sites according to flow through network
prioritiseFLOW(rand_net$network, rand_net$sites)

KiranLDA/maxflow documentation built on May 16, 2019, 11:03 a.m.