h_constrained_gravity: h_constrained gravity

Description Usage Arguments Value Author(s)

Description

Constrained gravity model

Usage

1
2
h_constrained_gravity(E, Si = 1, Sj = 1, beta, C, c, gammas, g,
  margin = 1)

Arguments

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)

Value

a scalar

Author(s)

Daniel Knitter <knitter@geographie.uni-kiel.de>

Joe Roe <jwg983@hum.ku.dk>

Ray Rivers <r.rivers@imperial.ac.uk>


CRC1266-A2/moin documentation built on May 7, 2019, 8:56 p.m.