eos.market
Class LaborMarket

java.lang.Object
  extended by eos.market.Market
      extended by eos.market.LaborMarket

public class LaborMarket
extends Market

A labor market


Field Summary
 
Fields inherited from class eos.market.Market
good
 
Constructor Summary
LaborMarket()
          Create a new labor market
 
Method Summary
 void addEmployee(Laborer laborer)
          Add an employee to the market
 void addEmployer(Firm firm, Labor labor, double wageBudget)
          Add an employer to the market
 void clear()
          Clear the market.
 
Methods inherited from class eos.market.Market
getGood
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LaborMarket

public LaborMarket()
Create a new labor market

Method Detail

addEmployer

public void addEmployer(Firm firm,
                        Labor labor,
                        double wageBudget)
Add an employer to the market

Parameters:
firm -

labor - a reference to the labor good owned by firm
wageBudget - total wage budget of firm

addEmployee

public void addEmployee(Laborer laborer)
Add an employee to the market

Parameters:
laborer -

clear

public void clear()
Clear the market.

Specified by:
clear in class Market