Visual Prolog 7.3 Examples and Demos

RedBlackTree Example

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 CTRL+F5 to execute the application and then select File | New to show the example window.

Download the project.

Note

The example requires Visual Prolog 7.3 Commercial or Personal Edition.

Users of previous versions of Visual Prolog are welcome to upgrade to the current version of Visual Prolog  to use the latest versions of the Visual Prolog examples.

Use the WEB|Check for Update IDE menu command for upgrade information.

 
Home | Company | News | Products Downloads | Shop | Support | Visual Prolog Features | Visual Prolog Compiler | FAQ | Tutorials | Examples | Knowledge Base | Discussion Forum | wiki | Site Map

Prolog Development Center A/S - H.J. Holst Vej 3-5C - 2605 Broendby, Denmark - Tel +45 3636 0000 - Fax +45 3636 0001 - sales@visual-prolog.com