Skip to main content
Ctrl K

Barter

A simple algorithm of barter with two interexchangeble goods.

1
mention
4
contributors

Description

A population of barters with initial amount of goods A and good B exchange each time step one unit of their most abundant good with a random partner in the opposite situation.

Interface of the Barter module

Inputs

NameTypeDescription
num-bartersintegerThe number of barters
max-initial-goodsintegerThe maximum initial number of countable goods per barter agent

Outputs

NameTypeDescription
barter populationintegerThe count of goods of type A or B (goodsA, goodsB) held per barter agent
Keywords
No keywords available
License
Not specified
</>Source code
Language
NetLogo
Modelling
agent
calculation
Module type
Algorithm
Programming
Functional
Object-oriented
Region
Global

Mentions

Contributors

IR
Iza Romanowska
CW
Colin D. Wren
SC
Stefani A. Cabtree
AA
Andreas Angourakis

Member of community

NASSA

Related software

Pedestrian random walk in NetLogo (ch2.1)

PE

A collection of methods for random walk in NetLogo, including various movement restrictions, biases, and algorithm alternatives.

Updated 1 hour ago
1 4