parameters: (self, agent)
return_statement: return True
docstring: reset the environment to its initial state
docstring_summary: reset the environment to its initial state
docstring_tokens: reset the environment to its initial state
function: def reset(self, agent):
          """
          reset the environment to its initial state
          """
          print "RESET"
          state = self.get_state(agent)
          state.reset()
  
          self.initialize_blocks()
          agent.state.position = copy(state.initial_position)
          agent.state.rotation = Vector3f(0,0,0)#copy(state.initial_rotation)
          agent.reset()
          return True
function_tokens: def reset ( self , agent ) : print "RESET" state = self . get_state ( agent ) state . reset ( ) self . initialize_blocks ( ) agent . state . position = copy ( state . initial_position ) agent . state . rotation = Vector3f ( 0 , 0 , 0 ) #copy(state.initial_rotation) agent . reset ( ) return True