Edit a Enumerated Rule

Top  Previous  Next

 

The interface for editing a enumerated rule looks like this:

 

KnowledgeBase_Enum_Interface

 

 

Specify Whether the Rule Is Used in the Inference

 

Check the box next to "will be in used" to make the rule be used in the inference. Uncheck the box to disable the rule.The rule is editable only when it is in use.

 

KnowledgeBase_CheckUse

 

 

Edit the Rule

 

All of the current enumerated items are listed in the list box. To add an item, click on "Add". In the pop-up dialog, enter the item (an integer number)

 

KnowledgeBase_Enum_Add_Item

 

 

Click on "OK".

 

To remove an item, click on the item in the list box, then click on "Remove",

 

KnowledgeBase_Enum_Edit

 

The editing will be reflected in the graphic area.

 

You can also modify the rule in the graphic mode. Current mouse location is displayed in real time on the right

 

KnowledgeBase_Enum_Location

 

To change the value of an item, drag the green bar to the position and release mouse.

 

To add an item, double click on the location where the new item is to be added.

 

To remove an item, double click on the bar that represents the item to be deleted.

 

KnowledgeBase_Enum_Graph

 

 

Set the Display Range of the Graphic Area

 

Display range decides the maximum range on the x-axis of the graph area. To set the display range, use the arrows at each end of the display range control bar.

On the left, click on "<" to decrease the low display limit, click on ">" to increase the low display limit.

 

KnowledgeBase_Display_Range_Left.

 

On the right, click on ">" to increase the high display limit, click on "<" to decrease the high display limit.

 

KnowledgeBase_Display_Range_Right

 

 

Current display range decides the range for the current x-axis in the graphic area. To set current displaying range,drag the handles on the display range control bar.

 

KnowledgeBase_Current_Range

 

 

Select Attached Layer

 

If you attached a layer when creating the rule, the linked layer will be displayed.

 

KnowledgeBase_Layer_Linked

 

 

Otherwise, the program will tell you "No data layer linked. Please set data layer".

KnowledgeBase_NoLayer_Linked

 

You can attach a layer at any time by using the drop-down list. You have two options here:

1) choose one existing layer to attach.

2) choose one layer which is not in the GIS database. In this case, if the selected layer file is valid and the name of the layer is not any of these of the existing layers in GIS database, SoLIM will add the layer to GIS database, and the program will also show that the layer has already been attached with current rule. If the selected layer is valid, but there is already one layer with the same name in GIS database, the program will bring up a dialog to ask if you will replace existing layer with the new one. If you click on OK, it will replace the existing layer in the GIS Database, and the program will also show that the layer has already been attached with current rule.

If the selected layer is invalid, the program will pop up an error dialog.

 

Tip: A rule will take part in inference only if it is attached with a layer.

 

Apply the Rule to The Layer

 

If the rule has an attached layer, you can see the effect of applying the rule to the layer.