class_docstr: A simple genetic algorithm implementing truncation selection.
class_docstr_tok: ["A","simple","genetic","algorithm","implementing","truncation","selection","."]
code: def ask(self) -> jnp.ndarray:
      self.rand_key, self.params = self.ask_fn(
          self.rand_key, self.params
      )
      return self.params
  
file_path: evojax/evojax/algo/simple_ga.py
imports: import logging
  import numpy
  from typing import Union
  from typing import Tuple
  import jax
  import jax.numpy
  from evojax.algo.base import NEAlgorithm
  from evojax.util import create_logger
label_desc: Use image node_id 2 for calling the SimpleGA obj's underlying member method code with example usage: obj.ask() and returns: self