B-Wise© Views

There are two different views (tabs) in B-wise©, the Design View where the model is built and the Run View where the model is executed:

Start by creating a new model. Note that all B-wise© file names will include a .kbs (representing Knowledge-Based System) extension. Then click on the Design tab to start creating the decision tree.

Sample Problem

In this problem, a supermarket is planning to use B-wise© to help cashiers in the check authorization process. According to the supermarket check casing policy, if the customer has a valid check cashing card, check will be accepted for the amount of purchase plus $25.00. If the customer does not have a valid check cashing card and the purchase is less than $20.00, two forms of identification must be shown in order to pay by check in the amount of purchase. Otherwise, the store manager must be called to authorize the acceptance of the check.

The first step in building a B-wise© model is to identify all the conditions (and their possible values) and actions as below:

When setting the “Influence Connection Type”, be sure to set it according to your preferred diagramming style. The default setting is ‘Vertical’, which is how most diagrams are drawn; from the bottom up. Be sure that when using either Influence Connection Type to draw the model accordingly; otherwise, you may encounter some functionality issues when attempting to connect the objects in the decision tree. In addition, within the design view, there is a Zoom Out and Zoom In option. The Zoom Out option is particularly important when your model is large and requires multiple pages. The completed decision tree for the above check cashing problem is given below:

In order to run the program, click on the Run tab and B-wise© starts firing the rules in its knowledge base:

When "Yes" is selected as the answer to the "Valid Check Cashing Card question", the program's execution is terminated and B-wise© advises the user to let the customer have "Amount of Purchase Plus $25":

 

The user can Restart B-wise© and run the application repeatedly for different scenarios.

GoBack Home Advnace