|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objecteos.agent.Agent
eos.agent.firm.Firm
public abstract class Firm
Parent class of all firms.
Field Summary | |
---|---|
protected double |
capacity
max output the firm could produce with the current capital and labor |
protected double |
capitalCost
cost of capital in the last step |
protected Labor |
labor
labor owned by the firm |
protected double |
loan
total loan in the last step |
protected double |
marginalProfit
marginal profit in the last step |
protected double |
output
output in the last step |
protected double |
profit
profit in the last step |
protected double |
revenue
revenue in the last step |
protected double |
totalCost
total cost in the last step |
protected double |
wage
wage (per worker) in the last step |
protected double |
wageBudget
total wage budget in the last step |
Constructor Summary | |
---|---|
Firm(double initCheckingBal,
double initSavingsBal)
Create a new firm. |
Method Summary | |
---|---|
double |
getCapacity()
Return capacity in the last step |
double |
getCapitalCost()
Return total capital cost in the last step |
double |
getLabor()
Return amount of labor owned by the firm |
double |
getLaborCost()
Return total labor cost in the last step |
double |
getLoan()
Return loan in the last step |
double |
getMarginalProfit()
Return marginal profit in the last step |
double |
getOutput()
Return output in the last step |
double |
getProfit()
Return profit in the last step |
double |
getRevenue()
Return revenue in the last step |
double |
getTotalCost()
Return total cost in the last step |
double |
getWage()
Return wage (per worker) in the last step |
Methods inherited from class eos.agent.Agent |
---|
act, die, getGood, getID, getName, isAlive |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Labor labor
protected double capacity
protected double output
protected double wageBudget
protected double wage
protected double loan
protected double revenue
protected double profit
protected double marginalProfit
protected double capitalCost
protected double totalCost
Constructor Detail |
---|
public Firm(double initCheckingBal, double initSavingsBal)
initCheckingBal
- initial checking account balanceinitSavingsBal
- intial savings account balanceMethod Detail |
---|
public double getOutput()
public double getCapacity()
public double getWage()
public double getLoan()
public double getRevenue()
public double getLabor()
public double getProfit()
public double getMarginalProfit()
public double getCapitalCost()
public double getTotalCost()
public double getLaborCost()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |