Description Usage Arguments Details Value
Tries to improve a solution by local search (heuristical swap) Stops when improvement is detected*
1 | ffa.improve(p, w, v, satur, G)
|
p |
vector of colors |
w |
vector of weights |
v |
number of violations |
G |
graph |
NOTE: The paper is a little bit unclear about this procedure. It says the heuristical swap operator is executed until the improvements are detected, but it doens't say exactly how to proceed after a no improvement Some questions of when there is no improvement: should the next uncolored vertex be considered? or should the next swap be on the result of the previous swap?
This version assumes the next uncolored vertex should be considered in case of no improvement.*
list with the permutation of w and its related p, v and number of its functions evaluated
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.