class_docstr: A TreeSpace class for trees, agents, variables and methods
  related to a tree-based search space.
class_docstr_tok: ["A","TreeSpace","class","for","trees",",","agents",",","variables","and","methods","related","to","a","tree-based","search","space","."]
docstr: Creates a list of trees based on the GROW algorithm.
docstr_tok: ["Creates","a","list","of","trees","based","on","the","GROW","algorithm","."]
code: def _create_trees(self) -> None:
      """Creates a list of trees based on the GROW algorithm."""
  
      self.trees = [
          self.grow(self.min_depth, self.max_depth)
          for _ in range(self.n_agents)
      ]
  
      self.best_tree = copy.deepcopy(self.trees[0])
  
      logger.debug(
          "Depth: [%d, %d] | Terminals: %d | Function: %s.",
          self.min_depth,
          self.max_depth,
          self.n_terminals,
          self.functions,
      )
  
imports: import copy
  from typing import List, Optional, Tuple, Union
  import numpy
  import opytimizer.math.random
  import opytimizer.utils.constant
  import opytimizer.utils.exception
  from opytimizer.core import Agent, Node, Space
  from opytimizer.utils import logging
label_desc: Use image node_id 17 for calling the TreeSpace obj's underlying member method code with example usage: obj._create_trees() without return types