روشي مبتني بر فاصله براي رفع ناسازگاري مدل
محورهای موضوعی : مهندسی برق و کامپیوتررضا گرگان محمدي 1 , احمد عبدالهزاده بارفروش 2
1 - دانشگاه صنعتی امیرکبیر
2 - دانشگاه صنعتی امیرکبیر
کلید واژه:
چکیده مقاله :
کاربرد رويکرد مدلگرا در توليد نرمافزار به دليل کاهش پيچيدگي و افزايش سرعت توليد به طور جدي مورد توجه قرار گرفته است. يکي از چالشهاي مهم در کاربرد مدل وجود ناسازگاري است. يک ناسازگاري به دليل وجود الگوهاي ساختاري نامطلوب در مدل بروز مييابد. روشهاي فعلي ارائهشده براي رفع ناسازگاري مدل به ميزان تغييرات مدل و فاصله بين مدل و ترميم آن توجه ندارند. در اين مقاله روشي مبتني بر فاصله براي يافتن نزديکترين ترميم نسبت به مدل ناسازگار ارائه ميشود. براي اين منظور مدل و فرامدل با استفاده از گراف جهتدار بازنمايي شده و از قواعد تبديل گراف جهت رفع ناسازگاري بهره برده ميشود. همچنين معيار فاصله بر اساس ميزان تغييرات گراف متناظر مدل تعريف ميشود. اعمال روش پيشنهادي به مجموعهاي از مدلهاي مبتني بر BPMN بر بهبود نتايج با استفاده از معيار فاصله دلالت دارد.
Model driven approach to software engineering has been taken into consideration due to its impact on reducing complexities and improving the productivity in software development. Inconsistencies are considered as an important challenge in applying models. An inconsistency is occurred due to an undesired structural pattern in a model. The main drawback of current approaches to inconsistency resolution is not considering the difference between the repair and the spoiled model. This work presents a distance-based method for finding closest repair for the spoiled model. For this aim, models and metamodels are represented using directed graphs and graph transformation rules are employed for inconsistency resolution. A distance metric is defined based on the amount of changes in the graph corresponding to the model. Application of the proposed method to a set of BPMN models shows the improvement of the results.
