Class CompetitionService
java.lang.Object
org.powertac.visualizer.service_ptac.CompetitionService
@Service public class CompetitionService extends Object
- Author:
- Jurica Babic, Govert Buijs, Erik Kemperman
-
Constructor Summary
Constructors Modifier Constructor Description protectedCompetitionService() -
Method Summary
Modifier and Type Method Description intgetBootstrapDiscardedTimeslots()intgetBootstrapTimeslotCount()intgetDeactivateTimeslotsAhead()StringgetDescription()intgetExpectedTimeslotCount()longgetId()longgetIdPowerTacCompetition()intgetLatitude()doublegetMinimumOrderQuantity()intgetMinimumTimeslotCount()StringgetName()org.joda.time.InstantgetSimulationBaseTime()longgetSimulationModulo()longgetSimulationRate()longgetTimeslotDuration()intgetTimeslotLength()intgetTimeslotsOpen()intgetTimezoneOffset()voidsetCurrent(Competition comp)
-
Constructor Details
-
CompetitionService
protected CompetitionService()
-
-
Method Details
-
setCurrent
-
getId
public long getId() -
getIdPowerTacCompetition
public long getIdPowerTacCompetition() -
getTimeslotDuration
public long getTimeslotDuration() -
getName
-
getDescription
-
getTimeslotLength
public int getTimeslotLength() -
getBootstrapTimeslotCount
public int getBootstrapTimeslotCount() -
getBootstrapDiscardedTimeslots
public int getBootstrapDiscardedTimeslots() -
getMinimumTimeslotCount
public int getMinimumTimeslotCount() -
getExpectedTimeslotCount
public int getExpectedTimeslotCount() -
getTimeslotsOpen
public int getTimeslotsOpen() -
getDeactivateTimeslotsAhead
public int getDeactivateTimeslotsAhead() -
getMinimumOrderQuantity
public double getMinimumOrderQuantity() -
getSimulationBaseTime
public org.joda.time.Instant getSimulationBaseTime() -
getTimezoneOffset
public int getTimezoneOffset() -
getLatitude
public int getLatitude() -
getSimulationRate
public long getSimulationRate() -
getSimulationModulo
public long getSimulationModulo()
-