class_docstr: Structured policy class designed to work with structured environments.
  (see :class:`~maze.core.env.structured_env.StructuredEnv`).
  
  It encapsulates policies and queries them for actions according to the provided policy ID.
class_docstr_tok: ["Structured","policy","class","designed","to","work","with","structured","environments",".","(","see",":","class",":","`","~maze.core.env.structured_env.StructuredEnv","`",")",".","It","encapsulates","policies","and","queries","them","for","actions","according","to","the","provided","policy","ID","."]
docstr: Seed the policy to be used.
  Here the given seed should be used to initialize any random number generator or random state used to sample from
  distributions or any other form of randomness in the policy. This ensures that when the policy is explicit
  seeded it is reproducible.
  
  :param seed: The seed to use for all random state objects withing the policy.
docstr_tok: ["Seed","the","policy","to","be","used",".","Here","the","given","seed","should","be","used","to","initialize","any","random","number","generator","or","random","state","used","to","sample","from","distributions","or","any","other","form","of","randomness","in","the","policy",".","This","ensures","that","when","the","policy","is","explicit","seeded","it","is","reproducible",".",":","param","seed",":","The","seed","to","use","for","all","random","state","objects","withing","the","policy","."]
code: def seed(self, seed: int) -> None:
      """Seed the policy to be used.
      Here the given seed should be used to initialize any random number generator or random state used to sample from
      distributions or any other form of randomness in the policy. This ensures that when the policy is explicit
      seeded it is reproducible.
  
      :param seed: The seed to use for all random state objects withing the policy.
      """
  
file_path: maze/maze/core/agent/policy.py
imports: from abc import ABC, abstractmethod
  from typing import Tuple, Optional, List
  from maze.core.env.action_conversion import ActionType
  from maze.core.env.base_env import BaseEnv
  from maze.core.env.maze_state import MazeStateType
  from maze.core.env.observation_conversion import ObservationType
  from maze.core.env.structured_env import ActorID
  from maze.core.trajectory_recording.records.spaces_record import PolicyRecordType
label_desc: Use image node_id 1 for calling the Policy obj's underlying member method code with example usage: obj.seed(seed) without return types