furlong v0.2.0 Furlong.Strength View Source

Standard constraint strengths.

Solver functions generally offer shortcuts via atoms :required, :strong, :medium, :weak.

Link to this section Summary

Functions

Clips given constraint strength at a maximum of required strength.

Medium constraint strength.

Required (highest strength).

Strong constraint strength.

Weak (lowest strength).

Tests whether first constraint strength is weaker than second constraint strength.

Link to this section Functions

Clips given constraint strength at a maximum of required strength.

Medium constraint strength.

Required (highest strength).

Strong constraint strength.

Weak (lowest strength).

Link to this function

weaker_than?(arg1, arg2)

View Source

Tests whether first constraint strength is weaker than second constraint strength.