User Tools

Site Tools


public:gtql:main

This is an old revision of the document!


Game Tree Query Language

PI: Yngvi Björnsson
Student: Jónheiður Ísleifsdóttir

The game tree query tool is a tool for analyzing and debugging search algorithms.

The tool can be run from command line. It takes two parameters; name of query file and name of game-tree file. The query file is a text file with one query in each line. An example of a file with two queries would look like this:

node:type|BLUE;subtree:count(*)>50
node:type|RED;child:count([]type|1)>2

Note that the bold attribute name is user defined and read from the game-tree file.

The game-tree file (.gtf) is created using the GT-log library. The library has routines to log the game tree.

The tool is run with a command like the one below from command line or bat file. Note that path to files must be correct if they are not stored in the same place and GTQL.exe file

GTQL queries.txt tree12.gtf

The GT-query tool can be downloaded here:

Game Tree Query Tool

/var/www/cadia.ru.is/wiki/data/attic/public/gtql/main.1197825976.txt.gz · Last modified: 2024/04/29 13:32 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki