Jump to content

Evolução Pestanilha + Natanael=metodo killer


Pestaninha

Recommended Posts

Graças a colaboração intensa de nosso amigo Natanael, estou obtendo algumas ideias mirabolantes de otimização de Pestanilhas.

A nova matriz de 6 campeã do nosso amigo postada em seu outro topico é esta aqui:

1	2	3	4	9	11	12	13	15	17	19	21	22	23	25
1 2 5 7 10 11 12 13 14 16 17 18 20 24 25
2 4 5 6 7 9 11 14 15 16 18 19 22 23 24
2 3 4 5 6 8 10 11 13 15 20 21 23 24 25
1 4 7 8 9 10 12 16 17 19 20 21 22 23 24
1 3 5 6 7 10 12 13 15 16 18 19 20 21 22

Meu método supõe na lei de Descartes de que dividir é conquistar, logo separamos as pestanilhas:

A

1	2	3
1 2 5
2 4 5
2 3 4
1 4 7
1 3 5

B

22	23	25
20 24 25
22 23 24
23 24 25
22 23 24
20 21 22

E o core de 9 dezenas:

4	9	11	12	13	15	17	19	21
7 10 11 12 13 14 16 17 18
6 7 9 11 14 15 16 18 19
5 6 8 10 11 13 15 20 21
8 9 10 12 16 17 19 20 21
6 7 10 12 13 15 16 18 19

Tive que construir um pequeno programa que combinasse as pestanilhas com os cores diversos e tambem para gerar o core aleatoriamente de acordo com a inversa da união dos conjuntos A e B. Com essa inversa eu sorteio 9 dezenas aleatoriamente e junto como se fosse um novo core, formando um jogo de 15 dezenas.

Aqui o resultado dos dois:

Core fixo:

 01 02 03 04 09 11 12 13 15 17 19 21 22 23 24
01 02 03 05 06 08 10 11 13 15 20 21 22 23 24
01 02 03 05 06 08 10 11 13 15 20 21 22 23 25
01 02 03 05 06 08 10 11 13 15 20 21 23 24 25
01 02 03 06 07 09 11 14 15 16 18 19 20 24 25
01 02 03 06 07 09 11 14 15 16 18 19 22 23 24
01 02 03 06 07 09 11 14 15 16 18 19 22 23 25
01 02 03 06 07 10 12 13 15 16 18 19 20 21 22
01 02 03 07 10 11 12 13 14 16 17 18 20 21 22
01 02 03 07 10 11 12 13 14 16 17 18 22 23 24
01 02 03 07 10 11 12 13 14 16 17 18 23 24 25
01 02 03 08 09 10 12 16 17 19 20 21 22 23 25
01 02 04 05 09 11 12 13 15 17 19 21 23 24 25
01 02 05 06 07 09 11 14 15 16 18 19 23 24 25
01 02 05 06 07 10 12 13 15 16 18 19 23 24 25
01 02 05 07 10 11 12 13 14 16 17 18 20 21 22
01 02 05 08 09 10 12 16 17 19 20 21 22 23 24
01 03 04 05 09 11 12 13 15 17 19 21 22 23 24
01 03 04 05 09 11 12 13 15 17 19 21 22 23 25
01 03 05 06 07 09 11 14 15 16 18 19 20 21 22
01 03 05 06 07 09 11 14 15 16 18 19 23 24 25
01 03 05 06 07 10 12 13 15 16 18 19 20 21 22
01 03 05 07 10 11 12 13 14 16 17 18 20 24 25
01 03 05 07 10 11 12 13 14 16 17 18 22 23 25
01 03 05 08 09 10 12 16 17 19 20 21 22 23 25
01 03 05 08 09 10 12 16 17 19 20 21 23 24 25
01 04 05 06 07 08 10 11 13 15 20 21 22 23 24
02 03 04 05 06 08 10 11 13 15 20 21 22 23 24
02 03 04 06 07 09 11 14 15 16 18 19 22 23 24
02 03 04 07 10 11 12 13 14 16 17 18 20 21 22
02 03 04 07 10 11 12 13 14 16 17 18 20 24 25
02 03 04 07 10 11 12 13 14 16 17 18 22 23 24
02 03 04 08 09 10 12 16 17 19 20 21 22 23 24
02 04 05 06 07 09 11 14 15 16 18 19 22 23 24
02 04 05 06 07 09 11 14 15 16 18 19 22 23 25
02 04 05 06 07 09 11 14 15 16 18 19 23 24 25
02 04 05 06 07 10 12 13 15 16 18 19 23 24 25
02 04 05 07 10 11 12 13 14 16 17 18 20 21 22
02 04 05 07 10 11 12 13 14 16 17 18 22 23 24
02 04 05 07 10 11 12 13 14 16 17 18 22 23 25
02 04 05 08 09 10 12 16 17 19 20 21 22 23 24

