org.powertac.common
Class CashPosition
java.lang.Object
org.powertac.common.BrokerTransaction
org.powertac.common.CashPosition
public class CashPosition
- extends BrokerTransaction
A CashPosition domain instance represents the current state of
a broker's cash account. An new CashPosition is sent to brokers
during each timeslot. This is not public information.
- Version:
- 1.1 - 02/27/2011
- Author:
- Carsten Block, David Dauer
|
Method Summary |
double |
getBalance()
Returns the balance in the account at the time this CashPosition was
generated. |
String |
toString()
|
CashPosition
public CashPosition(Broker broker,
double balance,
int timeslot)
getBalance
public double getBalance()
- Returns the balance in the account at the time this CashPosition was
generated.
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013. All Rights Reserved.