Tune.Space.Text (Tune v0.5.0)

Copy Markdown View Source

A bounded text space for simple evolutionary search.

Summary

Types

t()

@type t() :: %Tune.Space.Text{
  alphabet: [String.t()],
  max_length: non_neg_integer(),
  min_length: non_neg_integer()
}

Functions

new(opts)

@spec new(keyword()) :: {:ok, t()} | {:error, Exception.t()}