class_docstr: A random agent using spring-like forces for its action evolution.
class_docstr_tok: ["A","random","agent","using","spring-like","forces","for","its","action","evolution","."]
code: def clip_action(self, action):
      return np.clip(action, self.mins, self.maxs).astype(np.intc)
  
file_path: lab/python/random_agent.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import argparse
  import random
  import numpy
  import six
  import deepmind_lab
label_desc: Use image node_id 4 for calling the SpringAgent obj's underlying member method code with example usage: obj.clip_action(action) and returns: np