[ library(gfd) | Reference Manual | Alphabetic Index ]

# get_regret_lwb(?Var, -Regret)

Returns the regret value for the lower bound of Var.

Var
  A domain variable
Regret
  Regret value

## Description

Returns the regret value for the lower bound of the variable, that is, the magnitude of the difference between the lowest and second lowest value in the variable's domain. This can be used in selecting a variable for labelling.

### Modes and Determinism

- get_regret_lwb(?, -) is det