org.powertac.common.interfaces
Interface CompetitionSetup


public interface CompetitionSetup

Handles the pre-game competition setup process. To start a simulation, one must call preGame(), followed by CompetitionControl.runOnce().

Author:
John Collins

Method Summary
 String bootSession(String bootFilename, String configFilename, String logfileSuffix)
          Starts a bootstrap session with parameters.
 void preGame()
          Runs the pre-game cycle of the simulator, which sets all plugin components to their default state.
 String simSession(String bootData, String config, String jmsUrl, String logfileSuffix, List<String> brokerUsernames, String inputQueueName)
          Starts a simulation session with parameters, in a new thread.
 

Method Detail

preGame

void preGame()
Runs the pre-game cycle of the simulator, which sets all plugin components to their default state.


bootSession

String bootSession(String bootFilename,
                   String configFilename,
                   String logfileSuffix)
Starts a bootstrap session with parameters. Result is null if successful, otherwise contains an error message. Parameters are:


simSession

String simSession(String bootData,
                  String config,
                  String jmsUrl,
                  String logfileSuffix,
                  List<String> brokerUsernames,
                  String inputQueueName)
Starts a simulation session with parameters, in a new thread. Result is null if successful, otherwise contains an error message. Parameters are:



Copyright © 2012 Power TAC. All Rights Reserved.