src/seals/diagnostics/noisy_obs.py
def initial_state(self) -> np.ndarray:
        """Returns one of the grid's corners."""
        n = self._size
        corners = np.array([[0, 0], [n - 1, 0], [0, n - 1], [n - 1, n - 1]])
        return corners[self.rand_state.randint(4)]
Returns one of the grid's corners.
Returns one of the grid's corners.
Returns one of the grid ' s corners .
def initial_state(self) -> np.ndarray:
        n = self._size
        corners = np.array([[0, 0], [n - 1, 0], [0, n - 1], [n - 1, n - 1]])
        return corners[self.rand_state.randint(4)]
def initial_state ( self ) -> np . ndarray : n = self . _size corners = np . array ( [ [ 0 , 0 ] , [ n - 1 , 0 ] , [ 0 , n - 1 ] , [ n - 1 , n - 1 ] ] ) return corners [ self . rand_state . randint ( 4 ) ]
Returns one of the grid's corners.
Returns one of the grid ' s corners .
"""Returns one of the grid's corners."""
self