Edit a Word Rule

Top  Previous  Next

 

The interface for editing a word rule looks like this:

 

KnowledgeBase_Word_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

 

To define a word rule, you need to firstly construct a word library. After the word library file is prepared, load it by click on Dotdotdot_Icon

 

KnowledgeBase_Word_ChooseLib

 

The environmental variables will be listed in the drop down list. Select an environmental variable,

KnowledgeBase_Word_ChooseVariable.

The words that express the knowledge will be listed.

KnowledgeBase_Word_ChooseWord

 

Pick one word, the corresponding curve the word refers to will be displayed in graph area.

 

KnowledgeBase_Word_Graph

 

 

Change Word Rule to Freehand Rule

 

Click on "Change to Freehand Rule" . Current word rule can be converted to freehand rule. You can edit the key points to edit the rule.

 

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.