Creating Algorithms

After having created a project to hold algorithms together, we can start to create an algorithm. As for most other tasks for creating algorithms a wizard exists. Click on New > Empty Algorithm.

All you need to enter is a name for the algorithm.

After finishing the wizard an empty algorithm is created and the visual editor is opened. In this editor you find an empty panel for the visual representation of an algorithm and a palette with some tools. All available operators can be found in the projects view under their appropriate category. You can insert operators into an algorithm simply by dragging them from the projects view into the algorithm editor panel.

Most operators have properties that can be altered. Simple properties may be edited directly, for object properties a small class browser exists. In this example a comparator is needed. To show all availalable comparators click on the button on the right side of a property entry.

A small dialog appears which lets you choose an appropriate class. An instance of this class will be created (if possible) and assigned to the chosen operator property.