def stateID2state(self, s_id):

        # Find the bin number on each dimension
        s = np.array(id2vec(s_id, self.bins_per_dim))

        # Find the value corresponding to each bin number
        for d in xrange(self.domain.state_space_dims):
            s[d] = bin2state(s[d], self.bins_per_dim[d], self.domain.statespace_limits[d,:])

        if len(self.domain.continuous_dims) == 0:
            s = s.astype(int)
        return s
Returns the state vector correponding to a state_id.
dataset/ETHPy150Open rlpy/rlpy/rlpy/Representations/Representation.py/Representation.stateID2state