Skip to content

Instantly share code, notes, and snippets.

@YannBerthelot
Last active August 23, 2020 15:34
Show Gist options
  • Save YannBerthelot/5be64be88b92d0503c2fb65df586942b to your computer and use it in GitHub Desktop.
Save YannBerthelot/5be64be88b92d0503c2fb65df586942b to your computer and use it in GitHub Desktop.
execute
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