src/nupic/swarming/hypersearch/permutation_helpers.py
def setState(self, state):
    """See comments in base class."""
    self._position = state['_position']
    self._velocity = state['velocity']
    self._bestPosition = state['bestPosition']
    self._bestResult = state['bestResult']
def setState(self, state):
    """See comments in base class."""
    self._position = state['_position']
    self._velocity = state['velocity']
    self._bestPosition = state['bestPosition']
    self._bestResult = state['bestResult']
def setState ( self , state ) : self . _position = state [ '_position' ] self . _velocity = state [ 'velocity' ] self . _bestPosition = state [ 'bestPosition' ] self . _bestResult = state [ 'bestResult' ]
See comments in base class.
See comments in base class .