def sampling_dim(self, dim, typ):
    if (typ == spaces.discrete):
        return dim
    elif (typ == spaces.box):
        return (2 * dim)
    else:
        assert False
def sampling_dim(self, dim, typ):
    if (typ == spaces.discrete):
        return dim
    elif (typ == spaces.box):
        return (2 * dim)
    else:
        assert False