Written by by Roland Soltysiak
Last updated: 6-9-2006
The example shows how to use the RedBlackTree package of Visual Prolog 7.
Several RedBlackTrees are created and each method of the package is shown. At the end, there is a performance test that creates 1 million entries and 1 million reads (duration app. 1 sec).
More information about the method you will find here: http://en.wikipedia.org/wiki/Red_black_tree.
Build and Run
Load the project redBlackTreeExample.prj6 into the IDE, press to execute the application and then select File | New to show the example window.