کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
433197 1441643 2015 34 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Two type extensions for the constraint modeling language MiniZinc
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
Two type extensions for the constraint modeling language MiniZinc
چکیده انگلیسی

In this paper we present two type extensions for the modeling language MiniZinc that allow the representation of some problems in a more natural way. The first proposal, called MiniZinc⋆, extends existing types with additional values. The user can specify both the extension of a predefined type with new values, and the behavior of the operations with relation to the new types. We illustrate the usage of MiniZinc⋆ to model SQL-like problems with integer variables extended with NULL values. The second extension, MiniZinc+, introduces union types in the language. This allows defining recursive types such as trees, which are very useful for modeling problems that involve complex structures. A new case statement is introduced to select the different components of union type terms. The paper shows how a model defined using these extensions can be transformed into a MiniZinc model which is equivalent to the original model.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Science of Computer Programming - Volume 111, Part 1, 1 November 2015, Pages 156–189
نویسندگان
, , ,