[ library(gfd) | Reference Manual | Alphabetic Index ]
get_regret_upb(?Var, -Regret)
Returns the regret value for the upper bound of Var.
- Var
- A domain variable
- Regret
- Regret value
Description
Returns the regret value for the upper bound of the variable, that is,
the magnitude of the difference between the largest and second largest
value in the variable's domain. This can be used in selecting a variable
for labelling.
Modes and Determinism
- get_regret_upb(?, -) is det