In Part 1 of this article, I explained how a chess
program plays the opening, and I also outlined the Minimax procedure that
is used to play the middle game. This blog continues the discussion by
revealing the primary difficulty faced by a computer chess program, and
how that difficulty is overcome. As before, we will refer to our nefarious
computer opponent as the satanic "Chessifer". Also as stated in Part 1, you need
no background in computer science to understand this discussion.
In Part 1 we saw how Chessifer constructs trees representing the game from
the current position. Chessifer can do this extremely fast. The
IBM chess computer that defeated Garry
Kasparov in 1997 could search roughly 200 million positions per second,
although we must keep in mind that this was a special-purpose machine
constructed solely to play chess.
Lest you fear that Chessifer is omniscient and/or omnipotent, he is not. I
said in Part 1 that he computes "as much of the chess tree as he can." He
cannot compute all of it because the tree is too big. It contains more
nodes than there are electrons in the universe, and this presents
Chessifer with his first major hurdle.
He would like to compute as far ahead as possible, but he does not want to
waste time following branches of the tree that are stupid, wasting his
time. Fortunately for Chessifer (not you), there is a way to identify
parts of the game tree that are useless to explore, allowing Chessifer to
spend his time in more promising parts of the tree.
Healthy Trees Must be Pruned
There is a procedure called alpha-beta pruning that can determine when
exploring certain portions of the game tree is not useful. Consider Figure
1.
Figure 1. Alpha
Pruning
In Part 1 I said that Chessifer first creates a partial game tree and then
applies Minimax to assign values to all the resulting positions. That was
an oversimplification. Actually Chessifer normally interleaves building
the game tree with Minimax. That is the situation in Figure 1, where there
may be many more branches under Position G, but before exploring those,
Chessifer is going to apply Minimax to Position B. Since from Position B
it is your move, Chessifer uses the Min rule, previously discussed, and
assigns 27 to Position B.
This now raises an interesting question. Should Chessifer continue
expanding the game tree at Position G? Notice that Eval has already given
a value of 18 to Position F. What will happen when Minimax is ready to
give a value to Position C? Since C is a Min Position its value will be 18
or less. And since that cannot be larger than the value 27 at Position B,
the value at A can be assigned right now from B, and Position G can be
ignored altogether. If there are a large number of positions under G, this
could result in a significant savings of processing time.
The example in Figure 1 is an instance of "alpha" pruning. Figure 2 shows
the related "beta" pruning.
Figure
2. Beta Pruning
Consider when it is your move at Position B. Obviously, you would avoid
moving to E since Chessifer could then go to Position F with a value of
62. You would be better off moving instead to D, which has a value to
Chessifer of only 47. Thus, 47 can be immediately assigned to Position B,
and there is no need at all to expand the tree from Position G or perform
any evaluations on those positions. Once again there could be a great many
positions that are avoided, saving a tremendous amount of processing.
Many women can not resist the beautiful Discount Christian Louboutin Shoes | Discount Christian Louboutin Shoes, when they soon fell in love with a pair of Christian Louboutin boots | Christian Louboutin boots, they would do everything possible to get them.This Autumn and Winter, Christian Louboutin short boots are still the theme of fashion.Christian Louboutin has turned quite some heads this season with his new Christian Louboutin men's shoes | Christian Louboutin men's shoes line. It seems that people who always love to choose Christian Louboutin short boots | Christian Louboutin short boots. Because they think that Christian Louboutin tall boots | Christian Louboutin tall boots are so feminine and the Christian Louboutin short boots have so great taste.If you are fond of Christian Louboutin Thigh High Boots | Christian Louboutin Thigh High Boots, you will also like the other two Christian Louboutin Ankle Boots | Christian Louboutin Ankle Boots We are eager to establish business relations with all of you.Christian Louboutin sandals | Christian Louboutin sandals are advised for women who crave for fashion. Whether you wish to acquisition trend shoes out for dating or leisure shoes for absorbing activities,Christian louboutin pumps | Christian louboutin pumps on auction can amuse you.
We have Cheap Christian Louboutin Shoes | Cheap Christian Louboutin Shoes with top quality for women show women's taste.A pair of Christian Louboutin Boots | Christian Louboutin Boots in your closet will help you to transform any outfit.Christian Louboutin thigh high boots | Christian Louboutin thigh high boots are going mainstream.Choose the height of the heels to suit your personal preference. And Christian Louboutin Tall Boots | Christian Louboutin Tall Boots are coupled with sound support to showcase their beautiful legs.Christian Louboutin not only provide a variety of pumps, sandals, but also Christian Louboutin Ankle Boots | Christian Louboutin Ankle Boots.With Christian Louboutin sandals | Christian Louboutin sandals,you'll be charming, sexy, and so sophisticated.It seems that people who always love to choose Christian Louboutin short boots | Christian Louboutin short boots.Never be surprised if someone tells you she got a pair of Christian Louboutin Pumps | Christian Louboutin Pumps proudly.However many forget that they have some interesting Christian louboutin men's shoes | Christian louboutin men's shoes designs up their sleeves.
Name:
puma shoes
Posted On:
2010-08-27 02:15:23
Caption:
puma shoes
Comment:
Puma shoes is considered one of the most famous,prestigious Puma mens shoes,and easily recognizable fashion sports brands in the world.How can you find the perfect Puma ferrari shoes you're looking for?Why not to achieve your dreams here.There are fashionable Puma Sneakers,Perfectly Puma running shoes.
Ugg knightsbridge boots of them are made using only the highest quality,grade 'A' sheepskins,evident in the plush fleece and smooth hides.Cheap UGG boots on sale,Fast delivery And Lowest Price.Uggs on sale boots is the world's premier brand of authentic UGG Classic Tall Boots sheepskin footwear and remains the leader in quality,innovation and style.
Name:
chi flat iron
Posted On:
2010-08-27 02:13:44
Caption:
chi flat iron
Comment:
Chi flat iron from Farouk,a big name on the hair flat iron market,is one of the top selling CHI Pink Dazzle Flat Iron in the professional beauty industry.The sleek,slim and simple design of the CHI Flat Iron Pink makes it the most easy and convenient to use.Manufactured with advanced American technology,the Chi Turbo Flat Iron stands behind its product and its endless possibilities!CHI is the best!
More and more people are looking for the simple,but fashion boots. Classic Short UGG boots | Classic Short UGG boots covered with high quality sheepskin will make your feet feel comfortable. Classic Tall Stripe Cable Knit UGG Boots | Classic Tall Stripe Cable Knit UGG Boots are made for fashion and comfortable which deeply allur many women's love. Scalloped UGG Moc | Scalloped UGG Moc is a cute little moccasin-style slip on but with different tread than the Classic Crochet UGG Boots | Classic Crochet UGG Boots,What’s more, these Classic argyle knit ugg boots | Classic argyle knit ugg boots are very perfect for those cold days in winter.and Seline UGG Boots | Seline UGG Boots are great to go through the security lines fast.The Classic UGG Boots | Classic UGG Boots combines a classic prep school pattern and cozy sweater knit for the coolest, comfiest, casual look.
Name:
ugg boots sale
Posted On:
2010-08-17 23:10:29
Caption:
ugg boots sale
Comment:
1.Ugg footwear is a great regard for your base like many reasons.cheap uggs for sale. Probably the most rocky landscape. Another equally important disputeugg uk is the ever-mounting medley of styles ugg boots saleand ensign that you are removable to buy ugg boots, actually form to the shape of the arch.
Upload PGN games
Upload and view games for free! Manage your games online. No restriction on number of games!
All you need is to login and get started.
Express Yourself
Share with our readers, your views about the various chess events and issues!
Write and Publish on LatestChess!