class documentation
Buyers are the primary agents in network models of marketplaces. Buyers keep track of their purchase history, their currently assigned item, and their intention on the next iteration of the market.
Although the variable is labeled for the context of ancient ceramic marketspaces, the implementation is general. The items available for purchase in the marketspace are set in the `assemblage` variable of the algorithm initialization methods.
| Method | __init__ |
Creates a new buyer to be added to the marketspace. Note that buyers are created with fresh intention and purchase histories; on instantiation, the buyer histories contain only the intention and purchased_pot set in the constructor. |
| Method | __str__ |
Undocumented |
| Method | community |
Undocumented |
| Method | intention |
Undocumented |
| Method | purchased |
Undocumented |
| Property | community |
Community this buyer belongs to. |
| Property | intention |
Pot this buyer intends to buy next time. |
| Property | intention |
Buyer's history of intended purchases |
| Property | name |
Community this buyer belongs to. |
| Property | purchase |
Buyer's history of purchases |
| Property | purchased |
Pot this buyer most recently purchased. |
| Instance Variable | _community |
Undocumented |
| Instance Variable | _intention |
Undocumented |
| Instance Variable | _intention |
Undocumented |
| Instance Variable | _name |
Undocumented |
| Instance Variable | _purchase |
Undocumented |
| Instance Variable | _purchased |
Undocumented |
Creates a new buyer to be added to the marketspace. Note that buyers are created with fresh intention and purchase histories; on instantiation, the buyer histories contain only the intention and purchased_pot set in the constructor.
| Parameters | |
| intention | the item the buyer intends to purchase in the next epoch |
| purchased | the item the buyer most recently purchased |
| community | the community to which the buyer belongs |
| name | name assigned to ID buyer in later analysis |