Function
Static Public Summary | ||
public |
agentRegister(obj: Object) register new types of (customized) agents in AgentFactoryWarehouse for use in simulations |
Static Public
public agentRegister(obj: Object) source
import {agentRegister} from 'single-market-robot-simulator/src/index.js'
register new types of (customized) agents in AgentFactoryWarehouse for use in simulations
Params:
Name | Type | Attribute | Description |
obj | Object | An object with agent type names for keys and constructor(options) functions for values |