Description Usage Arguments Value Author(s)
Constrained gravity model
1 2 | h_constrained_gravity(E, Si = 1, Sj = 1, beta, C, c, gammas, g,
margin = 1)
|
E |
a matrix of random values (to be "optimized" by the Hamiltonian) |
Si |
a vectory of node attributes, e.g. carrying capacity or population |
Sj |
a vectory of node attributes, e.g. carrying capacity or population |
beta |
lagrange multiplier |
C |
distance matrix |
c |
distance constraining cost of the system |
gammas |
lagrange multiplier vector |
g |
constraining vector |
margin |
constraining dimension (either sum of rows or columns) |
a scalar
Daniel Knitter <knitter@geographie.uni-kiel.de>
Joe Roe <jwg983@hum.ku.dk>
Ray Rivers <r.rivers@imperial.ac.uk>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.