Description Usage Arguments Value Author(s)
Double constrained gravity model
1 2  | h_double_constrained_gravity(E, Si = 1, Sj = 1, beta, C, c, in_gammas,
  in_g, out_gammas, out_g)
 | 
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  | 
in_gammas | 
 lagrange multiplier vector  | 
in_g | 
 vector of inflows (rows)  | 
out_gammas | 
 lagrange multiplier vector  | 
out_g | 
 vector of outflows (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.