|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| 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()
Deprecated. |
Timeslot |
WeatherForecast.getCurrentTimeslot()
Deprecated. |
Timeslot |
BrokerTransaction.getPostedTimeslot()
Timeslot when transaction was posted |
Timeslot |
Orderbook.getTimeslot()
|
Timeslot |
ClearedTrade.getTimeslot()
|
Timeslot |
WeatherForecast.getTimeslot()
Deprecated. |
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)
|
MarketPosition |
Broker.findMarketPositionByTimeslot(Timeslot slot)
|
| 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,
int when,
Timeslot timeslot,
double mWh,
double price)
|
|
Order(Broker broker,
Timeslot timeslot,
double mWh,
Double limitPrice)
Deprecated. |
|
Orderbook(Timeslot timeslot,
Double clearingPrice,
org.joda.time.Instant dateExecuted)
|
|
WeatherForecast(Timeslot timeslot,
List<WeatherForecastPrediction> predictions)
Deprecated. |
|
WeatherReport(Timeslot timeslot,
double temperature,
double windSpeed,
double windDirection,
double cloudCover)
Deprecated. |
|
| Uses of Timeslot in org.powertac.common.repo |
|---|
| Methods in org.powertac.common.repo that return Timeslot | |
|---|---|
Timeslot |
TimeslotRepo.currentTimeslot()
Returns the timeslot for 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 with the given serial number. |
Timeslot |
TimeslotRepo.findOrCreateBySerialNumber(int serialNumber)
Returns the timeslot with the given serial number. |
Timeslot |
TimeslotRepo.getNext(Timeslot slot)
Returns the following timeslot. |
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 | |
|---|---|
void |
TimeslotRepo.add(Timeslot timeslot)
Adds a timeslot that already exists. |
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. |
Timeslot |
TimeslotRepo.getNext(Timeslot slot)
Returns the following timeslot. |
boolean |
TimeslotRepo.isTimeslotEnabled(Timeslot ts)
True just in case the specified timeslot is enabled. |
Orderbook |
OrderbookRepo.makeOrderbook(Timeslot timeslot,
Double clearingPrice)
Creates a new Orderbook, with standard defaults (productType = Future, dateExecuted = now). |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||