Play for Science
文章来源: 文章作者: 发布时间:2008-01-23 02:42 字体: [ ]  进入论坛
(单词翻译:双击或拖选)
Daniel Kunkle spent most of his time in graduate school playing with a colorful puzzle called a Rubik's Cube. And for 20 years, Jonathan Schaeffer worked on winning at checkers.

The two researchers weren't goofing1 off. With clever computer programming, Kunkle figured out that any Rubik's Cube can be solved in 26 moves or fewer. The previous record was 27. And Schaeffer proved that if both opponents in a checkers game play flawlessly, the game will always end in a tie.

 

 

Playing games and puzzles is a great way to sharpen your problem-solving skills.

Playing games and puzzles is a great way to sharpen your problem-solving skills.

 

 

Studying puzzles and games may sound like fun, but the work might also eventually help scientists solve real-world problems.

Cracking the cube

Each side of a Rubik's Cube is divided into nine squares, like a tic-tac-toe board. When the puzzle is solved, all nine squares (called facelets) on each side are the same color as one another. So, there's a red side, a green side, and so on. Hinges allow rows of facelets to rotate.

 

 

When the puzzle is solved, each side of a Rubik's Cube contains squares, or facelets, of just one color.

When the puzzle is solved, each side of a Rubik's Cube contains squares, or facelets, of just one color.

TheCoffee/Wikipedia

 

A series of random2 rotations3 mixes up the colors. To solve the puzzle, you have to make the right series of twists to group the colors.

The facelets of a Rubik's Cube can be arranged in about 43 quintillion (that's 43 with 18 zeros after it) possible ways. By hand, it can take a long time to find a solution.

A computer can try every possible move and compare solutions to solve the problem much more quickly. But with so many potential arrangements (also called configurations5), even the world's fastest computer would need a ridiculously long time to solve the problem.

To save time, Kunkle and computer scientist Gene6 Cooperman of Northeastern University in Boston, Mass., looked for strategies to break the problem into smaller pieces.

First, they calculated how many steps would be required to solve the puzzle using only half-turns, which send a facelet to the opposite side of the cube. They excluded quarter-turns, in which a facelet ends up on the side of the cube right next to where it began.

Their study showed that only 600,000 possible configurations can be solved this way. Using a desktop7 computer, Kunkle discovered that all these arrangements could be solved in 13 moves or less.

Puzzle pieces

Next, the researchers wanted to calculate how many steps would be necessary to turn any other configuration4 into one of the special 600,000 presolved arrangements. That required a time-consuming search through 1.4 trillion configurations. To speed the process, Kunkle and Cooperman wrote a program for an extremely fast computer, called a supercomputer.

 

 

A mixed-up Rubik's Cube can take many hours to solve, unless you have the brain of a supercomputer!

A mixed-up Rubik's Cube can take many hours to solve, unless you have the brain of a supercomputer!

 

 

It took the supercomputer 63 hours to do the calculations. Results showed that any configuration could be turned into one of the presolved, half-turn configurations in 16 moves or fewer. Remember that it took a maximum of 13 steps to solve one of these special configurations. In sum, the researchers concluded, any configuration could be solved in a maximum of 29 steps.

That result fell shy of the record 27 steps established a year ago by another researcher. Kunkle and Cooperman noticed, however, that only about 80 million configurations (far less than 1 percent of all possibilities) actually needed more than 26 steps to reach a solution. So, the pair focused on those few, hardest arrangements.

This time, instead of searching for ways to turn each tricky8 configuration into a special configuration, they searched through every possible way of solving each one.

The effort paid off: They set a new record of 26 steps. Researchers think the absolute minimum is just 20 moves, but they have yet to find a way to prove it.

The strategies that Kunkle and Cooperman used to solve the cube can be applied9 to other complicated problems, especially ones that require searching through lots of possibilities. Scheduling airplane flights to carry millions of people to a variety of destinations as quickly as possible is one example.

Checkerboard solutions

Solving the Rubik's Cube was a major feat10, but Jonathan Schaeffer of the University of Alberta in Edmonton, Canada, faced an even bigger challenge: winning at checkers.

On a traditional 8-square by 8-square checkerboard, each player starts with 12 pieces in his or her own back three rows. All moves are diagonal. During each turn, you slide one of your pieces a distance of one square toward your opponent's side.

You can capture an enemy piece by jumping over it with one of yours into an open square. When one of your pieces reaches your opponent's side, it earns the ability to move backward too. If you can remove all enemy pieces, you win.

 

 

At the beginning of a game of checkers, each player lines up his or her pieces on one side of the board. Players take turns moving a single piece one diagonal space at a time. (This is a special board with 100 squares and 4 rows of pieces per team instead of the usual 64 squares and 3 rows.)

At the beginning of a game of checkers, each player lines up his or her pieces on one side of the board. Players take turns moving a single piece one diagonal space at a time. (This is a special board with 100 squares and 4 rows of pieces per team instead of the usual 64 squares and 3 rows.)

Michel32Nl/Wikipdia

 

