class_docstr: Lineages of trials for workers in PBT
  
  This class regroup all lineages of trials generated by PBT for a given experiment.
  
  Each lineage is a path from a leaf trial (highest fidelity level) up to the root
  (lowest fidelity level). Multiple lineages can fork from the same root, forming a tree.
  A Lineages object may reference multiple trees of lineages. Iterating a Lineages object will
  iterate on the roots of these trees.
docstr: Set a jump between two trials
  
  This jump is set to represent the relation between the base trial and the new trial.
  This means the base trial was dropped during exploit and the new trial is the result
  of a fork from another trial selected during exploit.
  
  Both trials should already be registered in the Lineages.
  
  Parameters
  ----------
  base_trial: ``orion.core.worker.trial.Trial``
      The base trial that was dropped.
  new_trial: ``orion.core.worker.trial.Trial``
      The new trial that was forked.
  
  Raises
  ------
  KeyError
      If the base trial or the new trial are not already registered in the Lineages.
docstr_tok: ["Set","a","jump","between","two","trials","This","jump","is","set","to","represent","the","relation","between","the","base","trial","and","the","new","trial",".","This","means","the","base","trial","was","dropped","during","exploit","and","the","new","trial","is","the","result","of","a","fork","from","another","trial","selected","during","exploit",".","Both","trials","should","already","be","registered","in","the","Lineages",".","Parameters","--","--","--","--","--","base_trial",":","``","orion.core.worker.trial.Trial","``","The","base","trial","that","was","dropped",".","new_trial",":","``","orion.core.worker.trial.Trial","``","The","new","trial","that","was","forked",".","Raises","--","--","--","KeyError","If","the","base","trial","or","the","new","trial","are","not","already","registered","in","the","Lineages","."]
code: def set_jump(self, base_trial: Trial, new_trial: Trial) -> None:
      """Set a jump between two trials
  
      This jump is set to represent the relation between the base trial and the new trial.
      This means the base trial was dropped during exploit and the new trial is the result
      of a fork from another trial selected during exploit.
  
      Both trials should already be registered in the Lineages.
  
      Parameters
      ----------
      base_trial: ``orion.core.worker.trial.Trial``
          The base trial that was dropped.
      new_trial: ``orion.core.worker.trial.Trial``
          The new trial that was forked.
  
      Raises
      ------
      KeyError
          If the base trial or the new trial are not already registered in the Lineages.
  
      """
      self.get_lineage(base_trial).set_jump(self.get_lineage(new_trial))
  
imports: from __future__ import annotations
  import copy
  import logging
  import time
  from typing import Any, ClassVar, Iterable, Sequence
  import numpy
  from orion.algo.base import BaseAlgorithm
  from orion.algo.pbt.exploit import exploit_factory
  from orion.algo.pbt.explore import explore_factory
  from orion.algo.random import Random
  from orion.algo.space import Fidelity, Space
  from orion.core.utils.flatten import flatten
  from orion.core.utils.tree import TreeNode
  from orion.core.worker.transformer import TransformedDimension
  from orion.core.worker.trial import Trial
label_desc: Use image node_id 7 for calling the Lineages obj's underlying member method code with example usage: obj.set_jump(base_trial, new_trial) without return types