Uses of Class
org.powertac.common.Timeslot

Packages that use Timeslot
org.powertac.common   
org.powertac.common.repo   
 

Uses of Timeslot in org.powertac.common
 

Methods in org.powertac.common that return Timeslot
 Timeslot WeatherReport.getCurrentTimeslot()
           
 Timeslot WeatherForecast.getCurrentTimeslot()
           
 Timeslot Timeslot.getNext()
           
 Timeslot Timeslot.getPrevious()
           
 Timeslot Orderbook.getTimeslot()
          The timeslot in which energy commitments represented by cleared trades are due.
 Timeslot ClearedTrade.getTimeslot()
           
 Timeslot MarketTransaction.getTimeslot()
           
 Timeslot Order.getTimeslot()
           
 Timeslot MarketPosition.getTimeslot()
           
 

Methods in org.powertac.common with parameters of type Timeslot
 Broker Broker.addMarketPosition(MarketPosition posn, Timeslot slot)
          Associates a MarketPosition with a given Timeslot.
 MarketPosition Broker.findMarketPositionByTimeslot(Timeslot slot)
          Returns the MarketPosition associated with the given Timeslot.
 

Constructors in org.powertac.common with parameters of type Timeslot
ClearedTrade(Timeslot timeslot, double executionMWh, double executionPrice, org.joda.time.Instant dateExecuted)
           
MarketPosition(Broker broker, Timeslot timeslot, double balance)
           
MarketTransaction(Broker broker, org.joda.time.Instant when, Timeslot timeslot, double mWh, double price)
           
Order(Broker broker, Timeslot timeslot, double mWh, Double limitPrice)
          Creates a new Order for Broker to buy or sell a quantity of energy in Timeslot.
Orderbook(Timeslot timeslot, Double clearingPrice, org.joda.time.Instant dateExecuted)
          Constructor with default product type.
Timeslot(int serial, org.joda.time.Instant start, Timeslot previous)
          Constructor is intended to be called by repository.
WeatherForecast(Timeslot timeslot, List<WeatherForecastPrediction> predictions)
           
WeatherReport(Timeslot timeslot, double temperature, double windSpeed, double windDirection, double cloudCover)
           
 

Uses of Timeslot in org.powertac.common.repo
 

Methods in org.powertac.common.repo that return Timeslot
 Timeslot TimeslotRepo.currentTimeslot()
          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.
 Timeslot TimeslotRepo.findByInstant(org.joda.time.Instant time)
          Returns the timeslot (if any) corresponding to a particular Instant.
 Timeslot TimeslotRepo.findBySerialNumber(int serialNumber)
          Returns the timeslot (if any) with the given serial number.
 Timeslot TimeslotRepo.findOrCreateBySerialNumber(int serialNumber)
          Returns the timeslot (if any) with the given serial number.
 Timeslot TimeslotRepo.makeTimeslot(org.joda.time.Instant startTime)
          Creates a timeslot with the given start time.
 

Methods in org.powertac.common.repo that return types with arguments of type Timeslot
 List<Timeslot> TimeslotRepo.enabledTimeslots()
          Returns the list of enabled timeslots, starting with the first by serial number.
 

Methods in org.powertac.common.repo with parameters of type Timeslot
 List<Orderbook> OrderbookRepo.findAllByTimeslot(Timeslot timeslot)
           
 Orderbook OrderbookRepo.findByTimeslot(Timeslot timeslot)
          Returns the most recent Orderbook that has been created for the specified timeslot.
 Orderbook OrderbookRepo.findSpotByTimeslot(Timeslot timeslot)
          Returns the most recent orderbook with a non-null clearing price.
 Orderbook OrderbookRepo.makeOrderbook(Timeslot timeslot, Double clearingPrice)
          Creates a new Orderbook, with standard defaults (productType = Future, dateExecuted = now).
 



Copyright © 2012. All Rights Reserved.