Index
A C G H I M O P
All Classes|All Packages
All Classes|All Packages
All Classes|All Packages
A
- activate(int) - Method in class org.powertac.samplebroker.MarketManagerService
-
Compute needed quantities for each open timeslot, then submit orders for those quantities.
- activate(int) - Method in class org.powertac.samplebroker.PortfolioManagerService
-
Called after TimeslotComplete msg received.
C
- collectUsage(int) - Method in interface org.powertac.samplebroker.interfaces.PortfolioManager
-
Returns total net expected usage across all subscriptions for the given index (normally a timeslot serial number).
- collectUsage(int) - Method in class org.powertac.samplebroker.PortfolioManagerService
-
Returns total usage for a given timeslot (represented as a simple index).
- ContextManagerService - Class in org.powertac.samplebroker
-
Handles incoming context and bank messages with example behaviors.
- ContextManagerService() - Constructor for class org.powertac.samplebroker.ContextManagerService
G
- getMeanMarketPrice() - Method in interface org.powertac.samplebroker.interfaces.MarketManager
-
Returns the mean price observed in the market
- getMeanMarketPrice() - Method in class org.powertac.samplebroker.MarketManagerService
-
Returns the mean price observed in the market during the bootstrap session.
H
- handleMessage(Properties) - Method in class org.powertac.samplebroker.ContextManagerService
-
Receives the server configuration properties.
- handleMessage(BalancingTransaction) - Method in class org.powertac.samplebroker.MarketManagerService
-
Handles a BalancingTransaction message.
- handleMessage(BankTransaction) - Method in class org.powertac.samplebroker.ContextManagerService
-
BankTransaction represents an interest payment.
- handleMessage(CapacityTransaction) - Method in class org.powertac.samplebroker.MarketManagerService
-
Handles a CapacityTransaction - a charge for contribution to overall peak demand over the recent past.
- handleMessage(CashPosition) - Method in class org.powertac.samplebroker.ContextManagerService
-
CashPosition updates our current bank balance.
- handleMessage(ClearedTrade) - Method in class org.powertac.samplebroker.MarketManagerService
-
Handles a ClearedTrade message - this is where you would want to keep track of market prices.
- handleMessage(Competition) - Method in class org.powertac.samplebroker.ContextManagerService
-
Handles the Competition instance that arrives at beginning of game.
- handleMessage(Competition) - Method in class org.powertac.samplebroker.MarketManagerService
-
Handles the Competition instance that arrives at beginning of game.
- handleMessage(DistributionTransaction) - Method in class org.powertac.samplebroker.MarketManagerService
-
Handles a DistributionTransaction - charges for transporting power
- handleMessage(MarketPosition) - Method in class org.powertac.samplebroker.MarketManagerService
-
Receives a MarketPosition message, representing our commitments on the wholesale market
- handleMessage(MarketTransaction) - Method in class org.powertac.samplebroker.MarketManagerService
-
Receives a new MarketTransaction.
- handleMessage(BalanceReport) - Method in class org.powertac.samplebroker.MarketManagerService
-
Receives a BalanceReport containing information about imbalance in the current timeslot.
- handleMessage(BalancingControlEvent) - Method in class org.powertac.samplebroker.PortfolioManagerService
-
Handles a BalancingControlEvent, sent when a BalancingOrder is exercised by the DU.
- handleMessage(CustomerBootstrapData) - Method in class org.powertac.samplebroker.PortfolioManagerService
-
Handles CustomerBootstrapData by populating the customer model corresponding to the given customer and power type.
- handleMessage(DistributionReport) - Method in class org.powertac.samplebroker.ContextManagerService
-
DistributionReport gives total consumption and production for the timeslot, summed across all brokers.
- handleMessage(MarketBootstrapData) - Method in class org.powertac.samplebroker.MarketManagerService
-
Receives a MarketBootstrapData message, reporting usage and prices for the bootstrap period.
- handleMessage(TariffRevoke) - Method in class org.powertac.samplebroker.PortfolioManagerService
-
Handles a TariffRevoke message from the server, indicating that some tariff has been revoked.
- handleMessage(TariffStatus) - Method in class org.powertac.samplebroker.PortfolioManagerService
-
Handles a TariffStatus message.
- handleMessage(Orderbook) - Method in class org.powertac.samplebroker.MarketManagerService
-
Receives market orderbooks.
- handleMessage(TariffSpecification) - Method in class org.powertac.samplebroker.PortfolioManagerService
-
Handles a TariffSpecification.
- handleMessage(TariffTransaction) - Method in class org.powertac.samplebroker.PortfolioManagerService
-
Handles a TariffTransaction.
- handleMessage(WeatherForecast) - Method in class org.powertac.samplebroker.MarketManagerService
-
Receives a new WeatherForecast.
- handleMessage(WeatherReport) - Method in class org.powertac.samplebroker.MarketManagerService
-
Receives a new WeatherReport.
I
- initialize(BrokerContext) - Method in class org.powertac.samplebroker.ContextManagerService
- initialize(BrokerContext) - Method in class org.powertac.samplebroker.MarketManagerService
- initialize(BrokerContext) - Method in class org.powertac.samplebroker.PortfolioManagerService
-
Per-game initialization.
M
- MarketManager - Interface in org.powertac.samplebroker.interfaces
-
Encapsulates broker market interactions.
- MarketManagerService - Class in org.powertac.samplebroker
-
Handles market interactions on behalf of the broker.
- MarketManagerService() - Constructor for class org.powertac.samplebroker.MarketManagerService
O
- org.powertac.samplebroker - package org.powertac.samplebroker
- org.powertac.samplebroker.interfaces - package org.powertac.samplebroker.interfaces
P
- PortfolioManager - Interface in org.powertac.samplebroker.interfaces
-
Interface for portfolio manager, makes usage statistics available.
- PortfolioManagerService - Class in org.powertac.samplebroker
-
Handles portfolio-management responsibilities for the broker.
- PortfolioManagerService() - Constructor for class org.powertac.samplebroker.PortfolioManagerService
-
Default constructor.
All Classes|All Packages