如何重新present河内的一个塔使用曲线的问题? [英] How to represent a Towers of Hanoi problem using a graph?

查看:163
本文介绍了如何重新present河内的一个塔使用曲线的问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法弄清楚如何显示这里图表构建?

I am not able to figure out how the graphs shown here are constructed?

例如,请问这个图再present?

For example, what does this graph represent?

替代文字

节点是盘的分布,但我只会有规模的一个盘 A 。那么,什么是节点 AA 重present?

"Nodes are distribution of discs", but I will only have one disc of size a. So, what does node aa represent?

我知道答案是简单的,但我不能算出它的那一刻。

I know the answer would be simple, but I cannot figure it out at the moment.

推荐答案

A B C 是三根柱子。因此, AA 表示,这两个盘都在PEG A

a, b and c are the three pegs. So aa means that the two discs are on peg a.

这篇关于如何重新present河内的一个塔使用曲线的问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