def setState(self, state):
    """See comments in base class."""
    self._positionIdx = self.choices.index(state['_position'])
    self._bestPositionIdx = self.choices.index(state['bestPosition'])
    self._bestResult = state['bestResult']
def setState(self, state):
    """See comments in base class."""
    self._positionIdx = self.choices.index(state['_position'])
    self._bestPositionIdx = self.choices.index(state['bestPosition'])
    self._bestResult = state['bestResult']
def setState ( self , state ) : self . _positionIdx = self . choices . index ( state [ '_position' ] ) self . _bestPositionIdx = self . choices . index ( state [ 'bestPosition' ] ) self . _bestResult = state [ 'bestResult' ]
See comments in base class.
See comments in base class .