Package | Description |
---|---|
org.powertac.common |
Power TAC domain types, shared between simulation server and brokers.
|
Modifier and Type | Method and Description |
---|---|
TariffTransaction.Type |
TariffTransaction.getTxType() |
static TariffTransaction.Type |
TariffTransaction.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TariffTransaction.Type[] |
TariffTransaction.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
TariffTransaction(Broker broker,
int when,
TariffTransaction.Type txType,
TariffSpecification spec,
CustomerInfo customer,
int customerCount,
double kWh,
double charge)
Deprecated.
|
TariffTransaction(Broker broker,
int when,
TariffTransaction.Type txType,
TariffSpecification spec,
CustomerInfo customer,
int customerCount,
double kWh,
double charge,
boolean regulation)
Creates a new TariffTransaction for broker of type txType against
a particular tariff spec and customer.
|
Copyright © 2019 Power TAC. All rights reserved.