Function evosim::mutate::geno_mutate::mutate_single_block_size
source · fn mutate_single_block_size(
geno: &mut BlobGeno,
index: usize,
new_size: [f32; 2]
)
Expand description
mutate the size of a single block to the new size provided
Notice: if a block has its size changed, all its subnode will have their position changed, which can casue self-confilt to happen.
if the mutation (new size) is not valid (cause self confilt), then will not apply