|
||||||||||
| 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.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.withMinimumTimeslotCount(int minimumTimeslotCount)
Fluent setter for minimumTimeslotCount. |
Competition |
Competition.withSimulationBaseTime(org.joda.time.Instant simulationBaseTime)
Fluent setter for simiulation base time. |
Competition |
Competition.withSimulationModulo(long simulationModulo)
Fluent setter for simulation modulo. |
Competition |
Competition.withSimulationRate(long simulationRate)
Fluent setter for time compression ratio. |
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. |
| Methods in org.powertac.common with parameters of type Competition | |
|---|---|
void |
Competition.update(Competition template)
Updates selected fields of this Competition from a template. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||