Towers of Hanoi

6 papers · 14 extracted observations · planning · Markdown · CSV · JSON API

Also indexed as: towers-of-hanoi

Showing 11 of 11 matching observations.

YearMethodMetricScoreProtocol / FacetsPaper & Evidence
2016Sorting-based algorithm (DDD) proposedmaximum disk space used283 GBpegs=4 · discs=21 · search=exhaustive breadth-first · algorithm=sorting-based DDDComparing Search Algorithms Using Sorting and Hashing on Disk and in Memory
Source quote
L185: 283 GB
2016Hash-based algorithm (DDD) proposedmaximum disk space used415 GBpegs=4 · discs=21 · search=exhaustive breadth-first · algorithm=hash-based DDDComparing Search Algorithms Using Sorting and Hashing on Disk and in Memory
Source quote
L189: 415 GB
2015SelectScript vanilla approach with nested `move` functions proposedRuntime10.09 sec sRAM=8 GB · disks=3 · execution=one-core sequential · processor=Intel Core i5-4200UReasoning in complex environments with the SelectScript declarative language
Source quote
L572: iterate over all possible configurations.{(Runtime: \SI{10.09}{sec}})}]
2015with subgoals proposedrun-times11.57 sdisks=8 · subgoals=3 per subproblemValue Iteration with Options and State Aggregation
Source quote
L162: For r disks, our state representation in the Towers of Hanoi is an r-tuple, where each element corresponds to a disk and takes values from \{1,2,3\}, denoting the peg.\footnote{Note that the state representation itself disallows placing a larger disk on top of a smaller one.} There are three actions, two for moving the smallest disk and one for moving a disk between the remaining two pegs. It is known that VI for this problem takes 2^r iterations to converge. To speed up the iteration, we introduced the following state abstraction. There are r-2 sub-problems of size 2,...,r-1. First, we solve the problem with 2 disks, i.e. our abstraction only considers the position of the two smallest disks, ignoring the rest. There are three subgoals, one for placing the two disks on each of the pegs. Then, once we obtained three models for the subgoals, we use them to solve the sub-problem of size 3, ignoring all disks except the three smallest ones. Again, there are three subgoals. We proceed until we solve the problem with r disks. For each subgoal, we need 4 iterations (Three moves and the 4th is required for the convergence criterion). The total number of iterations is 4× 3 × r, i.e. it is linear in the state space. For 8 disks this means the following speed-up: 11.57 s (with subgoals) vs. 51.65 s (model VI) vs. 23.45 s (plain VI). We note however, that the time complexity of the algorithm with subgoals is still exponential in r, because whereas the number of iterations is only linear, in each iteration we need to iterate the whole state space, which is exponential.\footnote{However, this problem is not particular to our approach --- every algorithm that purports to compute the value function for each state will have computational complexity at least as high as the number of such states.} For a stochastic version, the run-times were 357.52 s for model VI, 27.31 s for plain VI and 21.71 s for computing the same optimal value function with options with aggregation.
2013A* with Incremental KKAdd (ratio 10^-1) proposedCPU seconds (T)4.33 CPU secondspegs=4 · disks=14 · pattern-databases=bottom 12 disks and top 2 disks · backward-expansion-ratio=10^-1Robust Bidirectional Search via Heuristic Improvement
Source quote
L341: 4.33
1991I1 (integrated TD/SP) proposedweight-vector adjustments35 adjustmentsdisks=3Two Kinds of Training Information For Evaluation Function Learning
Source quote
L270: 35
1991I1 (integrated TD/SP) proposedweight-vector adjustments131 adjustmentsdisks=4Two Kinds of Training Information For Evaluation Function Learning
Source quote
L271: 131
1991I1 (integrated TD/SP) proposedweight-vector adjustments409 adjustmentsdisks=5Two Kinds of Training Information For Evaluation Function Learning
Source quote
L272: 409 trials
1991I1 (integrated TD/SP) proposedtraining trials1 trialsdisks=3Two Kinds of Training Information For Evaluation Function Learning
Source quote
L273: 1
1991I1 (integrated TD/SP) proposedtraining trials1 trialsdisks=4Two Kinds of Training Information For Evaluation Function Learning
Source quote
L274: 1
1991I1 (integrated TD/SP) proposedtraining trials1 trialsdisks=5Two Kinds of Training Information For Evaluation Function Learning
Source quote
L275: 1 queries