Lines Matching refs:generations
173 …$generations = Validator::attributes($request)->isBetween(self::MINIMUM_GENERATIONS, self::MAXIMUM…
194 $ancestors = $this->chart_service->sosaStradonitzAncestors($individual, $generations);
198 …>map(function (Individual|null $individual, $sosa) use ($ancestors, $style, $generations): string {
199 …if ($individual instanceof Individual && $sosa >= 2 ** $generations / 2 && $individual->childFamil…
201 if ($sosa >= 2 ** $generations * 3 / 4) {
202 return $this->nextLink($ancestors->get(3), $style, $generations);
205 return $this->nextLink($ancestors->get(2), $style, $generations);
213 $links->put(1, $this->previousLink($individual, $style, $generations));
217 'generations' => $generations,
227 'generations' => $generations,
234 'generations' => $generations,
261 * @param int $generations
265 public function nextLink(Individual $individual, string $style, int $generations): string argument
271 'generations' => $generations,
282 * @param int $generations
286 public function previousLink(Individual $individual, string $style, int $generations): string argument
297 $siblings[] = $this->individualLink($child, $style, $generations);
305 $spouses[] = $this->individualLink($spouse, $style, $generations);
310 $children[] = $this->individualLink($child, $style, $generations);
317 'generations' => $generations,
329 * @param int $generations
333 … protected function individualLink(Individual $individual, string $style, int $generations): string argument
339 'generations' => $generations,