Skip to contents

All functions

activity_driven_temporalnetwork()
Activity-driven network model of Cai, Nie & Holme (2024).
acyclic_network()
Create an acyclic network
adjacencylist_network()
Create a network from an adjacency list
adjacencylist_weightednetwork()
Create a network from an adjacency list
barabasialbert_network()
Create an Barabasi-Albert network
brownian_proximity_temporalnetwork()
Create a Brownian proximity network
configmodel_clustered_network()
Create an network with the specified node degrees and clustering
configmodel_network()
Create an network with the specified node degrees
cubiclattice2d_network() cubiclattice3d_network() cubiclattice4d_network() cubiclattice5d_network() cubiclattice6d_network() cubiclattice7d_network() cubiclattice8d_network()
Create an cubic lattice
empirical_contact_temporalnetwork()
Empirical temporal network comprising short contacts between nodes
empirical_network()
Creates a network for an adjacency list stored in a file
empirical_weightednetwork()
Creates a weighted network for an adjacency list stored in a file
erdos_renyi_network() erdos_reyni_network()
Create a Erdös-Rényi network
erdos_renyi_temporalnetwork()
Create a temporal Erdös-Rényi network
erdos_renyi_weightednetwork()
Create a weighted Erdös-Rényi network
fully_connected_network()
Create a fully-connected network
network_is_undirected() network_is_simple() network_is_weighted() network_is_temporal() network_size() network_outdegree() network_neighbour() network_neighbour_weight() network_adjacencylist() weighted_network_adjacencylist() network_bounds() network_coordinates()
Querying properties of networks
network_reproduction_matrix()
Computes the reproduction matrix \(M\), reproduction number \(R\), and other statistics related to these quantites.
network_types
Creating networks
packaged_empirical_network()
Downloads a packages empirical network and returns the file path
simulation()
Create a simulation
simulation_transmissiontime() simulation_resettime() simulation_network() simulation_graph() simulation_options() simulation_isinfected() simulation_ninfected() simulation_addinfections()
Running simulations and querying their state and properties
simulation_run()
Runs a simulation until a stopping condition occurs
simulation_step()
Outdated version of simulation_run
sirx_temporalnetwork()
Network SIRX model
exponential_time() lognormal_time() gamma_time() weibull_time() polynomial_rate_time() deterministic_time()
Creating time distributions
time_sample() time_density() time_hazardrate() time_survivalprobability() time_survivalquantile()
Functions that operate on transmission/recovery/reset time distributions
userdefined_time()
User-defined time distributions
wattsstrogatz_network()
Create an Watts-Strogatz network