# `Jido.Evolve.Mutation.Text`
[🔗](https://github.com/agentjido/jido_evolve/blob/v1.0.0/lib/jido_evolve/mutation/text.ex#L1)

Text-specific mutation strategy that works directly with strings.

This mutation strategy is designed specifically for text/string evolution
and provides efficient mutations for string data.

# `mutate`

Apply random mutations to a string entity.

## Options

- `:rate` - Mutation rate (0.0 to 1.0), default: 0.1
- `:strength` - Mutation strength (0.0 to 1.0), default: 0.5
- `:operations` - List of allowed operations (default: [:replace])

## Examples

    iex> {:ok, mutated} = Jido.Evolve.Mutation.Text.mutate("hello", rate: 0.5)
    iex> is_binary(mutated)
    true

# `mutation_strength`

Calculate mutation strength based on generation number.
Returns a value between 0.0 and 1.0.

---

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