public class StepController
extends java.lang.Object
| Constructor and Description | 
|---|
StepController(AbstractPlayer agent,
              long stepTime)
Initialize the Step Agent 
 | 
| Modifier and Type | Method and Description | 
|---|---|
StateObservation | 
getFinalState()
called after playing a game and return the final game state reached 
 | 
java.util.ArrayList<Types.ACTIONS> | 
getSolution()
get list of action used during playing the game 
 | 
void | 
playGame(StateObservation stateObs,
        ElapsedCpuTimer elapsedTimer)
play the current game for a specific amount of time using the initialized player 
 | 
void | 
playGame(StateObservation stateObs,
        ElapsedCpuTimer elapsedTimer,
        java.util.ArrayList<Vector2d> SOs)
play the current game for a specific amount of time using the initialized player 
 | 
public StepController(AbstractPlayer agent, long stepTime)
agent - agent used to play the gamestepTime - amount of time spend for each steppublic void playGame(StateObservation stateObs, ElapsedCpuTimer elapsedTimer)
stateObs - starting observation objectelapsedTimer - amount of time that can be spent in this functionpublic void playGame(StateObservation stateObs, ElapsedCpuTimer elapsedTimer, java.util.ArrayList<Vector2d> SOs)
stateObs - starting observation objectelapsedTimer - amount of time that can be spent in this functionSOs - List of stateobservations to be cachedpublic java.util.ArrayList<Types.ACTIONS> getSolution()
public StateObservation getFinalState()