Giter Club home page Giter Club logo

Comments (8)

gewbittencourt avatar gewbittencourt commented on July 21, 2024 1

Encontrei um excelente resultado com matrizes 6x6 com as seguintes configurações

13493007_1758720861040593_737964941_n
13479959_1758720834373929_2065270166_n
13509334_1758720814373931_936147526_o

from genetic-magic-square-finder.

guisehn avatar guisehn commented on July 21, 2024

https://github.com/guisehn/genetic-magic-square-finder/tree/kill-elite-regularly

from genetic-magic-square-finder.

guisehn avatar guisehn commented on July 21, 2024

Gabriel conseguiu ótimos resultados após colocarmos isso.

13493175_1758709524375060_557997192_o

  • 5x5
  • Eliminação da elite a cada 15.000 gerações sem novos quadrados mágicos
  • ponto de corte limitado a random.nextInt(7)+17

from genetic-magic-square-finder.

guisehn avatar guisehn commented on July 21, 2024

from genetic-magic-square-finder.

gewbittencourt avatar gewbittencourt commented on July 21, 2024

Um detalhe interessante. Fiz o download de todo o código que possui a bomba atômica já implementada, e ao tentar gerar as matrizes 6x6 houve estouro de memoria na geração 1000. Isso foi testado em dois computadores.

from genetic-magic-square-finder.

guisehn avatar guisehn commented on July 21, 2024

@gewbittencourt estranho, não deveria ter relação com essa parte do código que remove os indivíduos da elite, já que ele roda numa geração bem mais tarde. Tenta remover o código que imprime as gerações na interface e veja se continua ocorrendo.

from genetic-magic-square-finder.

gewbittencourt avatar gewbittencourt commented on July 21, 2024

@guisehn reparei que, apenas quando é realizado o build do projeto o problema ocorre. Quando ele é executado pelo Netbeans ele roda tranquilamente sem dar estouro de memoria.

Estou executando testes de desempenho em matrizes 6x6 e logo mais farei o teste que pediste.

from genetic-magic-square-finder.

guisehn avatar guisehn commented on July 21, 2024

Diminuí ontem o intervalo de output de 1000 para 500 conforme falamos. Sobre o estouro de memória se continuar acontecendo vamos continuar a discussão na issue #1

from genetic-magic-square-finder.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.