Skip to content

Repository files navigation

This project provides a fast recursive way of finding an optimal solution to popular variants (any number of disks and rods) of the famous tower of Hanoi

All project is represented with

Position class

which

exposes methods

  • toString()
  • solveRecursivelyWithTimeMeasurement()
  • solveRecursively()
  • solveAtDepth()

Line class

which

exposes variables

  • hash

exposes methods

  • size()
  • pop()
  • push()
  • empty()
  • peek()
  • toString()
  • copy()

occurredPositions value

which exposes past move generation results

About

hanoi tower solver

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages