|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Competition | |
|---|---|
| org.powertac.common | |
| Uses of Competition in org.powertac.common |
|---|
| Methods in org.powertac.common that return Competition | |
|---|---|
Competition |
Competition.addBroker(String brokerUsername)
Adds a broker to the Competition. |
Competition |
Competition.addCustomer(CustomerInfo customer)
Adds a customer to the Competition. |
static Competition |
Competition.currentCompetition()
Returns the current Competition instance. |
static Competition |
Competition.newInstance(String name)
|
Competition |
Competition.withBootstrapDiscardedTimeslots(int count)
Fluent setter for bootstrap interval. |
Competition |
Competition.withBootstrapTimeslotCount(int bootstrapTimeslotCount)
Fluent setter for the bootstrap timeslot count. |
Competition |
Competition.withDeactivateTimeslotsAhead(int deactivateTimeslotsAhead)
Fluent setter for number of timeslots, starting with the current timeslot, that are closed for trading.Default value is 1. |
Competition |
Competition.withDescription(String description)
Fluent setter for competition description. |
Competition |
Competition.withExpectedTimeslotCount(int expectedTimeslotCount)
Fluent setter for the expected length of a normal sim session. |
Competition |
Competition.withLatitude(int latitude)
Fluent setter for latitude value |
Competition |
Competition.withMinimumTimeslotCount(int minimumTimeslotCount)
Fluent setter for minimumTimeslotCount. |
Competition |
Competition.withSimulationBaseTime(org.joda.time.Instant simulationBaseTime)
Fluent setter for simulation base time. |
Competition |
Competition.withSimulationBaseTime(long baseTime)
Fluent setter for simulation base time that takes a long. |
Competition |
Competition.withSimulationBaseTime(String baseTime)
Fluent setter for simulation base time that takes a String, interpreted as a standard DateTimeFormat as yyy-MM-dd. |
Competition |
Competition.withSimulationModulo(long simulationModulo)
Fluent setter for simulation modulo. |
Competition |
Competition.withSimulationRate(long simulationRate)
Fluent setter for time compression ratio. |
Competition |
Competition.withSimulationTimeslotSeconds(int seconds)
Fluent setter for controlling simulation rate by setting the number of wall-clock seconds per timeslot. |
Competition |
Competition.withTimeslotLength(int timeslotLength)
Fluent setter for timeslot length, interpreted as minutes in sim time. |
Competition |
Competition.withTimeslotsOpen(int timeslotsOpen)
Fluent setter for the open timeslot count. |
Competition |
Competition.withTimezoneOffset(int offset)
Fluent setter for timezone offset |
| Methods in org.powertac.common with parameters of type Competition | |
|---|---|
static void |
Competition.setCurrent(Competition newCurrent)
Makes a Competition instance be the "current" competition - this is needed in a broker when the Competition instance arrives from the server. |
void |
Competition.update(Competition template)
Updates selected fields of this Competition from a template. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||