|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.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 double |
interest
last-step interest |
protected Labor |
labor
labor owned by the firm |
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
last-step revenue |
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 initBal,
double initMort,
double initInt,
double initRev,
double initPay,
double initWage)
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 |
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 |
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 java.lang.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 revenue
protected double interest
protected double profit
protected double marginalProfit
protected double capitalCost
protected double totalCost
Constructor Detail |
---|
public Firm(double initBal, double initMort, double initInt, double initRev, double initPay, double initWage)
initBal
- initial account balanceinitMort
- initial total mortgages subaccountMethod Detail |
---|
public double getOutput()
public double getCapacity()
public double getWage()
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 |