Module agent

Source
Expand description

Code for reading in agent-related data from CSV files.

Modulesยง

commodity_portion ๐Ÿ”’
Code for reading the agent commodities CSV file.
cost_limit ๐Ÿ”’
Code for reading the agent cost limits CSV file.
objective ๐Ÿ”’
Code for reading the agent objectives CSV file.
search_space ๐Ÿ”’
Code for reading the agent search space CSV file.

Structsยง

AgentRaw ๐Ÿ”’
An agent in the simulation

Constantsยง

AGENT_FILE_NAME ๐Ÿ”’

Functionsยง

read_agents
Read agents info from various CSV files.
read_agents_file ๐Ÿ”’
Read agents info from the agents.csv file.
read_agents_file_from_iter ๐Ÿ”’
Read agents info from an iterator.