org.powertac.visualizer.statistical
Class FinanceDynamicData

java.lang.Object
  extended by org.powertac.visualizer.statistical.FinanceDynamicData

public class FinanceDynamicData
extends Object

Tracks the finance data for one timeslot of a single broker.

Author:
Jurica Babic

Constructor Summary
FinanceDynamicData(double startingBalance, int tsIndex)
           
 
Method Summary
 double getProfit()
           
 double getProfitDelta()
           
 int getTsIndex()
           
 void updateProfit(double balance)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FinanceDynamicData

public FinanceDynamicData(double startingBalance,
                          int tsIndex)
Method Detail

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.