Giter Club home page Giter Club logo

karim-53 / artificialintelligence-puzzle-using-nondeterministic-search Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dorraelmekki/artificialintelligence-puzzle-using-nondeterministic-search

0.0 1.0 0.0 2 KB

Solution to this problem using Nondeterministic Search: You have two jugs. One holds 10 liters of water when completely full, the other holds 6 liters when completely full. You have an unlimited source of water to fill either or both jugs, and you may do so as often as you like, but there are no markings on the jugs, so if you fill a jug the only way to know how much water you’ve put in is if you fill it to the top. In addition, you have amazing accuracy in pouring water from one jug to another and never lose a drop. When you do choose to pour water from one jug to another you must keep pouring until either the receiving jug is full or the source jug is emptied of water. You can also always choose to fully empty either jug. Can you get 8 liters of water in the larger jug?

Python 100.00%

artificialintelligence-puzzle-using-nondeterministic-search's People

Contributors

karim-53 avatar

Watchers

 avatar

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.