Index - Contents - Home

Tree Window

The Tree Window is an powerful Scid feature. It shows the success rates of moves from the current position; in the form of statistics, and a tri-coloured graph representing white-wins, draws, and black-wins.

Scid's Tree search is fast because of a novel idea - we search for games that do not reached this position!

Opening a Tree

One can open a database and then select Windows--> Tree Window, use the Control-T short-cut, or Open Base as Tree from the file menu. This last method means games in one database can be examined via the tree from a different database.

General Use

The Tree Window shows statistics about the next move, as calulated from all games in the current base. One may choose to show extended info by pressing
The Score is always computed from white's perspective, so 100% means all White wins and 0% means all black wins. Games with no result do not contribute to the percentage drawn, but as half-won/half-loss.

Clicking on a move adds that move to the game.

The moves in the tree window can be sorted by Move (alphabetically), ECO code, Frequency, or Score.

The Adjust-Filter checkbox alters the gamelist/filter so that only games matching the current position are displayed. Its behaviour is a little complicated. Deselecting Adjust-Filter will set the regular filter to the current (adjusted) filter. But closing the Tree, will restore the regular filter to how it was when Adjust-Filter was selected.

Best Games Window

The button in the Tree window, shows games matching the current position.

Normally, the highest rated games are displayed first, but by changing the 'Sort' button, games will be shown in their normal database order. (The default for this feature can be altered in the Tree options menu).

You can also restrict the list to show games with a particular result, and alter the displayed columns by right-clicking the column titles.

Tree Masks

Tree Masks provide additional information beyond pure statistical data, and can be imagined as a transparent layer above the current tree that holds additional data. For more info see here.

Locking the Tree Window

Each tree window is associated with a specific base, that is, if several bases are opened simultaneously, several tree windows may exist. If the Lock button in the tree window is enabled, closing the tree window will also close the database associated with this specific tree. Additionally, this also closes associated graph or best games windows. If the Lock button is not checked closing the tree will leave all these windows opened and just close the tree view of the base.

Note that opening a base as tree from the file menu will automatically lock the database by default.

Training

When the Training button is selected, Scid will randomly make a move every time you add a move to the game. The move Scid chooses depends on database statistics, so a move played in 80% of database games will be chosen by Scid with 80% probability. Turning on this feature, then hiding (or iconifying) the Tree window and playing openings against a large database, is a great way to test your knowledge of your opening repertoire.

Caching for Faster Results

Scid maintains a cache of tree search results for the positions with the most matching games. If you move forward and back in a game in tree mode, you will see the tree window update almost instantly when the position being searched for is in the cache.

The tree window has a file menu command named Save Cache. When you select this, the current contents of the tree cache in memory are written to a file (with the suffix .stc, in the same directory as the database) to speed up future use of Tree mode with this database.

The Fill cache file command in the file menu of the tree window fills the cache file with data for many opening positions. It does a tree search for about 100 of the most common opening positions, then saves the cache file.

The maximum number of lines in the Cache can be configured by File / Cache size. The default are up to 1000 lines.

Alternatively, one can fill the cache also with the content of a base or a game by choosing File / Fill Cache with base and File / Fill Cache with game, respectively. The cache will be filled with the contents of these including all variations. This is most helpful if one has one or more repertoire bases that can serve as input.

Tree refresh can be dramatically enhanced if the database is sorted by ECO code then compacted (see the maintenance window). Once this is achieved (the whole process can last several hours), turn on the option Fast mode. The refresh of the Tree window will be 20 times faster in average at the cost of some inaccuracies (games not in current filter will not be taken into account). By turning off the Fast mode option you will see the difference in the number of games when all the transpositions are taken into account. If you want to get a preview of statistics then get a precise Tree, use the option Fast and slow mode

Note that a tree cache (.stc) file is completely redundant; you can remove it without affecting the database, and in fact it is removed by Scid whenever an action occurs that could leave it out of date; for example, adding or replacing a game, or sorting the database.