manager: Manager model

View source: R/manager.R

managerR Documentation

Manager model

Description

A model of manager decisions for a single time step. Managers set costs for user actions.

Usage

manager(
  RESOURCES = NULL,
  AGENTS = NULL,
  LAND = NULL,
  PARAS = NULL,
  COST = NULL,
  ACTION = NULL,
  INTERACT = NULL,
  inter_tabl = NULL,
  OBSERVATION = NULL,
  model = "IBM"
)

Arguments

RESOURCES

The resources array produced by the resource function within GMSE

AGENTS

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

LAND

The landscape array on which interactions between resources and agents occur

PARAS

The vector of parameters that hold global and dynamic parameter values used by GMSE

COST

A three dimensional array of cost values for agent (manager and stakeholder) actions

ACTION

A three dimensional array of agent (manager and stakeholder) actions

INTERACT

An interaction (Jacobian) matrix of resources & landscape layer effects

inter_tabl

Interaction table indexing types with the INTERACT matrix

OBSERVATION

The array of resource observations from the observation model, used to estimate abundance of resources

model

The type of model being applied (Currently only individual-based – i.e., 'agent-based' – models are allowed)

Value

The manager function outputs an R list that includes five separate arrays, including (1) an new RESOURCES array, (2) a new AGENTS array, (3) a new LAND array, (4) a new ACTIONS array, and a new (5) COST array, each of which might be affected by the user function. The new arrays can then be read back into the broader GMSE function, thereby affecting the input into the user, resource, and observation models.

Examples

## Not run: 
MANAGER_OUT <- run_manage(RESOURCE_c = RESOURCES, LANDSCAPE_c = LAND, 
PARAMETERS_c = PARAS, AGENT_c = AGENTS, COST_c = COST, ACTION_c = ACTION, 
JACOBIAN_c = INTERACT, INTERACT_c = inter_tabl, OBSERVATION_c = OBSERVATION);

## End(Not run)

GMSE documentation built on June 16, 2022, 9:05 a.m.