User Tools

Site Tools


16._regeneration_around_the_mothers

The Capsis training online

Back to the table of contents

16. Regeneration around the mothers

Purpose: Refine the regeneration method

Statement of the exercise: Write an alternative regeneration method:

  1. only trees older than 20 years old can regenerate
  2. they give birth to at most regenerationMax trees
  3. these new trees are located around their mother
  4. at a max distance of: maxDistance = mother height / 2;

Helper and solution

Back to the table of contents

16._regeneration_around_the_mothers.txt ยท Last modified: 2021/12/13 09:28 by 127.0.0.1