Skip to content

A* search for the Hanoi problem, with any initial condition. The algorithm is implemented in Prolog.

Notifications You must be signed in to change notification settings

BrunoScaglione/AI-AStar-Hanoi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A* search for the Hanoi problem, with any initial condition.

This project is part of the Artifical Intelligence Course from the department of Mechatronics of the University of São Paulo (USP). The goal was to develop, in Prolog, the A* algorithm that solves the problem the Hanoi problem. The Hanoi problem: 5 diks are distrubuted across 3 poles, respecting the constraint that a disk cannot be on top of a smaller disk. The problem is to find the optimal sequence of actions, for any initial condition, so that, in the end, all disks are stacked at the destination pole.

Features

  • A* — Informed search algorithm;
  • Prolog — Logic programming language associated with artificial intelligence and computational linguistics;
  • Hanoi problem — Explained above.

Requirements

  • SWISH-Prolog environment

Authors

Me, Lucas Hattori and Lucas Okamura.

About

A* search for the Hanoi problem, with any initial condition. The algorithm is implemented in Prolog.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages