| 5 | | R={pe_id, first_name, last_name, gender, address, picture, contact, embg, date_of_birth, |
| 6 | | country, nationality, o_badge_no, o_password, o_date_of_employment, p_id, p_address, |
| 7 | | s_id, city, p_date_of_employment, badge_no, rank, p_password, statement_id, |
| 8 | | statement_date, description, incident_timestamp, incident_place, e_id, e_name, e_type, |
| 9 | | is_found, e_picture, c_id, c_name, opening_date, c_status, date_of_closing, sc_description, final_document, t_id, t_name |
| | 5 | R={ |
| | 6 | pe_id, first_name, last_name, gender, address, picture, contact, embg, date_of_birth,country, nationality, o_badge_no, o_password, o_date_of_employment, p_id, p_address, s_id, city, p_date_of_employment, badge_no, rank, p_password, statement_id, statement_date, description, incident_timestamp, incident_place, e_id, e_name, e_type, is_found, e_picture, c_id, c_name, opening_date, c_status, date_of_closing, sc_description, final_document, t_id, t_name |
| 75 | | statement_id+={statement_id ,c_id, statement_date, description, incident_timestamp, incident_place, badge_no, |
| 76 | | c_name, opening_date, c_status, e_id, p_id, date_of_closing, pe_id, p_date_of_employment, |
| 77 | | rank, p_password, first_name, last_name, gender, address, picture, contact, embg, |
| 78 | | date_of_birth, country, nationality, p_address, o_badge_no, s_id, city, e_name, e_type, is_found, e_picture} |
| | 72 | statement_id+={statement_id ,c_id, statement_date, description, incident_timestamp, incident_place, badge_no,c_name, opening_date, c_status, e_id, p_id, date_of_closing, pe_id, p_date_of_employment, rank, p_password, first_name, last_name, gender, address, picture, contact, embg, date_of_birth, country, nationality, p_address, o_badge_no, s_id, city, e_name, e_type, is_found, e_picture} |
| 85 | 79 | statement_id, final_document+={statement_id, final_document, c_id, statement_date, description, incident_timestamp, incident_place, badge_no, sc_description, date_of_closing, c_name, opening_date, c_status, e_id, p_id, pe_id, p_date_of_employment, rank, p_password, first_name, last_name, gender, address, picture, contact, embg, date_of_birth, country, nationality, p_address, o_badge_no, s_id, city e_name, e_type, is_found, e_picture} не ги содржи сите атрибути |
| 86 | 80 | |
| 87 | | statement_id, t_id+={statement_id, t_id, c_id, statement_date, description, incident_timestamp, incident_place, badge_no, t_name, c_name, opening_date, c_status, e_id, p_id, date_of_closing, |
| 88 | | e_name, e_type, is_found, e_picture, p_address, o_badge_no, s_id, city, pe_id, p_date_of_employment, rank, p_password, first_name, last_name, gender, address, picture, contact, |
| 89 | | embg, date_of_birth, country, nationality, o_password, o_date_of_employment} |
| 90 | | не ги содржи сите атрибути |
| | 81 | statement_id, t_id+={statement_id, t_id, c_id, statement_date, description, incident_timestamp, incident_place, badge_no, t_name, c_name, opening_date, c_status, e_id, p_id, date_of_closing, e_name, e_type, is_found, e_picture, p_address, o_badge_no, s_id, city, pe_id, p_date_of_employment, rank, p_password, first_name, last_name, gender, address, picture, contact, embg, date_of_birth, country, nationality, o_password, o_date_of_employment} не ги содржи сите атрибути |
| 94 | | **final_document, t_id, statement_id+**={final_document, t_id, statement_id, sc_description, date_of_closing, t_name, c_id, statement_date, description, incident_timestamp, incident_place, badge_no, c_name, opening_date, c_status, e_id, p_id, |
| 95 | | pe_id, p_date_of_employment, rank, p_password, e_name, e_type, is_found, e_picture, p_address, o_badge_no, s_id, |
| 96 | | o_password, o_date_of_employment, city, first_name, last_name, gender, address, picture, contact, embg, date_of_birth, country, nationality} |
| | 85 | **final_document, t_id, statement_id+**={final_document, t_id, statement_id, sc_description, date_of_closing, t_name, c_id, statement_date, description, incident_timestamp, incident_place, badge_no, c_name, opening_date, c_status, e_id, p_id, pe_id, p_date_of_employment, rank, p_password, e_name, e_type, is_found, e_picture, p_address, o_badge_no, s_id, o_password, o_date_of_employment, city, first_name, last_name, gender, address, picture, contact, embg, date_of_birth, country, nationality} |
| 203 | | **Evaluation: Прелиминарна евалуација** |
| 204 | | |
| 205 | | 1. Description R1=Statement{s_id, city} претпоставувам треба да биде R1=Sector{s_id, city} - **грешка при брзање, коригирано** |
| 206 | | 2. Несоодветни зависности кои водат до проблематичен финален резултат: |
| 207 | | • c_id -> c_name, opening_date, c_status, statement_id, e_id, t_id, p_id, date_of_closing според оваа зависност имате две нелогични ограничувања кои се спротивни на оригиналниот модел: |
| 208 | | ◦ на еден криминален случај смее да има само една изјава - **изменето** |
| 209 | | ◦ еден криминален случај е од само еден тип на криминал - **изменето** |
| 210 | | **Моментално: `c_id** -> c_name, opening_date, c_status, e_id, p_id, date_of_closing` |
| 211 | | ****• date_of_closing -> sc_description, final_documentспоред ова на еден датум на затворање на случај смее да има само еден опис и еден документ, што значи на еден датум може да се затвори само еден случај, што е нелогично ограничување - **изменето: каде што еден документ би имал само еден случај на затворање и еден опис при затворањето**`final_document-> sc_description, date_of_closing` |
| 212 | | 3. Имате испуштено атрибути во некои од трансформациите и со тоа исчезнуваат важни врски во финалниот резултат: |
| 213 | | • На пример не постои врска меѓу изјавите и случаите како во оригиналниот модел - **изменето: сега врската помеѓу изјава и случај е во Statement{statement_id , c_id, statement_date, description, incident_timestamp, incident_place, badge_no}.** |
| 214 | | • Една изјава може да биде дел од повеќе случаи, што е спротивно на оригиналниот модел **- коригирано** |