Skip to content

Instantly share code, notes, and snippets.

@pedroduartecosta
Created June 12, 2017 19:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pedroduartecosta/3c9c1712bb0eadb9360c0472521a5856 to your computer and use it in GitHub Desktop.
Save pedroduartecosta/3c9c1712bb0eadb9360c0472521a5856 to your computer and use it in GitHub Desktop.
2.
1 2 3 4 5
TA,TB,TC,TD,TE
a.
1 tarefa -> 5min
i) 10 01 11 10 11
ii) 11 11 11 10 11
iii) 01 01 01 10 10
iv) 10 01 11 10 10
b.
Valor de adaptação:
i) 3*(1/10 + 2/10 + 2/10) = 1.5
ii) 2* (1/20 + 4/20) = 0.5
iii) 2* (3/15 + 2/15) = 0.677
iv) 3*(1/15 + 3/15 + 1/15) = 1
c. Politica elitista - para o melhor
roleta:
0.85
0.35
0.5
Processo de seleção:
------------------------------------------------------
| Fa | Prob. de Seleção | Intervalo | Roleta
1 | 1.5 | 0.41 | 0 - 0.4 | 0.35
2 | 0.5 | 0.14 | 0.4 - 0.54 | 0.5
3 | 0.67 | 0.18 | 0.54 - 0.72| -
4 | 1 | 0.272 | 0.72 - 1 | 0.85
Candidatos a emparelhar
1 | Elitista
4 | Probabilista
1 | Probabilista
2 | Probabilista
d.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment