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

get_weighted_degree_decay(-Decay)

Return the current decay rate for weighted degree.
Decay
(Domain) variable

Description

Return the current decay rate for weighted degree. The decay rate governs how fast the weighted degree decays -- each time a failure occurs during Gecode's constraint propagation, the constraint that failed will have 1 added to its failure count, while all other constraints' failure count is updated by multiplying its old value by the decay rate. The decay rate is a floating point value between 1 (no decay) and 0 (decay to 0 immediately). The weighted degree for a domain variable is the sum of all the failure counts of the constraints that the variable occurs in.