Giter Site home page Giter Site logo

marchete / rn_explorer Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 393 KB

Efficient Solver for Number Shifiting puzzle (https://www.codingame.com/ide/puzzle/number-shifting)

License: MIT License

Python 2.91% Shell 0.12% C++ 96.97%
codingame number-shifting lahc solver

rn_explorer's Introduction

RN_Explorer

Efficient Solver for Number Shifiting puzzle (https://www.codingame.com/ide/puzzle/number-shifting)

About 300x-1000x performance improvement from previous Solvers.

Solving time in milliseconds

Level Dancing Links LAHC LAHC + RN_Explorer
225 6318000 490000 435
336 Unsolved 14400000 43000

Level 1000 can be solved in under 60 minutes. Due to the random nature of the Solver the solving time isn't fixed. To improve times it can be parallelized, and with more cores the solver tends to solve all levels in under 20 minutes. I had 1 Full RN_Explorer node + N Half RN_Explorers, sending good aproximations to that central RN_Explorer.

See https://github.com/marchete/RN_Explorer/blob/main/Efficient%20Solver%20for%20Number%20Shifiting%20puzzle.md for more info.

It was an evolution of an older code: https://github.com/marchete/Codingame/blob/master/Optimization/Number%20Shift/NumberShift_LAHC.cpp This old code doesn't perform that well.

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.