# `Jido.Evolve.Selection.Tournament`
[🔗](https://github.com/agentjido/jido_evolve/blob/v1.0.0/lib/jido_evolve/selection/tournament.ex#L1)

Tournament selection strategy.

Selects entities by running tournaments between randomly chosen
candidates and picking the winner based on fitness scores.

# `maintain_diversity`

Default diversity maintenance that returns the selected population unchanged.

# `select`

Select entities using tournament selection.

## Options

- `:tournament_size` - Number of entities in each tournament (default: 2)
- `:pressure` - Selection pressure multiplier (default: 1.0)

## Examples

    population = ["a", "b", "c", "d"]
    scores = %{"a" => 0.8, "b" => 0.6, "c" => 0.9, "d" => 0.3}
    selected = Jido.Evolve.Selection.Tournament.select(population, scores, 2, tournament_size: 2)

---

*Consult [api-reference.md](api-reference.md) for complete listing*
