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.
|
Competition |
Competition.withDescription(String description) |
Fluent setter for competition description.
|
Competition |
Competition.withDownRegulationDiscount(double value) |
Fluent setter for overpriced down-regulation discount rate.
|
Competition |
Competition.withEstimatedConsumptionPremium(double value) |
Fluent setter for the estimated consumption price premium.
|
Competition |
Competition.withExpectedTimeslotCount(int expectedTimeslotCount) |
Fluent setter for the expected length of a normal sim session.
|
Competition |
Competition.withFixedTimeslotCount(Integer fixedTimeslotCount) |
Fluent setter for the expected length of a normal sim session.
|
Competition |
Competition.withLatitude(int latitude) |
Fluent setter for latitude value
|
Competition |
Competition.withMaxDownRegulationPaymentRatio(double value) |
Fluent setter for the maximum down-regulation payment ratio.
|
Competition |
Competition.withMaxUpRegulationPaymentRatio(double value) |
Fluent setter for the maximum ratio between consumption price and up-regulation
price for which customers will include up-regulation in tariff evaluation.
|
Competition |
Competition.withMinimumOrderQuantity(double minOrderQty) |
Fluent setter for minimum order quantity.
|
Competition |
Competition.withMinimumTimeslotCount(int minimumTimeslotCount) |
Fluent setter for minimumTimeslotCount.
|
Competition |
Competition.withPomId(String id) |
Fluent setter for Pom ID.
|
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 yyyy-MM-dd.
|
Competition |
Competition.withSimulationBaseTime(org.joda.time.Instant simulationBaseTime) |
Fluent setter for simulation 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.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
|
Competition |
Competition.withUpRegulationDiscount(double value) |
Fluent setter for overpriced up-regulation discount rate.
|