A B C D E F G H I L M N O P R S T U V W X

A

Action - Interface in org.powertac.common
This is a simple interface intended to be implemented by anonymous classes that need to create a deferred action of some sort.
add(Broker) - Method in class org.powertac.common.repo.BrokerRepo
 
add(CustomerInfo) - Method in class org.powertac.common.repo.CustomerRepo
 
add(WeatherForecast) - Method in class org.powertac.common.repo.WeatherForecastRepo
Adds a WeatherForecast to the repo
add(WeatherReport) - Method in class org.powertac.common.repo.WeatherReportRepo
Adds a WeatherReport to the repo
addAction(Instant, TimedAction) - Method in class org.powertac.common.TimeService
Adds an action to the simulation queue, to be triggered at the specified time.
addAsk(OrderbookOrder) - Method in class org.powertac.common.Orderbook
 
addBid(OrderbookOrder) - Method in class org.powertac.common.Orderbook
 
addBroker(String) - Method in class org.powertac.common.Competition
Adds a broker to the Competition.
addConfiguration(String, String) - Method in class org.powertac.common.PluginConfig
Adds a config item to this PluginConfig.
addCustomer(CustomerInfo) - Method in class org.powertac.common.Competition
Adds a customer to the Competition.
addHourlyCharge(HourlyCharge) - Method in class org.powertac.common.Rate
Adds a new HourlyCharge to a variable rate.
addHourlyCharge(HourlyCharge, boolean) - Method in class org.powertac.common.Rate
Allows initial publication of HourlyCharge instances within the notification interval.
addHourlyCharge(HourlyCharge, long) - Method in class org.powertac.common.Tariff
Adds a new HourlyCharge to its Rate.
addMarketPosition(MarketPosition, Timeslot) - Method in class org.powertac.common.Broker
Associates a MarketPosition with a given Timeslot.
addPeriodicPayment() - Method in class org.powertac.common.Tariff
Adds periodic payments to the total cost, so realized price includes it.
addPowerType(PowerType) - Method in class org.powertac.common.CustomerInfo
Fluent setter to add PowerType flags to this CustomerInfo.
addRate(Rate) - Method in class org.powertac.common.TariffSpecification
Adds a new Rate to this tariff.
addSpecification(TariffSpecification) - Method in class org.powertac.common.repo.TariffRepo
 
addSupersedes(long) - Method in class org.powertac.common.TariffSpecification
Indicates that this tariff supersedes the tariff specified by the specId, the id of the superseded tariff.
addTariff(Tariff) - Method in class org.powertac.common.repo.TariffRepo
 
afterPropertiesSet() - Method in class org.powertac.common.XMLMessageConverter
 
allWeatherForecasts() - Method in class org.powertac.common.repo.WeatherForecastRepo
Returns a list of all the issued weather forecast up to the currentTimeslot
allWeatherReports() - Method in class org.powertac.common.repo.WeatherReportRepo
Returns a list of all the issued weather reports up to the currentTimeslot
applies() - Method in class org.powertac.common.Rate
True just in case this Rate applies at this moment, ignoring the tier.
applies(AbstractInstant) - Method in class org.powertac.common.Rate
True just in case this Rate applies at the given DateTime, ignoring the tier.
applies(double) - Method in class org.powertac.common.Rate
True just in case this Rate applies at this moment, for the indicated usage tier.
applies(double, AbstractInstant) - Method in class org.powertac.common.Rate
True just in case this Rate applies at the specified time, for the indicated usage tier.
apply(T) - Method in interface org.powertac.util.Predicate
 
asPrivileged() - Method in class org.powertac.common.PluginConfig
 

B

BalancingTransaction - Class in org.powertac.common
A BalancingTransaction instance represents the final supply/demand imbalance in the current timeslot, and the Distribution Utility's charge for this imbalance.
BalancingTransaction(Broker, Instant, double, double) - Constructor for class org.powertac.common.BalancingTransaction
 
BankTransaction - Class in org.powertac.common
Represents interest charges and payments for brokers.
BankTransaction(Broker, double, Instant) - Constructor for class org.powertac.common.BankTransaction
Constructs a new BankTransaction instance, giving it a new id.
Broker - Class in org.powertac.common
A broker instance represents a competition participant.
Broker(String) - Constructor for class org.powertac.common.Broker
Constructor for username only.
Broker(String, boolean, boolean) - Constructor for class org.powertac.common.Broker
Constructor to specify non-standard local/wholesale flags.
broker - Variable in class org.powertac.common.BrokerTransaction
Whose transaction is this?
broker - Variable in class org.powertac.common.TariffMessage
The broker originating this message
BrokerAccept - Class in org.powertac.common.msg
This message is used to signify that the broker authentication is accepted.
BrokerAccept(int) - Constructor for class org.powertac.common.msg.BrokerAccept
 
BrokerAuthentication - Class in org.powertac.common.msg
This message is used for authenticating a broker with the server.
BrokerAuthentication(Broker) - Constructor for class org.powertac.common.msg.BrokerAuthentication
Creates an instance
BrokerConverter - Class in org.powertac.common.xml
 
BrokerConverter() - Constructor for class org.powertac.common.xml.BrokerConverter
 
BrokerRepo - Class in org.powertac.common.repo
Repository for Brokers, including competitors and other market participants.
BrokerRepo() - Constructor for class org.powertac.common.repo.BrokerRepo
 
BrokerTransaction - Class in org.powertac.common
Superclass with common attributes for a number of transaction types.
BrokerTransaction(Instant, Broker) - Constructor for class org.powertac.common.BrokerTransaction
A BrokerTransaction contains a Broker and an Instant that represents the time when the transaction was posted.

C

canConvert(Class) - Method in class org.powertac.common.xml.BrokerConverter
 
canConvert(Class) - Method in class org.powertac.common.xml.CustomerConverter
 
canConvert(Class) - Method in class org.powertac.common.xml.DoubleArrayConverter
 
canConvert(Class) - Method in class org.powertac.common.xml.FullCustomerConverter
 
canConvert(Class) - Method in class org.powertac.common.xml.TariffSpecificationConverter
 
canConvert(Class) - Method in class org.powertac.common.xml.TimeslotConverter
 
CashPosition - Class in org.powertac.common
A CashPosition domain instance represents the current state of a broker's cash account.
CashPosition(Broker, double) - Constructor for class org.powertac.common.CashPosition
 
ClearedTrade - Class in org.powertac.common
A ClearedTrade instance reports public information about a specific market clearing -- clearing price and total quantity traded.
ClearedTrade(Timeslot, double, double, Instant) - Constructor for class org.powertac.common.ClearedTrade
 
compareTo(HourlyCharge) - Method in class org.powertac.common.HourlyCharge
 
compareTo(Object) - Method in class org.powertac.common.OrderbookOrder
 
