code: def getState(self):
      
      return dict(_position = self.getPosition(),
                  position = self.getPosition(),
                  velocity = None,
                  bestPosition = self.choices[self._bestPositionIdx],
                  bestResult = self._bestResult)
docs: See comments in base class.