No one had ever attempted to write a program to simulate all moves on a checkerboard. That might be because the pieces on a checkerboard can be arranged in more than 500 quintillion ways (that's a 5 with 20 zeroes after it). Compared to a Rubik's Cube, a checkerboard has 10 times as many possible configurations.

Like the Rubik's researchers, Schaeffer and colleagues started with a smaller problem. They imagined two pieces left on the board at the end of a game. For every position that those two pieces could occupy, a computer program simulated every possible outcome.

 

 

A game of checkers gets more complicated with each move.

A game of checkers gets more complicated with each move.

PartsnPieces/Wikipedia

 

The program went through the same process for 3 pieces, then 4, and so on, up to 10 pieces. At that point, there were 39 trillion possibilities for where the pieces might be.

Checkmate

Whenever Schaeffer added a piece to the board, the time needed for calculations was 10 times as long as the time needed for the previous step. The computer was not powerful enough to continue the process.

So Schaeffer started over from the beginning of a game. His program considered all possible moves and countermoves until only 10 pieces remained the board. Since he had already figured out every way the game could end once there were 10 or fewer pieces left, he was able to combine the two programs to simulate an entire game.

In spite of Schaeffer's efforts to cut down time, the computers took 18 years to finish the problem. "I'm quite amazed that I had enough patience to stick with this," Schaeffer says.

 

 

It took computers 18 years to come up with a solution for the game of checkers. Chess, shown here, is an even more complicated game.

It took computers 18 years to come up with a solution for the game of checkers. Chess, shown here, is an even more complicated game.

 

 

Like the methods Kunkle developed for the Rubik's Cube, Schaeffer's strategies can be applied to practical problems in scheduling and even in human biology. The work might also some day help a computer play a perfect game of chess, which is far more complicated than checkers.

Take it from Kunkle and Schaeffer: Playing games can lead to serious science.



点击收听单词发音收听单词发音  

1 goofing 6344645ec8383b649f7c8180b633282e     
v.弄糟( goof的现在分词 );混;打发时间;出大错
参考例句:
  • He should have been studying instead of goofing around last night. 他昨晚应该念书,不应该混。 来自走遍美国快乐40招
  • Why don't you just admit you're goofing off? 偷了懒就偷了赖,还不爽爽快快承认? 来自辞典例句
2 random HT9xd     
adj.随机的;任意的;n.偶然的(或随便的)行动
参考例句:
  • The list is arranged in a random order.名单排列不分先后。
  • On random inspection the meat was found to be bad.经抽查,发现肉变质了。
3 rotations d52e30a99086786b005c11c05b280215     
旋转( rotation的名词复数 ); 转动; 轮流; 轮换
参考例句:
  • Farmers traditionally used long-term rotations of hay, pasture, and corn. 农民以往长期实行干草、牧草和玉米轮作。
  • The crankshaft makes three rotations for each rotation of the rotor. 转子每转一周,曲轴转3周。
4 configuration nYpyb     
n.结构,布局,形态,(计算机)配置
参考例句:
  • Geographers study the configuration of the mountains.地理学家研究山脉的地形轮廓。
  • Prices range from $119 to $199,depending on the particular configuration.价格因具体配置而异,从119美元至199美元不等。
5 configurations 86f23519571eb918e8812e1979d55409     
n.[化学]结构( configuration的名词复数 );构造;(计算机的)配置;构形(原子在分子中的相对空间位置)
参考例句:
  • Such configurations, obtained theoretically by calculation, are called models of a star. 通过理论计算得到的恒星结构称为恒星模型。 来自辞典例句
  • The other two configurations have overriding advantages for special applications. 其它两种接法对特殊应用具有突出的优点。 来自辞典例句
6 gene WgKxx     
n.遗传因子,基因
参考例句:
  • A single gene may have many effects.单一基因可能具有很多种效应。
  • The targeting of gene therapy has been paid close attention.其中基因治疗的靶向性是值得密切关注的问题之一。
7 desktop sucznX     
n.桌面管理系统程序;台式
参考例句:
  • My computer is a desktop computer of excellent quality.我的计算机是品质卓越的台式计算机。
  • Do you know which one is better,a laptop or a desktop?你知道哪一种更好,笔记本还是台式机?
8 tricky 9fCzyd     
adj.狡猾的,奸诈的;(工作等)棘手的,微妙的
参考例句:
  • I'm in a rather tricky position.Can you help me out?我的处境很棘手,你能帮我吗?
  • He avoided this tricky question and talked in generalities.他回避了这个非常微妙的问题,只做了个笼统的表述。
9 applied Tz2zXA     
adj.应用的;v.应用,适用
参考例句:
  • She plans to take a course in applied linguistics.她打算学习应用语言学课程。
  • This cream is best applied to the face at night.这种乳霜最好晚上擦脸用。
10 feat 5kzxp     
n.功绩;武艺,技艺;adj.灵巧的,漂亮的,合适的
参考例句:
  • Man's first landing on the moon was a feat of great daring.人类首次登月是一个勇敢的壮举。
  • He received a medal for his heroic feat.他因其英雄业绩而获得一枚勋章。
TAG标签:
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
验证码:点击我更换图片