org.powertac.visualizer.statistical
Class DynamicData

java.lang.Object
  extended by org.powertac.visualizer.statistical.DynamicData
Direct Known Subclasses:
SingleTimeslotWholesaleData

public class DynamicData
extends Object

Data for one timeslot from broker's perspective.

Author:
Jurica Babic

Constructor Summary
DynamicData(int tsIndex, double energy, double profit)
           
 
Method Summary
 double getEnergy()
           
 double getEnergyDelta()
           
 double getProfit()
           
 double getProfitDelta()
           
 int getTsIndex()
           
 void setEnergy(double energy)
           
 void setProfit(double profit)
           
 void update(double energy, double cash)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicData

public DynamicData(int tsIndex,
                   double energy,
                   double profit)
Method Detail

update

public void update(double energy,
                   double cash)

getEnergy

public double getEnergy()

getEnergyDelta

public double getEnergyDelta()

getProfit

public double getProfit()

getProfitDelta

public double getProfitDelta()

getTsIndex

public int getTsIndex()

setEnergy

public void setEnergy(double energy)

setProfit

public void setProfit(double profit)


Copyright © 2013 Power TAC. All Rights Reserved.