|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteos.bank.Bank.Account
public static class Bank.Account
An account of an agent
Field Summary | |
---|---|
double |
balance
current balance in account |
double |
interest
last-step interest, reset this to zero after each step? .. |
double |
mortgages
current total mortgage loan balances of owner of the account this is total of initial loans minus mortgage payments of principle already made |
double |
payments
last-step payments, reset this to zero after each step? .. |
double |
revenue
per-step revenue, reset this to zero after each step in updateSubAccounts() |
double |
savedInterest
previous interest, saved in updateSubAccounts() |
double |
savedRevenue
previous revenue, saved in updateSubAccounts() |
double |
savedWage
previous wage, saved in updateSubAccounts() |
double |
smoothedBalance
corresponding last-step smoothed values |
double |
smoothedInterest
|
double |
smoothedMortgages
|
double |
smoothedPayments
|
double |
smoothedRevenue
|
double |
smoothedWage
|
double |
wage
last-step wage (for laborers), reset this after each step? .. |
Constructor Summary | |
---|---|
Bank.Account(double initBal,
double initMort,
double initInt,
double initRev,
double initPay,
double initWage)
Create a new account with initial balances |
Method Summary | |
---|---|
double |
getBalance()
Return balance |
double |
getMortgages()
Return mortgages |
double |
getPayments()
Return payments this step |
double |
getSmoothedRevenue()
Return per-account smoothed revenue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public double balance
public double mortgages
public double interest
public double revenue
public double savedRevenue
public double savedInterest
public double savedWage
public double payments
public double wage
public double smoothedBalance
public double smoothedMortgages
public double smoothedInterest
public double smoothedRevenue
public double smoothedPayments
public double smoothedWage
Constructor Detail |
---|
public Bank.Account(double initBal, double initMort, double initInt, double initRev, double initPay, double initWage)
Method Detail |
---|
public double getBalance()
public double getMortgages()
public double getPayments()
public double getSmoothedRevenue()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |