|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.powertac.common.msg.DistributionReport
public class DistributionReport
Reports total consumption and total production in kwh across all customers in a given timeslot. These are absolute (positive) values.
| Constructor Summary | |
|---|---|
DistributionReport()
Constructed empty. |
|
| Method Summary | |
|---|---|
void |
addConsumption(double kwh)
Adds to the total consumption. |
void |
addProduction(double kwh)
Adds to production |
double |
getTotalConsumption()
|
double |
getTotalProduction()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DistributionReport()
| Method Detail |
|---|
public void addConsumption(double kwh)
public double getTotalConsumption()
public void addProduction(double kwh)
public double getTotalProduction()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||