<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.3 20210610//EN" "JATS-journalpublishing1-3.dtd">
<article article-type="research-article" dtd-version="1.3" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xml:lang="ru"><front><journal-meta><journal-id journal-id-type="publisher-id">mais</journal-id><journal-title-group><journal-title xml:lang="ru">Моделирование и анализ информационных систем</journal-title><trans-title-group xml:lang="en"><trans-title>Modeling and Analysis of Information Systems</trans-title></trans-title-group></journal-title-group><issn pub-type="ppub">1818-1015</issn><issn pub-type="epub">2313-5417</issn><publisher><publisher-name>Yaroslavl State University</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.18255/1818-1015-2015-4-563-577</article-id><article-id custom-type="elpub" pub-id-type="custom">mais-273</article-id><article-categories><subj-group subj-group-type="heading"><subject>Research Article</subject></subj-group><subj-group subj-group-type="section-heading" xml:lang="ru"><subject>Оригинальные статьи</subject></subj-group><subj-group subj-group-type="section-heading" xml:lang="en"><subject>Articles</subject></subj-group></article-categories><title-group><article-title>Метод генерации примеров моделей программ в терминах сетей Петри</article-title><trans-title-group xml:lang="en"><trans-title>A Method of Sample Models of Program Construction in Terms of Petri Nets</trans-title></trans-title-group></title-group><contrib-group><contrib contrib-type="author" corresp="yes"><name-alternatives><name name-style="eastern" xml:lang="ru"><surname>Харитонов</surname><given-names>Д. И.</given-names></name><name name-style="western" xml:lang="en"><surname>Kharitonov</surname><given-names>D. I.</given-names></name></name-alternatives><bio xml:lang="ru"><p>канд. техн. наук, ст. науч. сотр.</p><p>ул. Радио, д. 5, г. Владивосток, Россия, 690041</p></bio><bio xml:lang="en"><p> PhD, senior researcher</p><p>5 Radio str., Vladivostok, Russia, 690041</p></bio><email xlink:type="simple">demiurg@dvo.ru</email><xref ref-type="aff" rid="aff-1"/></contrib><contrib contrib-type="author" corresp="yes"><name-alternatives><name name-style="eastern" xml:lang="ru"><surname>Голенков</surname><given-names>Е. А.</given-names></name><name name-style="western" xml:lang="en"><surname>Golenkov</surname><given-names>E. A.</given-names></name></name-alternatives><bio xml:lang="ru"><p>канд. физ.-мат. наук, ст. науч. сотр</p><p>ул. Радио, д. 5, г. Владивосток, Россия, 690041</p></bio><bio xml:lang="en"><p> PhD, senior researcher</p><p>5 Radio str., Vladivostok, Russia, 690041</p></bio><email xlink:type="simple">golenkov@dvo.ru</email><xref ref-type="aff" rid="aff-1"/></contrib><contrib contrib-type="author" corresp="yes"><name-alternatives><name name-style="eastern" xml:lang="ru"><surname>Тарасов</surname><given-names>Г. В.</given-names></name><name name-style="western" xml:lang="en"><surname>Tarasov</surname><given-names>G. V.</given-names></name></name-alternatives><bio xml:lang="ru"><p> науч. сотр. ул. Радио, д. 5, г. Владивосток, Россия, 690041</p><p> науч. сотр. ул. Суханова, д. 8, г. Владивосток, Россия, 690950</p><p> </p></bio><bio xml:lang="en"><p>research oﬃcer 5 Radio str., Vladivostok, Russia, 690041</p><p>research oﬃcer 8 Suhanova st., Vladivostok, Russia</p></bio><email xlink:type="simple">george@dvo.ru</email><xref ref-type="aff" rid="aff-2"/></contrib><contrib contrib-type="author" corresp="yes"><name-alternatives><name name-style="eastern" xml:lang="ru"><surname>Леонтьев</surname><given-names>Д. В.</given-names></name><name name-style="western" xml:lang="en"><surname>Leontyev</surname><given-names>D. V.</given-names></name></name-alternatives><bio xml:lang="ru"><p> науч. сотр. ул. Радио, д. 5, г. Владивосток, Россия, 690041</p><p> науч. сотр. ул. Суханова, д. 8, г. Владивосток, Россия, 690950</p></bio><bio xml:lang="en"><p>research oﬃcer 5 Radio str., Vladivostok, Russia, 690041</p><p>research oﬃcer 8 Suhanova st., Vladivostok, Russia</p></bio><email xlink:type="simple">devozh@dvo.ru</email><xref ref-type="aff" rid="aff-2"/></contrib></contrib-group><aff-alternatives id="aff-1"><aff xml:lang="ru"><institution>Федеральное государственное бюджетное учреждение науки Институт автоматики и процессов управления Дальневосточного отделения РАН</institution><country>Россия</country></aff><aff xml:lang="en"><institution>Institution of Russian Academy of Sciences Institute of Automation and Control Processes Far Eastern Branch of the RAS</institution><country>Russian Federation</country></aff></aff-alternatives><aff-alternatives id="aff-2"><aff xml:lang="ru"><institution>Федеральное государственное бюджетное учреждение науки Институт автоматики и процессов управления Дальневосточного отделения РАН&#13;
&#13;
Дальневосточный Федеральный Университет</institution><country>Россия</country></aff><aff xml:lang="en"><institution>Institution of Russian Academy of Sciences Institute of Automation and Control Processes Far Eastern Branch of the RAS&#13;
&#13;
Far-Eastern Federal University</institution><country>Russian Federation</country></aff></aff-alternatives><pub-date pub-type="collection"><year>2015</year></pub-date><pub-date pub-type="epub"><day>20</day><month>08</month><year>2015</year></pub-date><volume>22</volume><issue>4</issue><fpage>563</fpage><lpage>577</lpage><permissions><copyright-statement>Copyright &amp;#x00A9; Харитонов Д.И., Голенков Е.А., Тарасов Г.В., Леонтьев Д.В., 2015</copyright-statement><copyright-year>2015</copyright-year><copyright-holder xml:lang="ru">Харитонов Д.И., Голенков Е.А., Тарасов Г.В., Леонтьев Д.В.</copyright-holder><copyright-holder xml:lang="en">Kharitonov D.I., Golenkov E.A., Tarasov G.V., Leontyev D.V.</copyright-holder><license xml:lang="ru" license-type="creative-commons-attribution" xlink:href="https://creativecommons.org/licenses/by/4.0/" xlink:type="simple"><license-p>Данная работа распространяется под лицензией Creative Commons Attribution 4.0.</license-p></license><license xml:lang="en" license-type="creative-commons-attribution" xlink:href="https://creativecommons.org/licenses/by/4.0/" xlink:type="simple"><license-p>This work is licensed under a Creative Commons Attribution 4.0 License.</license-p></license></permissions><self-uri xlink:href="https://www.mais-journal.ru/jour/article/view/273">https://www.mais-journal.ru/jour/article/view/273</self-uri><abstract><p>В данной работе рассматривается с формальной точки зрения метод построения сетей Петри,имитирующих поведение императивных программ. Примеры сетей Петри с заданными характеристиками являются необходимыми в процессе программирования новых алгоритмов анализа моделей программ, в частности, они могут использоваться для разработки и оптимизации алгоритмов композиции и декомпозиции сетей Петри, построения дерева достижимости, проверки инвариантов и т.д. Способ построения состоит из двух стадий. На первой стадии описываются шаблонные конструкции, из которых будет состоять результирующая сеть, и параметры, с которыми будет выполняться построение. С помощью этих параметров можно регулировать конечный размер, а также абсолютное или относительное количество определённых конcтрукций в результирующей сети. На второй стадии с помощью автоматического итерационного процесса может быть сгенерирована сеть Петри любого размера, ограниченного оперативной памятью компьютера. В первом разделе статьи приводится необходимый минимум определений и вводится новый вариант операции композиции сетей Петри по местам. Свойства коммутативности и ассоциативности бинарного вида предложенной операции позволяют сливать несколько сетей Петри в произвольном порядке. Далее вводится понятие шаблонной конструкции в виде маркированной сети Петри, обладающей входным и выходным интерфейсами, а также правилами композиции шаблонных конструкций с использованием этих интерфейсов. Множество шаблонных конструкций объединяются в набор, для которого определяются правила эволюции. Свойство полноты набора гарантирует, что в результате эволюции набора будет получена сеть Петри, имитирующая поведение императивной программы. В статье приводится вариант полного набора шаблонных конструкций и пример генерации сети Петри, имитирующей последовательную императивную программу.</p></abstract><trans-abstract xml:lang="en"><p>In the article a method of automated construction of Petri nets simulating the behaviour of imperative programs is considered from the formal point of view. Petri net samples with certain characteristics are necessary in programming new algorithms for program analysis; in particular, they can be used for developing or optimizing algorithms of Petri nets compositions and decompositions, building the reachability tree, checking invariants and so on. The generation process consists of two stages. At the ﬁrst stage, construction templates for a resulting net and parameters for construction are described. With the help of these parameters it is possible to regulate the ﬁnal size and the absolute or relative amount of certain structures in the resulting net. At the second stage, iterative process of automated net construction is used for Petri net generation of any size, limited only by an available computer memory. In the ﬁrst section of the article the minimum necessary deﬁnitions are given and a new version of Petri nets composition operation by places is introduced. Commutative and associative properties of introduced binary operation allow to synchronize any number of Petri nets in arbitrary order. Then construction template is deﬁned as a marked Petri net with input and output interfaces and rules for templates composition using this interfaces. A number of construction templates can be united in a collection, for which the evolution rules are deﬁned. The completeness property of a collection guarantees that the collection evolution results in a Petri net that simulates the imperative program behavior. The article provides a version of the construction templates complete collection and an example of Petri net simulating sequential imperative program construction.</p></trans-abstract><kwd-group xml:lang="ru"><kwd>модель программы</kwd><kwd>модель потока управления</kwd><kwd>теория сетей Петри</kwd><kwd>объект сети Петри</kwd></kwd-group><kwd-group xml:lang="en"><kwd>program model</kwd><kwd>control ﬂow model</kwd><kwd>Petri net object</kwd></kwd-group></article-meta></front><back><ref-list><title>References</title><ref id="cit1"><label>1</label><citation-alternatives><mixed-citation xml:lang="ru">Peterson, James Lyle, Petri Net Theory and the Modeling of Systems, Prentice Hall, 1981, 290 pp.</mixed-citation><mixed-citation xml:lang="en">Peterson, James Lyle, Petri Net Theory and the Modeling of Systems, Prentice Hall, 1981, 290 pp.</mixed-citation></citation-alternatives></ref><ref id="cit2"><label>2</label><citation-alternatives><mixed-citation xml:lang="ru">Anisimov N.A., Kovalenko A.A., “Towards Petri Net Calculi based on Synchronization via Places”, Proc. of the 1995 IEEE Symposium on Parallel Algorithms/Architecture Synthesis, IEEE Press, Japan, 1995, 264–270.</mixed-citation><mixed-citation xml:lang="en">Anisimov N.A., Kovalenko A.A., “Towards Petri Net Calculi based on Synchronization via Places”, Proc. of the 1995 IEEE Symposium on Parallel Algorithms/Architecture Synthesis, IEEE Press, Japan, 1995, 264–270.</mixed-citation></citation-alternatives></ref><ref id="cit3"><label>3</label><citation-alternatives><mixed-citation xml:lang="ru">Best, Eike and Devillers, Raymond and Koutny, Maciej, Petri Net Algebra, Springer-erlag New York, Inc., USA, 2001.</mixed-citation><mixed-citation xml:lang="en">Best, Eike and Devillers, Raymond and Koutny, Maciej, Petri Net Algebra, Springer-erlag New York, Inc., USA, 2001.</mixed-citation></citation-alternatives></ref><ref id="cit4"><label>4</label><citation-alternatives><mixed-citation xml:lang="ru">International Atomic Energy Agency, A Panel of Experts (2001), Investigation of an Accidental Exposure of Radiotherapy Patients in Panama/Report of a Team of Experts, 26 May – 1 June, 2001 (PDF), Austria: International Atomic Energy Agency, Vienna, 2001.</mixed-citation><mixed-citation xml:lang="en">International Atomic Energy Agency, A Panel of Experts (2001), Investigation of an Accidental Exposure of Radiotherapy Patients in Panama/Report of a Team of Experts, 26 May – 1 June, 2001 (PDF), Austria: International Atomic Energy Agency, Vienna, 2001.</mixed-citation></citation-alternatives></ref><ref id="cit5"><label>5</label><citation-alternatives><mixed-citation xml:lang="ru">Anisimov N.A., Golenkov E.A., Kharitonov D.I., “Kompozitsionnal’nyy podkhod k razrabotke parallel’nykh i raspredelennykh sistem na osnove setey Petri”, Programmirovanie, 2001, № 6, 30–43, (in Russian).</mixed-citation><mixed-citation xml:lang="en">Anisimov N.A., Golenkov E.A., Kharitonov D.I., “Kompozitsionnal’nyy podkhod k razrabotke parallel’nykh i raspredelennykh sistem na osnove setey Petri”, Programmirovanie, 2001, № 6, 30–43, (in Russian).</mixed-citation></citation-alternatives></ref><ref id="cit6"><label>6</label><citation-alternatives><mixed-citation xml:lang="ru">Denaro G. and M. Pezze`, “Petri nets and software engineering”, Lectures on Concurrency and Petri Nets, 3098, Springer-Verlag, 2004, 439–466.</mixed-citation><mixed-citation xml:lang="en">Denaro G. and M. Pezze`, “Petri nets and software engineering”, Lectures on Concurrency and Petri Nets, 3098, Springer-Verlag, 2004, 439–466.</mixed-citation></citation-alternatives></ref><ref id="cit7"><label>7</label><citation-alternatives><mixed-citation xml:lang="ru">Golenkov E.A., Sokolov A.S., “Metod avtomaticheskogo postroeniya modeli parallel’noy programmy v terminakh setey Petri”, Vychislitel’nye metody i programmirovanie, 6:2 (2005), 77–82, (in Russian).</mixed-citation><mixed-citation xml:lang="en">Golenkov E.A., Sokolov A.S., “Metod avtomaticheskogo postroeniya modeli parallel’noy programmy v terminakh setey Petri”, Vychislitel’nye metody i programmirovanie, 6:2 (2005), 77–82, (in Russian).</mixed-citation></citation-alternatives></ref><ref id="cit8"><label>8</label><citation-alternatives><mixed-citation xml:lang="ru">Mueller Ralph et al., “Automatic Generation of Simulation Models for Semiconductor Manufacturing”, Proceedings of the 39th Conference on Winter Simulation: 40 Years! The Best is Yet to Come, WSC ’07, IEEE Press, Piscataway, NJ, USA, 2007, 648–657.</mixed-citation><mixed-citation xml:lang="en">Mueller Ralph et al., “Automatic Generation of Simulation Models for Semiconductor Manufacturing”, Proceedings of the 39th Conference on Winter Simulation: 40 Years! The Best is Yet to Come, WSC ’07, IEEE Press, Piscataway, NJ, USA, 2007, 648–657.</mixed-citation></citation-alternatives></ref><ref id="cit9"><label>9</label><citation-alternatives><mixed-citation xml:lang="ru">Desel J., “Controlling Petri Net Process Models”, Web Services and Formal Methods, 4th International Workshop, WS-FM (2007, Brisbane, Australia, September 28-29, ed. Marlon Dumas and Reiko Heckel), 2008, 17–30.</mixed-citation><mixed-citation xml:lang="en">Desel J., “Controlling Petri Net Process Models”, Web Services and Formal Methods, 4th International Workshop, WS-FM (2007, Brisbane, Australia, September 28-29, ed. Marlon Dumas and Reiko Heckel), 2008, 17–30.</mixed-citation></citation-alternatives></ref><ref id="cit10"><label>10</label><citation-alternatives><mixed-citation xml:lang="ru">Laure Petrucci, “Aggregating views for Petri net model construction”, In Proc. workshop on Petri Nets and Distributed Systems (PNDS08, associated with Petri Nets 2008), 2008, 17–31.</mixed-citation><mixed-citation xml:lang="en">Laure Petrucci, “Aggregating views for Petri net model construction”, In Proc. workshop on Petri Nets and Distributed Systems (PNDS08, associated with Petri Nets 2008), 2008, 17–31.</mixed-citation></citation-alternatives></ref><ref id="cit11"><label>11</label><citation-alternatives><mixed-citation xml:lang="ru">Abdelghani Ghomari, Chaabane Djeraba, “Modelling Multimedia Synchronization using a Time Petri Net Based Approach”, Advances in Petri Net: Theory and Applications, eds. Tauseef Aized, Intech, 2010, http://www.intechopen.com/books/advances-in-petri-net-theory-and-applications/modeling-multimedia-synchronization-using-a-time-petri-net-based-approach-.</mixed-citation><mixed-citation xml:lang="en">Abdelghani Ghomari, Chaabane Djeraba, “Modelling Multimedia Synchronization using a Time Petri Net Based Approach”, Advances in Petri Net: Theory and Applications, eds. Tauseef Aized, Intech, 2010, http://www.intechopen.com/books/advances-in-petri-net-theory-and-applications/modeling-multimedia-synchronization-using-a-time-petri-net-based-approach-.</mixed-citation></citation-alternatives></ref><ref id="cit12"><label>12</label><citation-alternatives><mixed-citation xml:lang="ru">Chen Ming et al., “Petri net models for the semi-automatic construction of large scale biological networks”, Natural Computing, 10:3 (2011), 1077–1097.</mixed-citation><mixed-citation xml:lang="en">Chen Ming et al., “Petri net models for the semi-automatic construction of large scale biological networks”, Natural Computing, 10:3 (2011), 1077–1097.</mixed-citation></citation-alternatives></ref><ref id="cit13"><label>13</label><citation-alternatives><mixed-citation xml:lang="ru">Ballarini P. et al., “Petri Nets Compositional Modeling and Veriﬁcation of Flexible Manufacturing Systems”, In 7th Annual IEEE Conference on Automation Science and Engineering (CASE 2011), 2011.</mixed-citation><mixed-citation xml:lang="en">Ballarini P. et al., “Petri Nets Compositional Modeling and Veriﬁcation of Flexible Manufacturing Systems”, In 7th Annual IEEE Conference on Automation Science and Engineering (CASE 2011), 2011.</mixed-citation></citation-alternatives></ref><ref id="cit14"><label>14</label><citation-alternatives><mixed-citation xml:lang="ru">Alekseyev Arseniy et al., “Improved Parallel Composition of Labelled Petri Nets”, ACSD, eds. Caillaud, Benoıˆt and Carmona, Josep and Hiraishi, Kunihiko, IEEE Computer Society, 2011, 131–140.</mixed-citation><mixed-citation xml:lang="en">Alekseyev Arseniy et al., “Improved Parallel Composition of Labelled Petri Nets”, ACSD, eds. Caillaud, Benoıˆt and Carmona, Josep and Hiraishi, Kunihiko, IEEE Computer Society, 2011, 131–140.</mixed-citation></citation-alternatives></ref><ref id="cit15"><label>15</label><citation-alternatives><mixed-citation xml:lang="ru">Ivan Petko and Stefan Hudґak, “General composition for high level Petri nets and its properties”, Central Europ. J. Computer Science, 2:3 (2012), 222–235.</mixed-citation><mixed-citation xml:lang="en">Ivan Petko and Stefan Hudґak, “General composition for high level Petri nets and its properties”, Central Europ. J. Computer Science, 2:3 (2012), 222–235.</mixed-citation></citation-alternatives></ref><ref id="cit16"><label>16</label><citation-alternatives><mixed-citation xml:lang="ru">Durmus M. S., Yildirim U., Soylemez M. T., “Automatic Generation of Petri Net Supervisors for Railway Interlocking Design”, Control Conference (AUCC), 2012 2nd Australian, IEEE, 2012, 180–185.</mixed-citation><mixed-citation xml:lang="en">Durmus M. S., Yildirim U., Soylemez M. T., “Automatic Generation of Petri Net Supervisors for Railway Interlocking Design”, Control Conference (AUCC), 2012 2nd Australian, IEEE, 2012, 180–185.</mixed-citation></citation-alternatives></ref><ref id="cit17"><label>17</label><citation-alternatives><mixed-citation xml:lang="ru">Tarasov G.V., Kharitonov D.I, Golenkov E.A.., “Ob odnom predstavlenii funktsii v modeli imperativnoy programmy, zadannoy setyami Petri”, Modelirovanie i analiz informatsionnykh sistem, 18:2 (2011), 18–38, (in Russian).</mixed-citation><mixed-citation xml:lang="en">Tarasov G.V., Kharitonov D.I, Golenkov E.A.., “Ob odnom predstavlenii funktsii v modeli imperativnoy programmy, zadannoy setyami Petri”, Modelirovanie i analiz informatsionnykh sistem, 18:2 (2011), 18–38, (in Russian).</mixed-citation></citation-alternatives></ref><ref id="cit18"><label>18</label><citation-alternatives><mixed-citation xml:lang="ru">Kharitonov D., Tarasov G., “Modeling function calls in program control ﬂow in terms of Petri Nets”, ACSIJ Advances in Computer Science: an International Journal, 3:6 12 (November 2014), 82–91.</mixed-citation><mixed-citation xml:lang="en">Kharitonov D., Tarasov G., “Modeling function calls in program control ﬂow in terms of Petri Nets”, ACSIJ Advances in Computer Science: an International Journal, 3:6 12 (November 2014), 82–91.</mixed-citation></citation-alternatives></ref><ref id="cit19"><label>19</label><citation-alternatives><mixed-citation xml:lang="ru">B. Esther Sunanda, P. Seetharamaiah, “Modeling of Safety-Critical Systems Using Petri Nets”, SIGSOFT Softw. Eng. Notes, 40:1 (2015), 1–7.</mixed-citation><mixed-citation xml:lang="en">B. Esther Sunanda, P. Seetharamaiah, “Modeling of Safety-Critical Systems Using Petri Nets”, SIGSOFT Softw. Eng. Notes, 40:1 (2015), 1–7.</mixed-citation></citation-alternatives></ref><ref id="cit20"><label>20</label><citation-alternatives><mixed-citation xml:lang="ru">Kordon F. et al., “Complete Results for the 2015 Edition of the Model Checking Contest”, 2015, http://mcc.lip6.fr/2015/results.php.</mixed-citation><mixed-citation xml:lang="en">Kordon F. et al., “Complete Results for the 2015 Edition of the Model Checking Contest”, 2015, http://mcc.lip6.fr/2015/results.php.</mixed-citation></citation-alternatives></ref></ref-list><fn-group><fn fn-type="conflict"><p>The authors declare that there are no conflicts of interest present.</p></fn></fn-group></back></article>