Obs: no core fixo houve 9 repetições excluidas pelo Cologa no fechamento.

Core variável:

 01 02 03 04 05 06 07 13 14 17 18 20 21 22 24
01 02 03 04 05 06 08 10 13 15 20 21 22 23 24
01 02 03 04 05 06 08 13 15 20 21 22 23 24 25
01 02 03 04 05 06 09 11 13 14 15 19 22 23 25
01 02 03 04 05 06 09 12 13 14 17 20 21 22 23
01 02 03 04 05 07 09 10 14 16 17 20 21 22 23
01 02 03 04 05 07 11 12 18 19 20 21 22 24 25
01 02 03 04 05 09 11 12 13 14 19 21 22 23 25
01 02 03 04 07 11 13 14 18 19 20 21 22 23 24
01 02 03 05 06 07 09 15 16 17 21 22 23 24 25
01 02 03 05 07 08 09 10 11 14 18 21 22 23 25
01 02 03 05 07 08 11 13 17 18 19 22 23 24 25
01 02 03 05 07 09 10 11 13 14 15 18 20 21 22
01 02 03 05 07 12 15 16 17 19 20 21 22 23 24
01 02 03 06 08 09 13 14 15 19 20 21 23 24 25
01 02 03 06 08 10 12 13 16 18 19 20 22 23 25
01 02 04 05 06 07 12 13 14 16 18 19 20 24 25
01 02 04 05 07 08 11 15 16 18 20 22 23 24 25
01 02 04 06 07 09 10 15 16 19 21 22 23 24 25
01 02 04 07 08 10 13 15 17 18 19 20 22 23 25
01 02 05 06 09 11 13 15 18 19 20 21 22 23 25
01 03 04 05 06 07 08 09 10 12 21 22 23 24 25
01 03 04 05 07 08 09 13 14 15 20 21 23 24 25
01 03 04 05 07 08 09 14 15 17 18 20 21 22 24
01 03 04 05 07 08 11 13 14 17 18 22 23 24 25
01 03 04 05 07 10 11 14 15 16 18 22 23 24 25
01 03 04 05 08 09 10 12 13 16 17 19 22 23 24
01 03 04 05 10 11 13 14 17 18 20 21 22 23 25
01 03 04 07 09 14 16 18 19 20 21 22 23 24 25
01 03 05 06 08 10 14 17 18 19 20 21 22 23 25
01 04 05 07 08 10 12 14 15 16 20 21 22 23 25
01 04 06 07 09 12 14 15 16 17 18 20 21 22 25
01 04 07 08 11 12 14 15 16 20 21 22 23 24 25
02 03 04 05 06 07 09 10 13 14 15 16 23 24 25
02 03 04 05 06 07 09 10 14 17 19 21 23 24 25
02 03 04 05 06 09 10 12 15 18 20 21 22 23 24
02 03 04 05 08 09 12 16 17 19 20 21 22 23 25
02 03 04 07 08 09 10 11 13 14 19 20 21 22 23
02 04 05 06 07 08 12 13 14 17 19 20 22 24 25
02 04 05 06 07 12 13 15 16 17 20 21 23 24 25
02 04 05 06 07 12 15 16 19 20 21 22 23 24 25

Criei este programa pois a recombinação core + pestanilha exige validaçao. Não há como combinar por exemplo a pestanilha 1 4 7 com o core 7 10 12 13 15 16 18 19, já que o numero 7 se repetiria, com isso torna a geração das dezenas maçante e sujeita a erros. O mesmo acontece nos finais.

Gostaria de compartilhar o metodo pois ainda está em evolução. 8-)

Os créditos aí são todas do nosso mestre, estou apenas tentando aproveitar de suas sábias contribuições. 8-)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...