Lines Matching refs:generations
35 * @param int $generations Fetch this number of generations
39 public function sosaStradonitzAncestors(Individual $individual, int $generations): Collection argument
45 $max = 2 ** ($generations - 1);
76 * @param int $generations Fetch this number of generations
80 public function descendants(Individual $individual, int $generations): Collection argument
84 if ($generations > 0) {
88 … $descendants = $descendants->merge($this->descendants($child, $generations - 1));
101 * @param int $generations Fetch this number of generations
105 public function descendantFamilies(Individual $individual, int $generations): Collection argument
109 if ($generations > 0) {
112 … $descendants = $descendants->merge($this->descendantFamilies($child, $generations - 1));