Learn R Programming

GMSE (version 1.0.0.2)

make_utilities: Utility initialisation

Description

Initialise the utilities of the G-MSE model.

Usage

make_utilities(AGENTS, RESOURCES)

Arguments

AGENTS

The array of agents produced in the main gmse() function

RESOURCES

The resources array produced by the resource function within GMSE

Value

A three dimensional ACTION array of initialised agent (manager and stakeholder) actions of the same dimensions as the COST array in GMSE

Examples

Run this code
# NOT RUN {
ACTION <- make_utilities(AGENTS = AGENTS, RESOURCES = starting_resources);
# }

Run the code above in your browser using DataLab