{'fraction_non_alphanumeric': 0.021349080172609586, 'fraction_numerical': 0.0056022408963585435, 'mean_word_length': 4.635665529010239, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
The methodology of multicriterial assessment of Petri nets’ apparatus

This article emphasizes the effectiveness and relevance of the using of the apparatus of Petri nets for modeling of complex computing systems. Due to the fact that the methods of analysis existing in this theory do not allow estimating the resources required to build the desired model of the system, there is a problem of shortage of criteria for its evaluation in terms of the complexity of the construction. In the article we consider the method of analysis of a random Petri net based on the complexity of its building and relationships of internal units subnets. The purpose of this article is a software implementation of such an assessment within the theory of PN structures. Due to the fact, that structural approach allows to perform the operation of decomposition of the original system, this model can be divided into subnets of minimal dimension, that will allow to make its quantitative assessment ranking. To determine the total assessment of the input and output data of the system we will perform the analysis of head and tail positions of the net taking into account the weights of the input and output arcs of these positions. In order to identify an extent of the cost required to build the system, the number of operations of union of subnet transitions and positions. These subnets have minimal dimension in the original PN. Thus, the article demonstrates the formal implementation of assessment technique modules with using of algebra of sets, and the rules of splitting the PN structure into elementary blocks are formulated. The example of a comparative assessment of the two Petri nets based on the proposed complexity criteria is given; the plots of PN in different coordinate systems are displayed. The article presents the results of the research a plot of PN structures in three-dimensional space, implemented using described software. It demonstrates the accuracy of PN assessment by structural analysis in comparing with a non-automated visual one. This approach can be applied for comparative assessment of computer systems in terms of complexity of their construction and size of input and output data.


Introduction
The development of modern information technology has already determined the effectiveness of the application of mathematical abstractions in order to identify the properties and behavioral states of complex computing systems. The theories of graphs [1,2], finite automata [3], as well as the apparatus of Petri nets may be the tools of such research. The article will consider the apparatus of Petri nets which has a powerful formal expressiveness in describing and modelling of computing systems.
In addition, works [4,5] show the effectiveness of using of the PN theory as a tool to track the system response to the manifestation of various cause-effect relationships, which are widely used in the model description of parallel processes, in sharing of critical resources, in the search for security, persistence, accessibility and vitality of the system. There are several types of PN: time, scholastic, inhibitory, colored and hierarchical ones. The using of the particular specie of net determines the functionality of the system being modeled. For example, the inhibitory nets [6,7] are used in order to ensure the protection and security of information system, hierarchical ones [8] are to perform the analysis of complex dynamic systems containing embedded nets, scholastic ones [9] are used when it is necessary to provide the random length of the trigging of net transitions.
There are three main groups of methods for analyzing the properties of Petri nets: methods based on the construction of tree of reachable markings and tree of covering markings; matrix methods using the fundamental equation of the net and invariants; reduction methods [10]. It should be noted that the reduction is a complementary research tool and it is a special case of equivalent transformations, reducing the dimension of the net [10].

Statement of the problem
The mentioned analysis methods do not allow to characterize the system in terms of the complexity and difficulty of its construction. Let's consider the example in Figure 1. The nets have the same number of transitions, however, net 1 is composed of 2 cycles, and the network 2 has one position more. It is not possible to determine which of them is more difficult, and with non-automated analysis of bulky computer systems it would be practically impossible.
In order to solve the optimization and verification problems, the concept of structural analysis of system is used; it provides a mechanism of identification of the subsystems of different levels, their relations and connections. Application of the decomposition operation to a discrete system would divide it into several functional parts, which can then be reorganized in order to increase its effectiveness.
Under the grant of RNF for conducting of the fundamental scientific research and exploratory scientific research involving young researchers on the theme "Analysis and synthesis of net structures of complex systems based on tensor and transformational techniques," the task of performing the structural analysis of Petri nets (PN) using the methodology tensor transformations was given. As it is known, tensor calculating [11,12], is widely used in mechanics (elasticity theory), electrodynamics and in the theory of relativity.
During the work it is planned to find numerous alternative variants of primitive PN by dividing it into partial elements, thereby implementing the conversion of model from one coordinate system to another, using the tensor methodology by introducing space, dimension, defining of the coordinate system, and methods for their conversion. The elementary blocks obtained after decomposition are proposed to be under the operations of union, without breaking the rules of the original system known previously. As a result of the synthesis of the simplest structures we obtain a PN space of varying degree of equivalency to the original net. For the analysis of the obtained structures we will perform the introduction of the assessment system for the apparatus of Petri nets, given below, in order to select the net with a less complex structure.
Taking into account the mentioned facts, it is planned to implement plotting, that displays a set of synthesized PN as points in space, using the software.

The formal implementation
The program will be a set of modules; each of them calculates the index of a particular scale.

The input data
Petri net P, described by the generalized matrix.

Calculating
Let's divide P into a set of elementary nets Elementary net is a net with one input position, one output position and one transition ( Figure 2). First we hold the decomposition of the net into linear base fragments (LBF) -cycles and chain sequences of transitions and positions, and we get the simplest ones of them. Splitting into linear base fragments (LBF) will be produced with using of the following rules: 1) We perform the splitting of transitions, which have more than one input or output position. The original net is given in the Figure 3 (a), and the net with divided transitions t1 and t 3 is given in the Figure 3 (b).
2) We exclude the cycles from the obtained net (if there are cycles in the net), dividing positions and transitions if it is necessary, without breaking of existing links. A net element (transition or position) will be divided in case when it has more than one output element or input element (Figure 3c  To formalize the process of dividing into elementary blocks we introduce the operator J(P), which returns a set of elementary elements of the net P. Thus, the value of the scale will be the power of the resulting set:

The characteristic of system
It allows defining the rank of the system.

The input data
The incidence matrix D of the net, s 1 , s 2 -weights of the head and tail positions, respectively.

Calculating
To find the sum of the weights of positions let's use the formula: where K 1 is the number of head positions, K 2 is the number of tail positions. The values of K 1 , K 2 are defined by the incidence matrix. The incidence matrix D has a dimensionality of m × n, where m is a number of positions, n is a number of transitions, and it represents the difference between the input and output matrices: It is clear that element ݀ ୧ǡ୨ , 0 i m, 0 j n of matrix D, determines the ratio of the position and the transition in such a way: ݀ ୧ǡ୨ Ͳ, if the position belongs to the set of input position of transition, ݀ ୧ǡ୨ ൏ Ͳ, if the position belongs to a set of output positions of transition, ݀ ୧ǡ୨ ൌ Ͳ if the position does not belong to any of these sets or belongs to two sets simultaneously, forming a loop. In this formalism we do not take into account the structures of PN which have loops. It follows that for finding of the tail positions of PN, it is necessary to search for such a row of a matrix, in which for ‫݀‬ ୨ the condition ݀ ୨ 0 would be performed. Similarly, for determining of the head position of the structure it is necessary to search for such a row of matrix in which for ‫݀‬ ୨ the condition ݀ ୨ 0 would be performed.

The characteristic of system
The scale allows to make the total assessment of the input and output data that is interesting in terms of the investigation of the behavior of the whole system, and it can be applied to the models of the "black box" type.

The input data
Petri net P described by the generalized matrix.

Calculating
On the stage of the calculation in the module 1, we obtain the sum of the number of dividing of transitions and positions, which in this case will be similar to the sum of the number of union of transitions and positions f 3 (P).

The characteristic of system
It allows to define the complexity of a system.
The assessment of the scales all together allows to analyze such criteria as: 1) The complexity of the overall system. It allows to get the most comprehensive assessment of the complexity of the synthesized PN structure.
2) The effectiveness of parallelization. It allows tracking the degree of parallelism of processes.
3) The assessment of the dimension of the system. The ranking of the system.
To determine the optimal element of discrete set of received net, it is necessary to take into account the original model of the system and tasks that it performs. At this stage, the optimal element of the PN set is the one that has the shortest length of the vector: Taking into account the available data, a threedimensional space is supposed to be built, but there is the prospect of working with hyperspaces. The result of the work is a plot showing a set of PN as points in space, which allows to allocate the nets with the most simple structure and equivalent to the original network.

