Both sides previous revision
Poprzednia wersja
Nowa wersja
|
Poprzednia wersja
|
pl:dydaktyka:piw:2010:systemy_ekspertowe:hekate_ib [2011/04/08 09:55] kkr |
pl:dydaktyka:piw:2010:systemy_ekspertowe:hekate_ib [2019/06/27 15:50] (aktualna) |
===== Exercise ===== | ===== Exercise ===== |
* In this exercise the model of the Cashpoint system will be designed. The design starts with the empty diagram. The goal of this lab is to design the following structure: \\ {{http://ai.ia.agh.edu.pl/wiki/_media/hekate:cases:hekate_case_cashpoint:hekate_case_cashpoint-tph.png?w=&h=&cache=cache}} | * In this exercise the model of the Cashpoint system will be designed. The design starts with the empty diagram. The goal of this lab is to design the following structure: \\ {{http://ai.ia.agh.edu.pl/wiki/_media/hekate:cases:hekate_case_cashpoint:hekate_case_cashpoint-tph.png?w=&h=&cache=cache}} |
* The ARD method is a herarchical method. Each level of the desing can be called as the seperate step of the design. | * The ARD method is a hierarchical method. Each level of the desing can be called as the seperate step of the design. |
* Each step consists of one and only one transformation (//split// or //finalization//). | * Each step consists of one and only one transformation (//split// or //finalization//). |
* To build a complete model of the CashPoint system a several steps must gone through. | * To build a complete model of the CashPoint system a several steps must gone through. |
* On this page: [[hekate:cases:hekate_case_cashpoint:ard_design#ard_full_design|]] the ARD as well as TPH diagrams of the CashPoint system after each step can be found. | * On this page: [[hekate:cases:hekate_case_cashpoint:ard_design#ard_full_design|]] the ARD as well as TPH diagrams of the CashPoint system after each step can be found. |
* Here a instructions for first three step are presented. The rest of the design process is analogous. | * Here a instructions for first three step are presented. The rest of the design process is analogous. |
- Run HJEd by typing<code>java -jar HJEd.jar</code>You should see the main window of the tool as presended above. | - Download HJEd tool: {{:pl:dydaktyka:piw:2010:systemy_ekspertowe:hjed.tar|}}. |
| - Unpack the archive typing in the console:<code>tar -xvvf hjed.tar</code> |
| - Check if the script ''hjed'' has the rights to execute. If not add this rights:<code>chmod 775 hjed</code> |
| - Run HJEd by typing<code>./hjed</code>You should see the main window of the tool as presended above. |
* On the left panel a current level of a ARD diagram can be observed. | * On the left panel a current level of a ARD diagram can be observed. |
* On the right panel a current TPH diagram is presented. | * On the right panel a current TPH diagram is presented. |
* On the TPH diagram, the transition between stages can be observed. | * On the TPH diagram, the transition between stages can be observed. |
- According to the [[hekate:cases:hekate_case_cashpoint:ard_design#ard_full_design|]] a split transformation is the step. | - According to the [[hekate:cases:hekate_case_cashpoint:ard_design#ard_full_design|]] a split transformation is the step. |
- To perform //split// transformation click on the property, which you want to split, with RMB a choose //Split// action: \\ {{:pl:dydaktyka:piw:2010:systemy_ekspertowe:scrsht06hjed.png|}} | - To perform //split// transformation click on the property, which you want to split, with RMB and choose //Split// action: \\ {{:pl:dydaktyka:piw:2010:systemy_ekspertowe:scrsht06hjed.png|}} |
- The //split// window contains the following elements: | - The //split// window contains the following elements: |
* On the left: the panel that allows for defining new properties and dependencies between them. | * On the left: the panel that allows for defining new properties and dependencies between them. |
* To add an attribute to a property: | * To add an attribute to a property: |
* select this property, | * select this property, |
* select a attribute on the left list | * select a attribute on the left list, |
* click the ''>>'' button. | * click the ''>>'' button. |
* To define a dependency between two properities: | * To define a dependency between two properities: |
* hold the ''Ctrl'' button, | * hold the ''Ctrl'' button, |
* click the independent property (the color changes to green) | * click the independent property (the color changes to green), |
* click the depended property | * click the depended property. |
* To remove a property or a dependency: click the required element and press **Delete** on your keyboard. | * To remove a property or a dependency: click the required element and press **Delete** on your keyboard. |
- Add new property. | - Add new property. |
- To each property add one attribute. | - To each property add one attribute. |
- Define the dependencies between properties as it is shown on the picture and click OK. \\ {{:pl:dydaktyka:piw:2010:systemy_ekspertowe:scrsht08hjed.png|}} | - Define the dependencies between properties as it is shown on the picture and click OK. \\ {{:pl:dydaktyka:piw:2010:systemy_ekspertowe:scrsht08hjed.png|}} |
- After this transformation the main window should look like this: \\ {{:pl:dydaktyka:piw:2010:systemy_ekspertowe:scrsht09hjed.png|}} | - After this transformation the main window should look like this: \\ {{:pl:dydaktyka:piw:2010:systemy_ekspertowe:scrsht09hjed.png?1000|}} |
| - The design of the rest stages is analogus. |
| - When you reach the last step, save the file. This file is a starting point for the next lab classes. |
| |
| |