org.powertac.visualizer.statistical
Class FinanceDynamicData
java.lang.Object
org.powertac.visualizer.statistical.FinanceDynamicData
public class FinanceDynamicData
- extends Object
Tracks the finance data for one timeslot of a single broker.
- Author:
- Jurica Babic
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FinanceDynamicData
public FinanceDynamicData(double startingBalance,
int tsIndex)
updateProfit
public void updateProfit(double balance)
getProfit
public double getProfit()
getProfitDelta
public double getProfitDelta()
- Returns:
- profit for one timeslot
getTsIndex
public int getTsIndex()
Copyright © 2013 Power TAC. All Rights Reserved.