09.05.2013 Views

Algoritmos Heurísticos de Cobertura de Arcos

Algoritmos Heurísticos de Cobertura de Arcos

Algoritmos Heurísticos de Cobertura de Arcos

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Retorne s* ;<br />

Fim.<br />

Procedimento BLR (S, h, [bit1,..., bitL], L)<br />

Início<br />

Enquanto ∃bit, bit=1 faça<br />

Para i ←1 até L faça<br />

Se biti=1 então {Busca <strong>de</strong> subvizinhanças<br />

para mov. <strong>de</strong> melhora}<br />

Mov ← conjunto <strong>de</strong> movimentos na sub-vizinhança <strong>de</strong><br />

i<br />

Para cada movimento m em Mov faça<br />

s’ ← m(s); {s’ é a solução gerada pelo<br />

movimento m}<br />

Se h(s’)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!