Competition - Class in org.powertac.common
A competition instance represents a single PowerTAC competition and at the same time serves as the place for all competition properties that can be adjusted during competition setup (i.e.
computeTimeslotIndex(Instant) - Method in class org.powertac.common.Competition
Converts a time value to the number of timeslots since the beginning of the simulation.
count() - Method in class org.powertac.common.repo.TimeslotRepo
Returns the number of timeslots that have been successfully created.
count() - Method in class org.powertac.common.repo.WeatherForecastRepo
Returns the number of WeatherForecasts that have been successfully created.
count() - Method in class org.powertac.common.repo.WeatherReportRepo
Returns the number of weatherReports that have been successfully added.
createCustomerInfo(String, int) - Method in class org.powertac.common.repo.CustomerRepo
 
createId() - Static method in class org.powertac.common.IdGenerator
Generates a numeric ID as xA+B.
currentCompetition() - Static method in class org.powertac.common.Competition
Returns the current Competition instance.
currentTimeslot() - Method in class org.powertac.common.repo.TimeslotRepo
Note that this scheme for finding the current timeslot relies on a timeslot sequence that does not have gaps between sim start and the current time.
currentWeatherForecast() - Method in class org.powertac.common.repo.WeatherForecastRepo
Returns the current WeatherForecast
currentWeatherReport() - Method in class org.powertac.common.repo.WeatherReportRepo
Returns the current weatherReport
CustomerBootstrapData - Class in org.powertac.common.msg
This message encapsulates net power usage by timeslot for a customer instance over the bootstrap period.
CustomerBootstrapData(CustomerInfo, PowerType, double[]) - Constructor for class org.powertac.common.msg.CustomerBootstrapData
 
CustomerConverter - Class in org.powertac.common.xml
 
CustomerConverter() - Constructor for class org.powertac.common.xml.CustomerConverter
 
CustomerInfo - Class in org.powertac.common
A CustomerInfo instance represents a customer model (i.e.
CustomerInfo(String, int) - Constructor for class org.powertac.common.CustomerInfo
Creates a new CustomerInfo, with no power types set.
CustomerRepo - Class in org.powertac.common.repo
Simple repository for Customer instances.
CustomerRepo() - Constructor for class org.powertac.common.repo.CustomerRepo
 
CustomerType - Enum in org.powertac.common.enumerations
Types of customer.

D

DAY - Static variable in class org.powertac.common.TimeService
 
deposit(double) - Method in class org.powertac.common.CashPosition
Updates the balance in this account by the specified amount, returns the resulting balance.
disable() - Method in class org.powertac.common.Timeslot
 
dispatch(Object, String, Object...) - Static method in class org.powertac.util.MessageDispatcher
Dispatches a call to methodName inside target based on the type of message.
DistributionTransaction - Class in org.powertac.common
A DistributionTransaction instance represents the fee assessed by the Distribution Utility for transport of energy over its facilities during the current timeslot.
DistributionTransaction(Broker, Instant, double, double) - Constructor for class org.powertac.common.DistributionTransaction
 
Domain - Annotation Type in org.powertac.common.state
Annotation for domain classes that must record instance creation in the state log.
DomainRepo - Interface in org.powertac.common.repo
DomainRepo types need to be recycled at pre-game time.
DoubleArrayConverter - Class in org.powertac.common.xml
 
DoubleArrayConverter() - Constructor for class org.powertac.common.xml.DoubleArrayConverter
 

E

enable() - Method in class org.powertac.common.Timeslot
 
enabledTimeslots() - Method in class org.powertac.common.repo.TimeslotRepo
Returns the list of enabled timeslots, starting with the first by serial number.

F

filter(Collection<T>, Predicate<T>) - Static method in class org.powertac.util.ListTools
Filters a Collection using a Predicate, returning a List.
findActiveTariffs(PowerType) - Method in class org.powertac.common.repo.TariffRepo
 
findAllByRoleName(String) - Method in class org.powertac.common.repo.PluginConfigRepo
Returns the first config with a matching role name, if any
findAllByTimeslot(Timeslot) - Method in class org.powertac.common.repo.OrderbookRepo
 
findAllPublic() - Method in class org.powertac.common.repo.PluginConfigRepo
Returns the list of PluginConfig instances that are public information with respect to brokers.
findAllTariffs() - Method in class org.powertac.common.repo.TariffRepo
 
findById(long) - Method in class org.powertac.common.repo.BrokerRepo
 
findById(long) - Method in class org.powertac.common.repo.CustomerRepo
 
findByInstant(Instant) - Method in class org.powertac.common.repo.TimeslotRepo
Returns the timeslot (if any) corresponding to a particular Instant.
findByName(String) - Method in class org.powertac.common.repo.CustomerRepo
 
findByRoleName(String) - Method in class org.powertac.common.repo.PluginConfigRepo
Returns the first config with a matching role name, if any
findBySerialNumber(int) - Method in class org.powertac.common.repo.TimeslotRepo
Returns the timeslot (if any) with the given serial number.
findByTimeslot(Timeslot) - Method in class org.powertac.common.repo.OrderbookRepo
Returns the most recent Orderbook that has been created for the specified timeslot.
findByUsername(String) - Method in class org.powertac.common.repo.BrokerRepo
 
findFirst(Collection<T>, Predicate<T>) - Static method in class org.powertac.util.ListTools
Returns the first element of a Collection that satisfies a Predicate.
findMarketPositionByTimeslot(Timeslot) - Method in class org.powertac.common.Broker
Returns the MarketPosition associated with the given Timeslot.
findMatching(PluginConfig) - Method in class org.powertac.common.repo.PluginConfigRepo
Returns the PluginConfig instance (if any) that matches the given PluginConfig by role name and name.
findOrCreateBySerialNumber(int) - Method in class org.powertac.common.repo.TimeslotRepo
Returns the timeslot (if any) with the given serial number.
findOrCreateByUsername(String) - Method in class org.powertac.common.repo.BrokerRepo
 
findRateById(long) - Method in class org.powertac.common.repo.TariffRepo
 
findRetailBrokerNames() - Method in class org.powertac.common.repo.BrokerRepo
 
findRetailBrokers() - Method in class org.powertac.common.repo.BrokerRepo
 
findSpecificationById(long) - Method in class org.powertac.common.repo.TariffRepo
 
findSpotByTimeslot(Timeslot) - Method in class org.powertac.common.repo.OrderbookRepo
Returns the most recent orderbook with a non-null clearing price.
findTariffById(long) - Method in class org.powertac.common.repo.TariffRepo
 
findTariffsByState(Tariff.State) - Method in class org.powertac.common.repo.TariffRepo
 
findWholesaleBrokers() - Method in class org.powertac.common.repo.BrokerRepo
 
fromString(String) - Method in class org.powertac.common.xml.BrokerConverter
 
fromString(String) - Method in class org.powertac.common.xml.CustomerConverter
 
fromString(String) - Method in class org.powertac.common.xml.DoubleArrayConverter
 
fromString(String) - Method in class org.powertac.common.xml.TariffSpecificationConverter
 
fromString(String) - Method in class org.powertac.common.xml.TimeslotConverter
 
fromXML(String) - Method in class org.powertac.common.XMLMessageConverter
 
FullCustomerConverter - Class in org.powertac.common.xml
 
FullCustomerConverter() - Constructor for class org.powertac.common.xml.FullCustomerConverter
 

G

getAmount() - Method in class org.powertac.common.BankTransaction
 
getApiKey() - Method in class org.powertac.common.Broker
Returns the unique ID for this broker as a String.
getAsks() - Method in class org.powertac.common.Orderbook
The set of asks (negative energy quantities) that were submitted and did not clear, ascending sort.
getAtTime() - Method in class org.powertac.common.HourlyCharge
 
getBalance() - Method in class org.powertac.common.CashPosition
Returns the balance in the account at the time this CashPosition was generated.
getBase() - Method in class org.powertac.common.TimeService
 
getBaseInstant() - Method in class org.powertac.common.TimeService
 
getBean(String) - Static method in class org.powertac.common.spring.SpringApplicationContext
 
getBeanByType(Class) - Static method in class org.powertac.common.spring.SpringApplicationContext
 
getBids() - Method in class org.powertac.common.Orderbook
The set of bids (positive energy quantities) that were submitted and did not clear, ascending sort.
getBootstrapTimeslotCount() - Method in class org.powertac.common.Competition
Number of timeslots in the bootstrap data report for a normal sim.
getBroker() - Method in class org.powertac.common.BrokerTransaction
The Broker to whom this Transaction applies.
getBroker() - Method in class org.powertac.common.CashPosition
Returns the broker whose cash is represented.
getBroker() - Method in class org.powertac.common.MarketPosition
 
getBroker() - Method in class org.powertac.common.msg.BrokerAuthentication
 
getBroker() - Method in class org.powertac.common.msg.PauseRelease
 
getBroker() - Method in class org.powertac.common.msg.PauseRequest
 
getBroker() - Method in class org.powertac.common.msg.TariffStatus
 
getBroker() - Method in class org.powertac.common.Order
 
getBroker() - Method in class org.powertac.common.Tariff
 
getBroker() - Method in class org.powertac.common.TariffMessage
 
getBroker() - Method in class org.powertac.common.TariffSpecification
 
getBrokerQueueName() - Method in class org.powertac.common.msg.LoginResponseCmd
 
getBrokers() - Method in class org.powertac.common.Competition
The Brokers who are participating in this Competion.
getCash() - Method in class org.powertac.common.Broker
Returns the CashPosition for this broker, which is either the CashPosition supplied with the most recent call to setCash(), or a dummy CashPosition with a balance of 0.0.
getCharge() - Method in class org.powertac.common.BalancingTransaction
Returns the total charge imposed by the DU for this imbalance -- positive for credit to broker, negative for debit from broker
getCharge() - Method in class org.powertac.common.DistributionTransaction
 
getCharge() - Method in class org.powertac.common.TariffTransaction
Returns the debit (negative) or credit (positive) to the broker's money account represented by this transaction.
getClearingPrice() - Method in class org.powertac.common.Orderbook
Returns the positive price at which the market cleared.
getCloudCover() - Method in class org.powertac.common.WeatherForecastPrediction
 
getCloudCover() - Method in class org.powertac.common.WeatherReport
 
getConfiguration() - Method in class org.powertac.common.PluginConfig
 
getConfigurationValue(String) - Method in class org.powertac.common.PluginConfig
 
getCurrentDateTime() - Method in class org.powertac.common.TimeService
 
getCurrentTime() - Method in class org.powertac.common.TimeService
Returns the current time as an Instant
getCurrentTimeslot() - Method in class org.powertac.common.WeatherForecast
 
getCurrentTimeslot() - Method in class org.powertac.common.WeatherReport
 
getCustomerCount() - Method in class org.powertac.common.TariffTransaction
Number of individual customers within the customer model represented by this transaction.
getCustomerInfo() - Method in class org.powertac.common.TariffTransaction
 
getCustomerName() - Method in class org.powertac.common.msg.CustomerBootstrapData
 
getCustomers() - Method in class org.powertac.common.Competition
The list of customers (or more precisely, customer models) in the simulation environment.
getCustomerType() - Method in class org.powertac.common.CustomerInfo
Gives a "rough" classification what type of customer to expect based on the CustomerType enumeration, i.e.
getDailyBegin() - Method in class org.powertac.common.Rate
 
getDailyEnd() - Method in class org.powertac.common.Rate
 
getDateExecuted() - Method in class org.powertac.common.ClearedTrade
 
getDateExecuted() - Method in class org.powertac.common.Orderbook
The date when the market cleared.
getDeactivateTimeslotsAhead() - Method in class org.powertac.common.Competition
Number of timeslots, starting with the current timeslot, that are closed for trading.
getDescription() - Method in class org.powertac.common.Competition
Uninterpreted text that further describes the competition.
getDoubleValue(String, Double) - Method in class org.powertac.common.PluginConfig
 
getEarlyWithdrawPayment() - Method in class org.powertac.common.Tariff
Payment from customer to broker for canceling subscription before minDuration has elapsed.
getEarlyWithdrawPayment() - Method in class org.powertac.common.TariffSpecification
 
getEnabled() - Method in class org.powertac.common.msg.TimeslotUpdate
Returns the list of timeslots that are enabled for the coming
getEndInstant() - Method in class org.powertac.common.Timeslot
 
getExecutionMWh() - Method in class org.powertac.common.ClearedTrade
 
getExecutionPrice() - Method in class org.powertac.common.ClearedTrade
 
getExpectedMean() - Method in class org.powertac.common.Rate
 
getExpectedTimeslotCount() - Method in class org.powertac.common.Competition
Expected value of timeslot count for a normal sim session.
getExpiration() - Method in class org.powertac.common.Tariff
 
getExpiration() - Method in class org.powertac.common.TariffSpecification
 
getForecastTime() - Method in class org.powertac.common.WeatherForecastPrediction
 
getHourlyCharge() - Method in class org.powertac.common.msg.VariableRateUpdate
 
getHourOfDay() - Method in class org.powertac.common.TimeService
Returns the current hour-of-day
getId() - Method in class org.powertac.common.Broker
Returns the unique ID for this broker
getId() - Method in class org.powertac.common.BrokerTransaction
 
getId() - Method in class org.powertac.common.CashPosition
 
getId() - Method in class org.powertac.common.ClearedTrade
 
getId() - Method in class org.powertac.common.Competition
 
getId() - Method in class org.powertac.common.CustomerInfo
 
getId() - Method in class org.powertac.common.HourlyCharge
 
getId() - Method in class org.powertac.common.MarketPosition
 
getId() - Method in class org.powertac.common.msg.CustomerBootstrapData
 
getId() - Method in class org.powertac.common.msg.MarketBootstrapData
 
getId() - Method in class org.powertac.common.msg.TariffStatus
 
getId() - Method in class org.powertac.common.msg.TimeslotUpdate
 
getId() - Method in class org.powertac.common.Order
 
getId() - Method in class org.powertac.common.Orderbook
 
getId() - Method in class org.powertac.common.OrderbookOrder
 
getId() - Method in class org.powertac.common.PluginConfig
 
getId() - Method in class org.powertac.common.Rate
Returns the id of this Rate
getId() - Method in class org.powertac.common.Tariff
make id a synonym for specId
getId() - Method in class org.powertac.common.TariffMessage
 
getId() - Method in class org.powertac.common.TariffSpecification
 
getId() - Method in class org.powertac.common.Timeslot
 
getId() - Method in class org.powertac.common.WeatherForecast
 
getId() - Method in class org.powertac.common.WeatherForecastPrediction
 
getId() - Method in class org.powertac.common.WeatherReport
 
getInstance() - Static method in class org.powertac.common.repo.BrokerRepo
 
getIntegerValue(String, Integer) - Method in class org.powertac.common.PluginConfig
 
getIsSupersededBy() - Method in class org.powertac.common.Tariff
 
getKWh() - Method in class org.powertac.common.BalancingTransaction
Returns the total size of the imbalance in kWH, positive for surplus and negative for deficit
getKWh() - Method in class org.powertac.common.DistributionTransaction
 
getKWh() - Method in class org.powertac.common.TariffTransaction
Returns the debit (negative) or credit (positive) to the broker's energy account in the current timeslot represented by this transaction.
getLimitPrice() - Method in class org.powertac.common.Order
 
getLimitPrice() - Method in class org.powertac.common.OrderbookOrder
Returns the limit price for this unsatisfied order.
getMarketPrice() - Method in class org.powertac.common.msg.MarketBootstrapData
 
getMaxValue() - Method in class org.powertac.common.Rate
 
getMessage() - Method in class org.powertac.common.msg.TariffStatus
 
getMinDuration() - Method in class org.powertac.common.Tariff
Delegation for TariffSpecification.minDuration
getMinDuration() - Method in class org.powertac.common.TariffSpecification
 
getMinimumTimeslotCount() - Method in class org.powertac.common.Competition
Minimum number of timeslots for this competition.
getMinValue() - Method in class org.powertac.common.Rate
 
getModulo() - Method in class org.powertac.common.TimeService
 
getMWh() - Method in class org.powertac.common.MarketTransaction
 
getMwh() - Method in class org.powertac.common.msg.MarketBootstrapData
 
getMWh() - Method in class org.powertac.common.Order
 
getMWh() - Method in class org.powertac.common.OrderbookOrder
Returns the quantity of energy unsatisfied for an order.
getName() - Method in class org.powertac.common.Competition
Returns the competition name
getName() - Method in class org.powertac.common.CustomerInfo
Display name for this CustomerInfo instance.
getName() - Method in class org.powertac.common.PluginConfig
 
getNetUsage() - Method in class org.powertac.common.msg.CustomerBootstrapData
 
getNewExpiration() - Method in class org.powertac.common.msg.TariffExpire
 
getNext() - Method in class org.powertac.common.Timeslot
 
getNoticeInterval() - Method in class org.powertac.common.Rate
 
getOfferDate() - Method in class org.powertac.common.Tariff
 
getOverallBalance() - Method in class org.powertac.common.MarketPosition
 
getPassword() - Method in class org.powertac.common.msg.LoginRequestCmd
 
getPeriodicPayment() - Method in class org.powertac.common.Tariff
Flat payment per period for two-part tariffs, typically negative.
getPeriodicPayment() - Method in class org.powertac.common.TariffSpecification
 
getPopulation() - Method in class org.powertac.common.CustomerInfo
Population of the model represented by the CustomerInfo.
getPostedTime() - Method in class org.powertac.common.BrokerTransaction
When this Transaction was posted.
getPostedTime() - Method in class org.powertac.common.msg.TimeslotUpdate
 
getPowerType() - Method in class org.powertac.common.msg.CustomerBootstrapData
 
getPowerType() - Method in class org.powertac.common.Tariff
Type of power covered by this tariff
getPowerType() - Method in class org.powertac.common.TariffSpecification
 
getPowerTypes() - Method in class org.powertac.common.CustomerInfo
The types of power consumption and/or production modalities available in the customer model.
getPredictions() - Method in class org.powertac.common.WeatherForecast
 
getPrefix() - Method in class org.powertac.common.msg.BrokerAccept
 
getPrevious() - Method in class org.powertac.common.Timeslot
 
getPrice() - Method in class org.powertac.common.MarketTransaction
 
getProperty(String) - Method in class org.powertac.util.PropertiesUtil
 
getProperty(String, String) - Method in class org.powertac.util.PropertiesUtil
 
getQuantity() - Method in class org.powertac.common.BalancingTransaction
Deprecated. 
getQuantity() - Method in class org.powertac.common.DistributionTransaction
Deprecated. 
getRate() - Method in class org.powertac.common.TimeService
 
getRateHistory() - Method in class org.powertac.common.Rate
Returns the sequence of HourlyCharge instances for this Rate.
getRateId() - Method in class org.powertac.common.HourlyCharge
 
getRateId() - Method in class org.powertac.common.msg.VariableRateUpdate
 
getRates() - Method in class org.powertac.common.TariffSpecification
 
getRealizedPrice() - Method in class org.powertac.common.Tariff
Returns the actual realized price, or 0.0 if information unavailable.
getRoleName() - Method in class org.powertac.common.PluginConfig
 
getSerialNumber() - Method in class org.powertac.common.Timeslot
 
getServerAddress() - Method in class org.powertac.common.msg.LoginResponseCmd
 
getServerQueueName() - Method in class org.powertac.common.msg.LoginResponseCmd
 
getSignupPayment() - Method in class org.powertac.common.Tariff
One-time payment for subscribing to tariff, negative for payment from customer, positive for payment to customer.
getSignupPayment() - Method in class org.powertac.common.TariffSpecification
 
getSimulationBaseTime() - Method in class org.powertac.common.Competition
Start time of a sim session in the sim world.
getSimulationModulo() - Method in class org.powertac.common.Competition
Minimum value in milliseconds by which time advances in a simulation, or in other words, the size of a clock tick.
getSimulationRate() - Method in class org.powertac.common.Competition
The time-compression factor for the simulation.
getSpecId() - Method in class org.powertac.common.Tariff
 
getStart() - Method in class org.powertac.common.msg.SimResume
 
getStart() - Method in class org.powertac.common.msg.SimStart
 
getStart() - Method in class org.powertac.common.TimeService
 
getStartInstant() - Method in class org.powertac.common.Timeslot
 
getState() - Method in class org.powertac.common.Tariff
 
getStatus() - Method in class org.powertac.common.msg.LoginResponseCmd
 
getStatus() - Method in class org.powertac.common.msg.TariffStatus
 
getString(long) - Static method in class org.powertac.common.IdGenerator
Converts ID value to String as A.B.
getSupersedes() - Method in class org.powertac.common.TariffSpecification
 
getTariffId() - Method in class org.powertac.common.msg.TariffStatus
 
getTariffId() - Method in class org.powertac.common.msg.TariffUpdate
 
getTariffId() - Method in class org.powertac.common.Rate
Returns the id of the TariffSpecification to which this Rate is attached.
getTariffSpec() - Method in class org.powertac.common.Tariff
 
getTariffSpec() - Method in class org.powertac.common.TariffTransaction
 
getTariffSpecification() - Method in class org.powertac.common.Tariff
 
getTemperature() - Method in class org.powertac.common.WeatherForecastPrediction
 
getTemperature() - Method in class org.powertac.common.WeatherReport
 
getTierThreshold() - Method in class org.powertac.common.Rate
 
getTimeslot() - Method in class org.powertac.common.ClearedTrade
 
getTimeslot() - Method in class org.powertac.common.MarketPosition
 
getTimeslot() - Method in class org.powertac.common.MarketTransaction
 
getTimeslot() - Method in class org.powertac.common.Order
 
getTimeslot() - Method in class org.powertac.common.Orderbook
The timeslot in which energy commitments represented by cleared trades are due.
getTimeslotDuration() - Method in class org.powertac.common.Competition
Returns the duration of a timeslot in milliseconds real-time.
getTimeslotLength() - Method in class org.powertac.common.Competition
Returns the length of a timeslot in minutes (sim time).
getTimeslotsOpen() - Method in class org.powertac.common.Competition
Number of timeslots simultaneously open for trading.
getTotalCost() - Method in class org.powertac.common.Tariff
 
getTotalUsage() - Method in class org.powertac.common.Tariff
 
getTxType() - Method in class org.powertac.common.TariffTransaction
 
getUpdateId() - Method in class org.powertac.common.msg.TariffStatus
 
getUsageCharge(double, double, boolean) - Method in class org.powertac.common.Tariff
Returns the usage charge for a single customer in the current timeslot.
getUsageCharge(Instant, double, double) - Method in class org.powertac.common.Tariff
Returns the usage charge for a single customer using an amount of energy at some time in the past or future.
getUsername() - Method in class org.powertac.common.Broker
Returns the username for this Broker.
getUsername() - Method in class org.powertac.common.msg.LoginRequestCmd
 
getValue() - Method in class org.powertac.common.HourlyCharge
 
getValue() - Method in class org.powertac.common.Rate
Returns the rate for the current time.
getValue(AbstractInstant) - Method in class org.powertac.common.Rate
Returns the rate for some time in the past or future, regardless of whether the Rate applies at that time, and regardless of whether the requested time is beyond the notification interval of a variable rate.
getWeeklyBegin() - Method in class org.powertac.common.Rate
 
getWeeklyEnd() - Method in class org.powertac.common.Rate
 
getWindDirection() - Method in class org.powertac.common.WeatherForecastPrediction
 
getWindDirection() - Method in class org.powertac.common.WeatherReport
 
getWindSpeed() - Method in class org.powertac.common.WeatherForecastPrediction
 
getWindSpeed() - Method in class org.powertac.common.WeatherReport
 

H

HOUR - Static variable in class org.powertac.common.TimeService
 
HourlyCharge - Class in org.powertac.common
Represents the cost of power during a specific timeslot in a variable Rate.
HourlyCharge(Instant, double) - Constructor for class org.powertac.common.HourlyCharge
Creates a new HourlyCharge to communicate rate information to customers.

I

id - Variable in class org.powertac.common.BrokerTransaction
 
id - Variable in class org.powertac.common.MarketPosition
 
id - Variable in class org.powertac.common.TariffMessage
 
IdGenerator - Class in org.powertac.common
Generates numeric ID values for domain types.
IdGenerator() - Constructor for class org.powertac.common.IdGenerator
 
init() - Method in class org.powertac.common.Tariff
Initializes tariff by building the rate map.
init() - Method in class org.powertac.common.TimeService
Sets current time to modulo before base time.
isAnalyzed() - Method in class org.powertac.common.Tariff
Returns the analyzed flag.
isCanNegotiate() - Method in class org.powertac.common.CustomerInfo
True just in case the underlying Customer model can negotiate individual contracts.
isCovered() - Method in class org.powertac.common.Tariff
True just in case the set of Rates cover all the possible hour and tier slots.
isEnabled() - Method in class org.powertac.common.Broker
True just in case either the broker is logged in, or is a local wholesale broker.
isEnabled() - Method in class org.powertac.common.Timeslot
 
isExpired() - Method in class org.powertac.common.Tariff
True just in case the current time is past the expiration date of this Tariff.
isFixed() - Method in class org.powertac.common.Rate
 
isLocal() - Method in class org.powertac.common.Broker
True for a Broker that is local to the server.
isMultiContracting() - Method in class org.powertac.common.CustomerInfo
True if this customer can subscribe to multiple contracts.
isPrivileged() - Method in class org.powertac.common.PluginConfig
 
isRevoked() - Method in class org.powertac.common.Tariff
True just in case this tariff has been revoked.
isWeekly() - Method in class org.powertac.common.Tariff
 
isWholesale() - Method in class org.powertac.common.Broker
True for a broker that operates on the wholeside of the wholesale market.

L

list() - Method in class org.powertac.common.repo.BrokerRepo
 
list() - Method in class org.powertac.common.repo.CustomerRepo
 
list() - Method in class org.powertac.common.repo.PluginConfigRepo
Returns the list of instances in the repo.
ListTools - Class in org.powertac.util
A collection of static methods intended to simplify list processing tasks.
ListTools() - Constructor for class org.powertac.util.ListTools
 
LoginRequestCmd - Class in org.powertac.common.msg
Command object to be used by brokers to log in to the web-app
LoginRequestCmd(String, String) - Constructor for class org.powertac.common.msg.LoginRequestCmd
 
LoginResponseCmd - Class in org.powertac.common.msg
Command object sent back in response to a LoginRequestCmd to brokers This object contains either a valid competition server url or an error reason
LoginResponseCmd(LoginResponseCmd.StatusCode, String, String, String) - Constructor for class org.powertac.common.msg.LoginResponseCmd
 
LoginResponseCmd.StatusCode - Enum in org.powertac.common.msg
 

M

makeOrderbook(Timeslot, Double) - Method in class org.powertac.common.repo.OrderbookRepo
Creates a new Orderbook, with standard defaults (productType = Future, dateExecuted = now).
makePluginConfig(String, String) - Method in class org.powertac.common.repo.PluginConfigRepo
 
makeTimeslot(Instant) - Method in class org.powertac.common.repo.TimeslotRepo
Creates a timeslot with the given start time.
MarketBootstrapData - Class in org.powertac.common.msg
Encapsulates market prices and quantities over the bootstrap period.
MarketBootstrapData(double[], double[]) - Constructor for class org.powertac.common.msg.MarketBootstrapData
 
MarketPosition - Class in org.powertac.common
A MarketPosition domain instance represents the current position of a single broker for wholesale power in a given timeslot.
MarketPosition(Broker, Timeslot, double) - Constructor for class org.powertac.common.MarketPosition
 
MarketTransaction - Class in org.powertac.common
A MarketTransaction instance represents a trade in the wholesale market.
MarketTransaction(Broker, Instant, Timeslot, double, double) - Constructor for class org.powertac.common.MarketTransaction
 
marshal(Object, HierarchicalStreamWriter, MarshallingContext) - Method in class org.powertac.common.xml.FullCustomerConverter
 
MessageDispatcher - Class in org.powertac.util
Static resource for dispatching messages.
MessageDispatcher() - Constructor for class org.powertac.util.MessageDispatcher
 
MINUTE - Static variable in class org.powertac.common.TimeService
 

N

newInstance(String) - Static method in class org.powertac.common.Competition
 
newState() - Method in class org.powertac.common.state.StateLogging
 
newstate(JoinPoint) - Method in class org.powertac.common.state.StateLogging
 

O

Order - Class in org.powertac.common
A Order instance represents a market (no price specified) or a limit (min/max price specified) order in the PowerTAC wholesale market.
Order(Broker, Timeslot, double, Double) - Constructor for class org.powertac.common.Order
Creates a new Order for Broker to buy or sell a quantity of energy in Timeslot.
Orderbook - Class in org.powertac.common
An orderbook instance captures a snapshot of the PowerTAC wholesale market's orderbook (the un-cleared bids and asks remaining after the market is cleared).
Orderbook(Timeslot, Double, Instant) - Constructor for class org.powertac.common.Orderbook
Constructor with default product type.
OrderbookOrder - Class in org.powertac.common
Each instance is an individual un-cleared entry (a Bid or an Ask) within an Orderbook.
OrderbookOrder(double, Double) - Constructor for class org.powertac.common.OrderbookOrder
 
OrderbookRepo - Class in org.powertac.common.repo
Repository for Orderbooks.
OrderbookRepo() - Constructor for class org.powertac.common.repo.OrderbookRepo
Standard constructor
org.powertac.common - package org.powertac.common
 
org.powertac.common.enumerations - package org.powertac.common.enumerations
 
org.powertac.common.exceptions - package org.powertac.common.exceptions
 
org.powertac.common.msg - package org.powertac.common.msg
 
org.powertac.common.repo - package org.powertac.common.repo
 
org.powertac.common.spring - package org.powertac.common.spring
 
org.powertac.common.state - package org.powertac.common.state
 
org.powertac.common.xml - package org.powertac.common.xml
 
org.powertac.util - package org.powertac.util
 

P

PauseRelease - Class in org.powertac.common.msg
This message is used by a broker to release a pause in the simulation that was previously requested by the same broker.
PauseRelease(Broker) - Constructor for class org.powertac.common.msg.PauseRelease
 
PauseRequest - Class in org.powertac.common.msg
This message is used by a broker to request a pause in the simulation.
PauseRequest(Broker) - Constructor for class org.powertac.common.msg.PauseRequest
 
perform() - Method in interface org.powertac.common.Action
 
perform(Instant) - Method in interface org.powertac.common.TimedAction
 
PluginConfig - Class in org.powertac.common
Instances of this class can be used to configure plugins, and to communicate configuration information to brokers at the beginning of a simulation.
PluginConfig(String, String) - Constructor for class org.powertac.common.PluginConfig
Creates a new PluginConfig.
PluginConfigRepo - Class in org.powertac.common.repo
Stores PluginConfig instances, allows access to the list.
PluginConfigRepo() - Constructor for class org.powertac.common.repo.PluginConfigRepo
 
postedTime - Variable in class org.powertac.common.BrokerTransaction
The timeslot for which this meter reading is generated
PowerTacException - Exception in org.powertac.common.exceptions
Generic PowerTAC Exception
PowerTacException() - Constructor for exception org.powertac.common.exceptions.PowerTacException
 
PowerTacException(String) - Constructor for exception org.powertac.common.exceptions.PowerTacException
 
PowerTacException(String, Throwable) - Constructor for exception org.powertac.common.exceptions.PowerTacException
 
PowerTacException(Throwable) - Constructor for exception org.powertac.common.exceptions.PowerTacException
 
PowerType - Enum in org.powertac.common.enumerations
Types of power a Customer can produce or consume.
Predicate<T> - Interface in org.powertac.util
Interface used for filtering and other testing purposes.
processProperties(ConfigurableListableBeanFactory, Properties) - Method in class org.powertac.util.PropertiesUtil
 
PropertiesUtil - Class in org.powertac.util
 
PropertiesUtil() - Constructor for class org.powertac.util.PropertiesUtil
 

R

Rate - Class in org.powertac.common
Tariffs are composed of Rates.
Rate() - Constructor for class org.powertac.common.Rate
Default constructor only.
receiveMessage(Object) - Method in class org.powertac.common.Broker
Default implementation does nothing.
recycle() - Method in class org.powertac.common.repo.BrokerRepo
 
recycle() - Method in class org.powertac.common.repo.CustomerRepo
 
recycle() - Method in interface org.powertac.common.repo.DomainRepo
Implementations must clear out the repository in preparation for a new simulation.
recycle() - Method in class org.powertac.common.repo.OrderbookRepo
Clears the index in preparation for a new simulation
recycle() - Method in class org.powertac.common.repo.PluginConfigRepo
Clears out the repository in preparation for a new sim run.
recycle() - Method in class org.powertac.common.repo.TariffRepo
 
recycle() - Method in class org.powertac.common.repo.TimeslotRepo
 
recycle() - Method in class org.powertac.common.repo.WeatherForecastRepo
 
recycle() - Method in class org.powertac.common.repo.WeatherReportRepo
 

S

SECOND - Static variable in class org.powertac.common.TimeService
 
setApplicationContext(ApplicationContext) - Method in class org.powertac.common.spring.SpringApplicationContext
 
setBase(long) - Method in class org.powertac.common.TimeService
Deprecated. use setClockParameters instead
setBroker(Broker) - Method in class org.powertac.common.msg.BrokerAuthentication
 
setBrokerQueueName(String) - Method in class org.powertac.common.msg.LoginResponseCmd
 
setCash(CashPosition) - Method in class org.powertac.common.Broker
Updates the current CashPosition for this Broker.
setClockParameters(long, long, long) - Method in class org.powertac.common.TimeService
Sets base, rate, and modulo clock parameters with a single call.
setCurrentTime(Instant) - Method in class org.powertac.common.TimeService
Sets current time to a specific value.
setCurrentTime(AbstractDateTime) - Method in class org.powertac.common.TimeService
Sets current time to a specific value.
setEnabled(boolean) - Method in class org.powertac.common.Broker
Enables this Broker.
setExpiration(Instant) - Method in class org.powertac.common.Tariff
 
setLocal(boolean) - Method in class org.powertac.common.Broker
Allows subclasses to set themselves as local brokers.
setModulo(long) - Method in class org.powertac.common.TimeService
Deprecated. use setClockParameters instead
setPopulation(Integer) - Method in class org.powertac.common.CustomerInfo
Updates the population for the underlying model.
setPrefix(int) - Static method in class org.powertac.common.IdGenerator
Each entity living in a separate process must have a different prefix value.
setPrefix(int) - Method in class org.powertac.common.msg.BrokerAccept
 
setRate(long) - Method in class org.powertac.common.TimeService
Deprecated. use setClockParameters instead
setServerQueueName(String) - Method in class org.powertac.common.msg.LoginResponseCmd
 
setStart(long) - Method in class org.powertac.common.TimeService
 
setState() - Method in class org.powertac.common.state.StateLogging
 
setstate(JoinPoint) - Method in class org.powertac.common.state.StateLogging
 
setState(Tariff.State) - Method in class org.powertac.common.Tariff
Updates the state of this tariff.
setWholesale(boolean) - Method in class org.powertac.common.Broker
Allows subclasses to make themselves wholesale brokers
ShoutCreationException - Exception in org.powertac.common.exceptions
Thrown if the creation of a new shout fails
ShoutCreationException() - Constructor for exception org.powertac.common.exceptions.ShoutCreationException
 
ShoutCreationException(String) - Constructor for exception org.powertac.common.exceptions.ShoutCreationException
 
ShoutCreationException(String, Throwable) - Constructor for exception org.powertac.common.exceptions.ShoutCreationException
 
ShoutCreationException(Throwable) - Constructor for exception org.powertac.common.exceptions.ShoutCreationException
 
ShoutDeletionException - Exception in org.powertac.common.exceptions
Thrown if a shout deletion fails
ShoutDeletionException() - Constructor for exception org.powertac.common.exceptions.ShoutDeletionException
 
ShoutDeletionException(String) - Constructor for exception org.powertac.common.exceptions.ShoutDeletionException
 
ShoutDeletionException(String, Throwable) - Constructor for exception org.powertac.common.exceptions.ShoutDeletionException
 
ShoutDeletionException(Throwable) - Constructor for exception org.powertac.common.exceptions.ShoutDeletionException
 
ShoutUpdateException - Exception in org.powertac.common.exceptions
Thrown if a shout update fails
ShoutUpdateException() - Constructor for exception org.powertac.common.exceptions.ShoutUpdateException
 
ShoutUpdateException(String) - Constructor for exception org.powertac.common.exceptions.ShoutUpdateException
 
ShoutUpdateException(String, Throwable) - Constructor for exception org.powertac.common.exceptions.ShoutUpdateException
 
ShoutUpdateException(Throwable) - Constructor for exception org.powertac.common.exceptions.ShoutUpdateException
 
SimEnd - Class in org.powertac.common.msg
This message is used to communicate the end of a simulation.
SimEnd() - Constructor for class org.powertac.common.msg.SimEnd
 
SimPause - Class in org.powertac.common.msg
This message is used to communicate a pause in a simulation.
SimPause() - Constructor for class org.powertac.common.msg.SimPause
 
SimResume - Class in org.powertac.common.msg
This message is used to communicate a revised simulation start time prior to the end of a simulation pause.
SimResume(Instant) - Constructor for class org.powertac.common.msg.SimResume
 
SimStart - Class in org.powertac.common.msg
This message is used to communicate the simulation start time from server to brokers in the last few seconds before the simulation starts.
SimStart(Instant) - Constructor for class org.powertac.common.msg.SimStart
 
size() - Method in class org.powertac.common.msg.TimeslotUpdate
Returns the number of enabled timeslots.
size() - Method in class org.powertac.common.repo.OrderbookRepo
Returns the count of instances in this repo
SpringApplicationContext - Class in org.powertac.common.spring
 
SpringApplicationContext() - Constructor for class org.powertac.common.spring.SpringApplicationContext
 
StateChange - Annotation Type in org.powertac.common.state
Annotation for methods that must trigger state-log entries
StateLogging - Class in org.powertac.common.state
Implement uniform state-logging using aspects.
StateLogging() - Constructor for class org.powertac.common.state.StateLogging
 

T

Tariff - Class in org.powertac.common
Entity wrapper for TariffSpecification that supports Tariff evaluation and billing.
Tariff(TariffSpecification) - Constructor for class org.powertac.common.Tariff
Creates a new Tariff from the given TariffSpecification.
Tariff.State - Enum in org.powertac.common
 
TariffExpire - Class in org.powertac.common.msg
Request to change expiration date on an existing tariff.
TariffExpire(Broker, TariffSpecification, Instant) - Constructor for class org.powertac.common.msg.TariffExpire
 
TariffMessage - Class in org.powertac.common
Supertype of all tariff-related messages that can be processed by a TariffMessageProcessor.
TariffMessage(Broker) - Constructor for class org.powertac.common.TariffMessage
 
TariffRepo - Class in org.powertac.common.repo
Repository for TariffSpecifications, Tariffs, Rates, and other related types.
TariffRepo() - Constructor for class org.powertac.common.repo.TariffRepo
 
TariffRevoke - Class in org.powertac.common.msg
Message created by a broker to request revocation of an existing tariff.
TariffRevoke(Broker, TariffSpecification) - Constructor for class org.powertac.common.msg.TariffRevoke
 
TariffSpecification - Class in org.powertac.common
Represents a Tariff offered by a Broker to customers.
TariffSpecification(Broker, PowerType) - Constructor for class org.powertac.common.TariffSpecification
Creates a new TariffSpecification for a broker and a specific powerType.
TariffSpecificationConverter - Class in org.powertac.common.xml
 
TariffSpecificationConverter() - Constructor for class org.powertac.common.xml.TariffSpecificationConverter
 
TariffStatus - Class in org.powertac.common.msg
Represents a response from server to broker to publication or update of a tariff.
TariffStatus(Broker, long, long, TariffStatus.Status) - Constructor for class org.powertac.common.msg.TariffStatus
 
TariffStatus.Status - Enum in org.powertac.common.msg
 
TariffTransaction - Class in org.powertac.common
A TariffTransaction instance represents the kWh of energy consumed (kWh < 0) or produced kWh > 0 by some members of a specific customer model, in a specific timeslot, under a particular tariff.
TariffTransaction(Broker, Instant, TariffTransaction.Type, TariffSpecification, CustomerInfo, int, double, double) - Constructor for class org.powertac.common.TariffTransaction
Creates a new TariffTransaction for broker of type txType against a particular tariff spec and customer.
TariffTransaction.Type - Enum in org.powertac.common
 
TariffUpdate - Class in org.powertac.common.msg
Command object that represents a broker's request to update a tariff, either to change its expiration date or to revoke it.
TariffUpdate(Broker, TariffSpecification) - Constructor for class org.powertac.common.msg.TariffUpdate
 
TariffUpdate(Broker, long) - Constructor for class org.powertac.common.msg.TariffUpdate
 
TimedAction - Interface in org.powertac.common
Generic action type that takes time as an argument.
TimeService - Class in org.powertac.common
This is the simulation time-keeper and event queue.
TimeService() - Constructor for class org.powertac.common.TimeService
Default constructor.
TimeService(long, long, long, long) - Constructor for class org.powertac.common.TimeService
Handy constructor for testing
Timeslot - Class in org.powertac.common
A timeslot instance describes an interval of time (slot) for which power may be traded in the wholesale market.
Timeslot(int, Instant, Timeslot) - Constructor for class org.powertac.common.Timeslot
Constructor is intended to be called by repository.
TimeslotConverter - Class in org.powertac.common.xml
 
TimeslotConverter() - Constructor for class org.powertac.common.xml.TimeslotConverter
 
TimeslotRepo - Class in org.powertac.common.repo
Repository for Timeslots.
TimeslotRepo() - Constructor for class org.powertac.common.repo.TimeslotRepo
standard constructor
TimeslotUpdate - Class in org.powertac.common.msg
Message type that communicates to brokers the set of timeslots that are "open" for trading.
TimeslotUpdate(Instant, List<Timeslot>) - Constructor for class org.powertac.common.msg.TimeslotUpdate
 
toQueueName() - Method in class org.powertac.common.Broker
 
toString() - Method in class org.powertac.common.BalancingTransaction
 
toString() - Method in class org.powertac.common.Broker
 
toString() - Method in class org.powertac.common.CashPosition
 
toString() - Method in class org.powertac.common.ClearedTrade
 
toString() - Method in class org.powertac.common.Competition
 
toString() - Method in class org.powertac.common.CustomerInfo
 
toString() - Method in class org.powertac.common.DistributionTransaction
 
toString() - Method in class org.powertac.common.MarketPosition
 
toString() - Method in class org.powertac.common.MarketTransaction
 
toString() - Method in class org.powertac.common.OrderbookOrder
 
toString() - Method in class org.powertac.common.PluginConfig
 
toString() - Method in class org.powertac.common.Rate
 
toString() - Method in class org.powertac.common.TariffSpecification
Returns a String giving the id, broker username, and powertype
toString() - Method in class org.powertac.common.TariffTransaction
 
toString() - Method in class org.powertac.common.Timeslot
 
toString(Object) - Method in class org.powertac.common.xml.BrokerConverter
 
toString(Object) - Method in class org.powertac.common.xml.CustomerConverter
 
toString(Object) - Method in class org.powertac.common.xml.DoubleArrayConverter
 
toString(Object) - Method in class org.powertac.common.xml.TariffSpecificationConverter
 
toString(Object) - Method in class org.powertac.common.xml.TimeslotConverter
 
toXML(Object) - Method in class org.powertac.common.XMLMessageConverter
 
truncateInstant(Instant, long) - Method in class org.powertac.common.TimeService
Returns the most recent Instant at which time % modulo was zero

U

unmarshal(HierarchicalStreamReader, UnmarshallingContext) - Method in class org.powertac.common.xml.FullCustomerConverter
 
update(Competition) - Method in class org.powertac.common.Competition
Updates selected fields of this Competition from a template.
update(PluginConfig) - Method in class org.powertac.common.PluginConfig
Updates the configuration from a matching PluginConfig (presumably this was read from a file or received as a message).
updateBalance(double) - Method in class org.powertac.common.MarketPosition
Adds a quantity to the current balance.
updateTime() - Method in class org.powertac.common.TimeService
Updates simulation time when called as specified by clock parameters, then runs any actions that may be due.

V

valueOf(String) - Static method in enum org.powertac.common.enumerations.CustomerType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.powertac.common.enumerations.PowerType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.powertac.common.msg.LoginResponseCmd.StatusCode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.powertac.common.msg.TariffStatus.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.powertac.common.Tariff.State
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.powertac.common.TariffTransaction.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.powertac.common.enumerations.CustomerType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.powertac.common.enumerations.PowerType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.powertac.common.msg.LoginResponseCmd.StatusCode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.powertac.common.msg.TariffStatus.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.powertac.common.Tariff.State
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.powertac.common.TariffTransaction.Type
Returns an array containing the constants of this enum type, in the order they are declared.
VariableRateUpdate - Class in org.powertac.common.msg
Conveys an HourlyCharge instance, labeled by its Tariff and Rate.
VariableRateUpdate(Broker, Rate, HourlyCharge) - Constructor for class org.powertac.common.msg.VariableRateUpdate
 

W

WeatherForecast - Class in org.powertac.common
A collection of weatherReports giving hourly forecasts for future timeslot.
WeatherForecast(Timeslot, List<WeatherForecastPrediction>) - Constructor for class org.powertac.common.WeatherForecast
 
WeatherForecastPrediction - Class in org.powertac.common
A weather forecast report instance that describes the weather data
WeatherForecastPrediction(int, double, double, double, double) - Constructor for class org.powertac.common.WeatherForecastPrediction
 
WeatherForecastRepo - Class in org.powertac.common.repo
Repository for WeatherReports.
WeatherForecastRepo() - Constructor for class org.powertac.common.repo.WeatherForecastRepo
standard constructor
WeatherReport - Class in org.powertac.common
A weather report instance that describes the weather data for one hour of the simulation
WeatherReport(Timeslot, double, double, double, double) - Constructor for class org.powertac.common.WeatherReport
 
WeatherReportRepo - Class in org.powertac.common.repo
Repository for WeatherReports.
WeatherReportRepo() - Constructor for class org.powertac.common.repo.WeatherReportRepo
standard constructor
WEEK - Static variable in class org.powertac.common.TimeService
 
withBootstrapTimeslotCount(int) - Method in class org.powertac.common.Competition
Fluent setter for the bootstrap timeslot count.
withCanNegotiate(boolean) - Method in class org.powertac.common.CustomerInfo
Fluent setter for the canNegotiate flag.
withCustomerType(CustomerType) - Method in class org.powertac.common.CustomerInfo
Fluent setter for customer classification.
withDailyBegin(AbstractDateTime) - Method in class org.powertac.common.Rate
Sets the time of day when this Rate comes into effect.
withDailyBegin(ReadablePartial) - Method in class org.powertac.common.Rate
Sets the time of day when this Rate comes into effect.
withDailyBegin(int) - Method in class org.powertac.common.Rate
Sets the time of day when this Rate comes into effect as hours since midnight.
withDailyEnd(AbstractDateTime) - Method in class org.powertac.common.Rate
Sets the time of day when this Rate is no longer in effect.
withDailyEnd(ReadablePartial) - Method in class org.powertac.common.Rate
Sets the time of day when this Rate is no longer in effect.
withDailyEnd(int) - Method in class org.powertac.common.Rate
Sets the time of day when this Rate is no longer in effect, given as hours since midnight.
withDeactivateTimeslotsAhead(int) - Method in class org.powertac.common.Competition
Fluent setter for number of timeslots, starting with the current timeslot, that are closed for trading.Default value is 1.
withDescription(String) - Method in class org.powertac.common.Competition
Fluent setter for competition description.
withEarlyWithdrawPayment(double) - Method in class org.powertac.common.TariffSpecification
Sets the payment for a customer who withdraws from a subscription to this tariff before the minimumDuration has expired.
withExpectedMean(double) - Method in class org.powertac.common.Rate
Specifies the expected mean charge/kWh, excluding periodic charges, for this Rate.
withExpectedTimeslotCount(int) - Method in class org.powertac.common.Competition
Fluent setter for the expected length of a normal sim session.
withExpiration(Instant) - Method in class org.powertac.common.TariffSpecification
Sets the expiration date for this tariff.
withFixed(boolean) - Method in class org.powertac.common.Rate
Specifies whether this Rate is fixed (true) or variable (false).
withMaxValue(double) - Method in class org.powertac.common.Rate
Specifies the maximum charge (furthest from zero) for variable Rates.
withMessage(String) - Method in class org.powertac.common.msg.TariffStatus
 
withMinDuration(long) - Method in class org.powertac.common.TariffSpecification
Sets the minimum duration of a subscription for this tariff.
withMinimumTimeslotCount(int) - Method in class org.powertac.common.Competition
Fluent setter for minimumTimeslotCount.
withMinValue(double) - Method in class org.powertac.common.Rate
Specifies the minimum charge (closest to zero) for variable Rates.
withMultiContracting(boolean) - Method in class org.powertac.common.CustomerInfo
Fluent setter for the multiContracting property.
withNoticeInterval(Duration) - Method in class org.powertac.common.Rate
Specifies the minimum interval for rate change notifications for a variable Rate.
withNoticeInterval(long) - Method in class org.powertac.common.Rate
Specifies the minimum interval in hours for rate change notifications for a variable Rate.
withPeriodicPayment(double) - Method in class org.powertac.common.TariffSpecification
Sets the daily payment per customer for subscriptions to this tariff.
withSignupPayment(double) - Method in class org.powertac.common.TariffSpecification
Sets the signup payment for new subscriptions.
withSimulationBaseTime(Instant) - Method in class org.powertac.common.Competition
Fluent setter for simiulation base time.
withSimulationModulo(long) - Method in class org.powertac.common.Competition
Fluent setter for simulation modulo.
withSimulationRate(long) - Method in class org.powertac.common.Competition
Fluent setter for time compression ratio.
withTierThreshold(double) - Method in class org.powertac.common.Rate
Sets the usage threshold for applicability of this Rate.
withTimeslotLength(int) - Method in class org.powertac.common.Competition
Fluent setter for timeslot length, interpreted as minutes in sim time.
withTimeslotsOpen(int) - Method in class org.powertac.common.Competition
Fluent setter for the open timeslot count.
withValue(double) - Method in class org.powertac.common.Rate
Specifies the charge/kWh for a fixed rate, from the customer's viewpoint.
withWeeklyBegin(AbstractDateTime) - Method in class org.powertac.common.Rate
Sets the day of the week on which this Rate comes into effect.
withWeeklyBegin(ReadablePartial) - Method in class org.powertac.common.Rate
Sets the day of the week on which this Rate comes into effect.
withWeeklyBegin(int) - Method in class org.powertac.common.Rate
Sets the day of the week on which this Rate comes into effect.
withWeeklyEnd(AbstractDateTime) - Method in class org.powertac.common.Rate
Sets the weekly end of applicability for this Rate, by processing end spec to extract dayOfWeek field.
withWeeklyEnd(ReadablePartial) - Method in class org.powertac.common.Rate
Sets the weekly end of applicability for this Rate, by processing end spec to extract dayOfWeek field.
withWeeklyEnd(int) - Method in class org.powertac.common.Rate
Sets the weekly end of applicability for this Rate.

X

XMLMessageConverter - Class in org.powertac.common
 
XMLMessageConverter() - Constructor for class org.powertac.common.XMLMessageConverter
 

A B C D E F G H I L M N O P R S T U V W X

Copyright © 2011. All Rights Reserved.