class_docstr: An algo that always returns a child trial branched from the parent.
code: def suggest(self, num):
      new_trial = self.space.sample(1)[0]
      if self.base_suggestion is not None:
          self.base_suggestion = self.base_suggestion.branch(
              params=new_trial.params
          )
      else:
          self.base_suggestion = new_trial
      self.register(self.base_suggestion)
      return [self.base_suggestion]
  
imports: from __future__ import annotations
  import copy
  import typing
  from typing import Any, ClassVar
  import numpy
  import pytest
  from orion.algo.base import BaseAlgorithm
  from orion.algo.space import Space
  from orion.core.io.space_builder import SpaceBuilder
  from orion.core.utils import backward, format_trials
  from orion.core.worker.algo_wrappers.space_transform import SpaceTransform
  from orion.core.worker.transformer import build_required_space
  from orion.core.worker.trial import Trial
  from orion.testing.dummy_algo import FixedSuggestionAlgo
  from .base import AlgoWrapperTests
label_desc: Use image node_id 2 for calling the GenealogistAlgo obj's underlying member method code with example usage: obj.suggest(num) and returns: list