Last active
August 23, 2020 15:34
-
-
Save YannBerthelot/5be64be88b92d0503c2fb65df586942b to your computer and use it in GitHub Desktop.
execute
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def execute(self, actions): | |
next_state = self.FlightModel.compute_timestep(actions) #defined in our AirplaneModel, see below | |
terminal = self.terminal() #defined earlier | |
reward = self.reward() #defined earlier | |
return next_state, terminal, reward |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment