Eliasz Kańtoch, Tomasz Michalski
This case analysis is based on hekate process.
The aim of the system is to tell greetings based on the time of day and customer's attributes.
Rule: 1 if the hour is 'between 0 and 11' then greeting is 'Good morning' Rule: 2 if the hour is 'between 12 and 17' then greeting is 'Good afternoon' Rule: 3 if the hour is 'between 18 and 22' then greeting is 'Good evening' Rule: 4 if the hour is 'between 23 and 24' then greeting is 'Good night' Rule: 5 if the gender is female and marital status is married then title is 'Mrs' Rule: 6 if the gender is female and marital status is single then title is 'Ms' Rule: 7 if the gender is male then title is 'Mr' Rule: 9 if the gender is female and marital status is single and age < 10 then title is 'Little'
Input danta: hour, gender, martial_status and age. Output data: combination salutation with title.
Buiding ARD model starts from level 0 and attribute HelloSystem. Attribute is finalized into two attributes Greeting and Salutation and one physical attribute invitation. Next step is to show relation between attributes that were created. Attribute invitation is the input to the system it depends on two attributes. On the level 4 there is finalization Salutation into four phisical attributes gender, martial_status, salutation_text and age. On the next level Greeting is finalized to hour and greeting_text. Level six is the last level, where there are all dependences.
Diagram genereted with HQEd M6_6:
The full hierarchical diagram is presented below:
Diagrams design in VARADA M_3 : hello-model.pl
ARD model was designed using Varda M_3:
dot file: hello-model.dot
The TPH for this model is:
dot file: hello-model_tph.dot
XTT prototype generated by VARDA: