h_simple_gravity: h_simple_gravity

Description Usage Arguments Value Author(s)

Description

Simple gravity model

Usage

1
h_simple_gravity(E, Si = 1, Sj = 1, f, alpha, beta, C, c)

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

f

a scalar giving the general systems constrained

alpha

lagrange multiplier

beta

lagrange multiplier

C

distance matrix

c

distance constraining cost of the system

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.