Skip to content

Artificial intelligence automated planning and scheduling.

Notifications You must be signed in to change notification settings

nepiskopos/blocks-world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Blocks World

This repository contains 2 Python source code files with a simple implementation of a solution to the Blocks world problem.

The approach followed in this solution is combining the A* search algorithm with a simple heuristic functions that counts the number of blocks that are placed in the wrong position.

This software supports up to 26 blocks (as many as the number of letters in the English alphabet).

In order to execute the code, you will also need the following 2 Python source files from the AIMA Python source code repository:

  • search.py
  • utils.py

To execute the code, place all the 4 required source files in the same directory, cd in that directory and type:

python ./Main.py -n <number-of-blocks>

The code is written in Python 3.

Releases

No releases published

Packages

No packages published

Languages