Code Monkey home page Code Monkey logo

search's Introduction

This project contains implementations of the following algorithms:
- Breath First Search
- Depth First Search
- Uniform Cost Search

The description of the proposed task is in another file in this repository. You also may find files named "problem(number).txt" which contains the problem that the algorithm must solve. For example: in file problem0.txt, you can see "Em(Arad) Em(Bucharest)", which represent the problem to travel from Arad to Bucharest in the Romania's Map problem.

In order to execute this program you must to import the project properly, click in Run -> Run Configurations -> Choose the tab 'Arguments' and type the parameters in the following format:

ucs problem1.txt

And the click in the Apply button, and Run the project.


In order to run the experiments and see the time consumed by every algorithm, you should run the .jar file as the following comand:

time java -jar Search.jar ucs Search/problema0.txt > /dev/null

search's People

Contributors

dieinisonbraga 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.