|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectart.cs.Accounting
The accounting class is the entity to which all the taxes are payed and is used to account the aggregate wealth of the simulated economy represented by the classifier system. If a message has not an owner (in other word if it has been created by the environment) its author is Accounting and the collected money go to this class's asset.
| Constructor Summary | |
Accounting()
Constructor of the class. |
|
| Method Summary | |
void |
collect(double money)
The implementing class collect the money payed by the winner of the auction to it's author. |
double |
getAsset()
Get the asset owned by the accounting (and than not owned by the classifiers) |
void |
pay(double cash)
Accounting pay money. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Accounting()
| Method Detail |
public void collect(double money)
Author
collect in interface Authormoney - Money collected.public double getAsset()
public void pay(double cash)
cash - Money payed.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||