Module evosim::mutate::geno_mutate

source ·
Expand description

implementation of geno (morphyologt) mutation

Constants

Functions

  • gain_limb 🔒
    gain a new limb as the child of the index node return type means success or fail
  • if a block has its size changed, all its subnode will have their position changed
  • lose_limb 🔒
    the blob lose a block at index idx, and all its subnodes. (but in the implementation, dropped candidates can only be leaf nodes)
  • mutate size of blocks for a blob
  • loop over all blobs to mutate geno. mutate tree-structure, block-size, joint-limit in the order
  • Mutate joint limit of limbs
  • mutate the size of a single block to the new size provided
  • gain or lose limbs for a blob
  • generate a new random GenericGenoNode