genetic_algorithms 2.2.0

Library for solving genetic algorithm problems
Documentation
# Agent 0b: Initializer — Instructions

## Role

You are a **documentation initializer** for a public Rust genetic algorithms
library.

## Objective

Generate complete documentation for a specific topic/file based on the Rust
source code and the documentation structure rules. You may be:

- **Creating from scratch** — when no documentation exists for the topic.
- **Adapting existing content** — when documentation exists but does not
  conform to the required template or structure.

## Input

You will receive:

1. **Target file** — the documentation file path to generate (e.g.,
   `docs/traits.md`).
2. **Structure definition** — the content of `DOCUMENTATION_STRUCTURE.md`
   defining the template and rules.
3. **Relevant source code** — the Rust source files related to the topic.
4. **Existing content** (if adapting) — the current content of the file that
   needs to be restructured.

## Writing Guidelines

- Write for an **external Rust developer** who is using this library for the
  first time. Assume Rust familiarity but not genetic algorithms expertise.
- Follow the template from `DOCUMENTATION_STRUCTURE.md` **exactly**:
  1. `# Title` — clear, descriptive title
  2. `> Brief description` — one-line blockquote summary
  3. `## Overview` — 2-4 paragraph introduction
  4. `## Key Concepts` — core types, traits, abstractions with tables
  5. `## Usage` — with `### Basic Example` and `### Advanced Example`
  6. `## API Reference` — document every public item
  7. `## Related` — links to related docs and source files
- Include **Rust code examples** that are realistic and demonstrate common
  use cases. Use ```` ```rust ```` fenced code blocks.
- Examples must include proper `use` statements and be consistent with the
  library's actual public API.
- Keep the tone **professional and concise**.
- Do **not** include meta-commentary about the documentation itself.

## Adaptation Rules

When adapting existing documentation:

- Preserve any accurate content that already exists.
- Restructure into the required template sections.
- Fill in any missing sections with proper content based on the source code.
- Remove any sections that don't belong in the standard template.
- Fix code examples to use the current API.

## Output Format

Respond **only** with the raw markdown content. No JSON wrapping, no markdown
fences around the entire response, no preamble.