An example
Let's hold the comparative analysis of the complexity of Petri nets presented in Figure 1. For this purpose, we calculate the values for each of them using scales.

ICEICE 2016
The process of dividing of nets into the linear basic fragments is shown in the figures 4 and 5.    We calculate the capacity of each of obtained sets: From these calculations, it follows that for the construction of both net, the same number of blocks is required.
Let's find the quantity of head and tail positions of net 1, using the incidence matrix D 1 .
From the obtained values it can be concluded that the Petri net 2 exceeds Petri net 1 in the total amount of input and output data.

Scale 3
Online references will be linked to their original source, only if possible. To enable this linking extra care should be taken when preparing reference lists.
The conclusion: the complexity of net 1 building is higher.
The following values were obtained as results of calculations: The assessment of PN structures in different coordinate systems is given below. Figure 6 shows the dependence of a structure rank of the total weights of the input and output data, Figure 6 b shows the dependence of the structure rank of the number of operations of transitions and positions union in the elementary PN. After analyzing the comparative characteristics charts, we can conclude that the system described by PN 1, operates with a smaller total amount of input and output data than PN 2. A system described by PN 2, requires less work intensity for its construction.  This graph is the result of the program described above, which performs a calculating of values for each Petri net using scales and graphically displays the received values as points in three-dimensional space.
Let's calculate the length of the obtained vectors: ȁܲ ଵ ഥ ȁ ൎ ͳʹǡʹ, ȁܲ ଶ തതത ȁ ൌ ͳͳǡͷ. ȁܲ ଵ ഥ ȁ ȁܲ ଶ തതത ȁ, then the first net is more complex than the second one, taking into account the total assessment in all the criteria of complexity.

Conclusion
A formalized methodology for quantifying assessment of the complexity of arbitrary Petri nets is described.
During the further research it is planned to develop an algorithm that determines the effectiveness of the assessment system for structures and the extent of the need to introduce new scales.