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.setter Undocumented
Method intention.setter Undocumented
Method purchased_pot.setter Undocumented
Property community Community this buyer belongs to.
Property intention Pot this buyer intends to buy next time.
Property intention_history Buyer's history of intended purchases
Property name Community this buyer belongs to.
Property purchase_history Buyer's history of purchases
Property purchased_pot Pot this buyer most recently purchased.
Instance Variable _community Undocumented
Instance Variable _intention Undocumented
Instance Variable _intention_history Undocumented
Instance Variable _name Undocumented
Instance Variable _purchase_history Undocumented
Instance Variable _purchased_pot Undocumented
def __init__(self, intention, purchased_pot, community, name):

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
intentionthe item the buyer intends to purchase in the next epoch
purchased_potthe item the buyer most recently purchased
communitythe community to which the buyer belongs
namename assigned to ID buyer in later analysis
def __str__(self):

Undocumented

@community.setter
def community(self, new_community):

Undocumented

@intention.setter
def intention(self, new_intention):

Undocumented

@purchased_pot.setter
def purchased_pot(self, new_pot):

Undocumented

@property
community =

Community this buyer belongs to.

@property
intention =

Pot this buyer intends to buy next time.

@property
intention_history =

Buyer's history of intended purchases

@property
name =

Community this buyer belongs to.

@property
purchase_history =

Buyer's history of purchases

@property
purchased_pot =

Pot this buyer most recently purchased.

_community =

Undocumented

_intention =

Undocumented

_intention_history =

Undocumented

_name =

Undocumented

_purchase_history =

Undocumented

_purchased_pot =

Undocumented