Decision Trees

Alternative content

Get Adobe Flash player

Decision Trees allow complex business rules to be represented in a hierarchical tree format where nodes in the tree represent decision points and branches represent the possible outcomes. Decision trees are a popular and proven approach to the representation of alternatives or options in a decision making process.

Decision Tree Rule Format

Like all Common Knowledge rule formats, the Decision Tree rule format seamlessly integrates with Common Knowledge Designer and the Common Knowledge SDK and can be easily combined with other business rule formats to create powerful solutions to complex business rule problems.

Overview

The Common Knowledge Decision Tree rule format provides capabilities in a number of areas to enable you to represent business rules using a tree construct:

Graphical Representation Graphical tree representation of complex decisioning logic
Automatic Layout Automatic organisation of decision tree layout including vertical and horizontal layout modes
Interactive Execution Standalone execution of Decision Trees entirely within Common Knowledge Designer
Explanations Add explanations in the form of Reason Strings to any rule in the Decision Tree
Documentation Ability to attach custom information to your rules which will be included in generated documentation

Features

The Common Knowledge Decision Tree rule format incorporates an ever-growing list of features that assist you during the design, authoring, execution and testing of business rules. Features include:

Multiple Actions Add multiple actions at any decision points within the tree
Expand/Collapse Decision Tree nodes are expandable and collapsable at any level
Complex Expressions Ability to specify complex expressions as the conditions and actions within a Decision Tree to perform a range of operations including comparison (set, boolean and arithmetic), maths, statistics, string handling, financial, and date & time
Interactive Debugger Interactive debugger allows you to step through Decision Trees and set breakpoints on nodes
Drag and Drop Drag and drop reordering of tree nodes
Multiple Views Easy flip tree orientation: top-to-bottom (vertical) or left-to-right (horizontal)
Error Handling Build errors may be traced directly to errant rule element within Decision Tree
Multiple Rule Activation Choose whether a single rule, or multiple rules, will activate when conditions are satisfied
Parameters and Results Pass one or more parameters directly to execution of a Decision Tree and return a result object
Interactive Execution Interactive prompting for variable values when executing Decision Trees in Common Knowledge Designer