Różnice

Różnice między wybraną wersją a wersją aktualną.

Odnośnik do tego porównania

Both sides previous revision Poprzednia wersja
Nowa wersja
Poprzednia wersja
pl:miw:miw08_bizrulesvocabularies2 [2008/06/03 09:50]
miw
pl:miw:miw08_bizrulesvocabularies2 [2019/06/27 15:50] (aktualna)
Linia 1: Linia 1:
 ====== Opis ====== ====== Opis ======
 +__**Projekt zakończony**__
 +
 Magdalena, Pluta, <​mpluta@wp.pl>​ Magdalena, Pluta, <​mpluta@wp.pl>​
  
Linia 54: Linia 56:
 ===== 080527 ===== ===== 080527 =====
   * w.w. opis   * w.w. opis
 +
 +
 +
 +
 +
  
 ====== Projekt ====== ====== Projekt ======
  
 === opis thermostatu w SBVR ===  === opis thermostatu w SBVR === 
-  ​* [[hekate:hekate_case_thermostat|thermostat]] + 
-  * [[miw08_bizrulesvocabularies2_thermostat|thermostat sbvr]]+  ​* [[pl:​miw:​miw08_bizrulesvocabularies2:​thermostat|thermostat sbvr]]
  
  
Linia 68: Linia 75:
  
 ====== Sprawozdanie ====== ====== Sprawozdanie ======
 +
  
  
Linia 183: Linia 191:
  
 SBVR SE wykorzystuje zwroty i wyrażenia języka angielskiego do opisu słownictwa oraz definiowania reguł. SBVR SE wykorzystuje zwroty i wyrażenia języka angielskiego do opisu słownictwa oraz definiowania reguł.
 +
  
  
Linia 223: Linia 232:
  
   * Modal Operations   * Modal Operations
 +
 ^^ Modal Operations^^ ^^ Modal Operations^^
 |it is obligatory that p |obligation formulation| |it is obligatory that p |obligation formulation|
Linia 282: Linia 292:
  
  
-===== Szczegółowość specyfikacji atrybutów ===== 
  
-SBVR pozwala na szczegółowy opis badanej branży, przykładem może być przedstawiony poniżej opis wypożyczalni samochodów. Przedstawione poniżej diagramy ​ w sposób szczegółowy przedstawiają specyfikę badanego zagadnienia. 
  
-Kilka wykresów z pdfa.+===== Szczegółowość specyfikacji atrybutów =====
  
 +SBVR pozwala na szczegółowy opis badanej branży, przykładem może być przedstawiony opis wypożyczalni samochodów {{:​pl:​miw:​miw08_bizrulesvocabularies2:​08-01-06.pdf|Anex E}}. Przedstawione poniżej diagramy ​ w sposób szczegółowy przedstawiają specyfikę badanego zagadnienia.
  
  
  
 +{{:​pl:​miw:​miw08_bizrulesvocabularies2:​car1.png|rentalcar}}
 +{{:​pl:​miw:​miw08_bizrulesvocabularies2:​car2.png|rentalcar}}
 +{{:​pl:​miw:​miw08_bizrulesvocabularies2:​car3.png|rentalcar}}
  
 +===== Opis termostatu w SBVR =====
  
  
-===== Opis termostatu w SBVR ===== 
  
 ==== Opis słownika i reguł ==== ==== Opis słownika i reguł ====
Linia 339: Linia 351:
   * It is necessary that in winter on business_hours thermostat_setting is ’18 degree’.   * It is necessary that in winter on business_hours thermostat_setting is ’18 degree’.
   * It is necessary that in winter on not_on_business_hours thermostat_setting is ’14 degree’.   * It is necessary that in winter on not_on_business_hours thermostat_setting is ’14 degree’.
 +
 +
 +
 +
  
  
Linia 346: Linia 362:
  
 ==== Graficzna reprezentacja reguł ==== ==== Graficzna reprezentacja reguł ====
-{{:​pl:​miw:​miw08_bizrulesvocabularies2:​sbvrthermostst.png| termostat}} 
  
  
 +{{:​pl:​miw:​miw08_bizrulesvocabularies2:​thermostat1.jpg|thermostat}}
  
-===== Proponowany algorytm zamiany SBVR <-> ARD ===== 
  
-  * reguła zapisana w ARD 
-if     the day is Monday ​ 
-or     the day is Tuesday ​ or     the day is Wednesday ​ 
-or     the day is Thursday or     the day is Friday ​ 
-then   today is a workday 
  
-  * równoważna reguła zapisana w SBVR 
  
-it is necessary that day on Monday or on Tuesday or on Wednesday or on Thursday or on Friday ​is a workday+==== Zapis thermostatu w ARD ==== 
 + 
 + 
 +{{:​pl:​miw:​miw08_bizrulesvocabularies2:​ard.jpg|thermostatard}} 
 + 
 + 
 +Wykresy zostały sporządzone przy pomocy graficznego programu Dia. 
 + 
 + 
 + 
 + 
 +Plik źródłowy diagramu {{:​pl:​miw:​miw08_bizrulesvocabularies2:​ardindia.tar|ard}}. 
 + 
 +===== Algorytm zamiany SBVR <-> ARD ===== 
 + 
 +Na podstawie oryginalnych [[hekate:​hekate_case_thermostat|reguł]] opisujących działanie termostatu zostały zapisane reguły w SBVR. Tak zapisane reguły zostały przedstawione w sposób graficzny przy pomocy diagramu SBVR.  
 + 
 +Te same oryginalne reguły stały się punktem wyjścia dla stworzenie diagramu ARD. 
 + 
 +Porównując oba diagramy nasuwa się wniosek, że są one niemalże identyczne. Po usunięciu elementów dotyczących szczegółowego opisu sezonu, pór roku, dni tygodni w tym dni pracujących i wolnych, otrzymujemy diagram identyczny z diagramem ARD. Reguły SBVR opisujące tę część diagramu ograniczają się do reguł:  
 + 
 +  * It is necessary that in spring ​on business_hours thermostat_setting is ’20 degree’. 
 +  * It is necessary that in spring ​on not_on_business_hours thermostat_setting is ’15 degree’. 
 +  * It is necessary that in summer ​on business_hours thermostat_setting is ’24 degree’. 
 +  * It is necessary that in summer ​on not_on_business_hours thermostat_setting is ’27 degree’. 
 +  * It is necessary that in autumn on business_hours thermostat_setting is ’20 degree’. 
 +  * It is necessary that in autumn on not_on_business_hours thermostat_setting is ’16 degree’. 
 +  * It is necessary that in winter on business_hours thermostat_setting is ’18 degree’. 
 +  * It is necessary that in winter ​on not_on_business_hours thermostat_setting ​is ’14 degree’. 
 + 
  
-===== Trudności i ograniczenia ===== 
  
-Zaletą zapisu reguł i słownika w SBVR jest duża elastyczność i intuicyjność zapisu. Język ten jest łatwy do odczytu również przez osoby nie posiadające doświadczenia w tej dziedzinie, jednakże w przypadku próby stworzenia skutecznego algorytmu przekształcenia ​ SBVR do ARD i na odwrót czynność ta może dostarczyć dość dużych trudności i może okazać się dość skomplikowana. ​ 
  
 ====== Materiały ====== ====== Materiały ======
pl/miw/miw08_bizrulesvocabularies2.1212479447.txt.gz · ostatnio zmienione: 2019/06/27 15:58 (edycja zewnętrzna)
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0