Meta.Problem.Variable (TP I v0.1.0) View Source

Definition of an arbitrary problem variable.

The name is used in problem-solving meta-heuristics algorithms and the constraint key is used to respect the boundaries of a problem.

Link to this section Summary

Link to this section Types

Specs

t() :: %Meta.Problem.Variable{
  constraint: Meta.Problem.Constraint.t(),
  name: atom(),
  value: float()
}