1. Introduction
Neighborhood models proposed by S.L. Blumin and A.M. Shmyrin in the late 1990s belong to the class of discrete systems and are used to model the behavior of complex spatially distributed objects.
The simplest class of neighborhood models is a symmetric linear neighborhood model for state and input and a linear mixed model for state, input, and output; the simplest class of nonlinear ones are bilinear neighborhood models for state and input [
1,
2].
In the theory of neighborhood systems, algorithms for parametric identification and mixed control for symmetric, mixed, and bilinear models have been developed [
1,
2].
A further direction in the development of the theory of neighborhood systems is fuzzy neighborhood models, which take into account the degree of fuzzy influence of neighborhood elements on each other [
2].
It should be noted that the above neighborhood models are static and, therefore, applicable to modeling objects that do not change their state over time. However, the majority of real modeled objects are dynamic. An attempt to introduce dynamics into neighborhood models was made in linear neighborhood-time models [
3].
The next stage in the development of the theory of neighborhood systems is the development and analysis of clear and fuzzy non-deterministic dynamic neighborhood models of Petri nets, allowing a fuzzy character of values in the nodes and of connections between the nodes of the system, as well as the development of identification algorithms and the solution of reachability problems with partially specified parameters for these classes of models [
4,
5]. Dynamic neighborhood models considered in References [
4,
5,
6,
7,
8,
9] are used to model the functioning of dynamic production systems.
Examples of the application of the method in question are the linear and bilinear neighborhood models of the wastewater treatment plant, the neighborhood model of transport systems, the model of the aeration tank functioning, and the dynamic non-deterministic neighborhood model of the functioning of cement production given in References [
1,
2,
5].
In deterministic models, the process develops according to precisely defined rules. In this paper, we give the definition of non-deterministic dynamic neighborhood models in which there is some element of randomness of the system’s functioning and which make it possible to model stochastic parallel processes inherent in a significant part of production systems.
It should be noted that References [
10,
11] consider similar terms; however, unlike the present paper, they use agents moving along non-deterministic neighborhoods and interacting with each other. The models given in this paper differ by a layerwise assignment of the links between the nodes, while one or several layers (neighborhoods) are activated at a time according to the given statement, one of which is randomly selected for functioning.
In order to vary the non-determinacy of a neighborhood model, we introduce the notion of a non-determinacy measure. Let us consider the formulation, the algorithm, and an example of solving the problem of reaching a given state of a neighborhood model system with given layer priorities and a non-determinacy measure.
2. Dynamic Non-Deterministic Neighborhood Model
A dynamic neighborhood model can be specified by a set where:
—neighborhood model structure, —set of nodes, —neighborhoods of the nodes’ connections by states, —neighborhoods of the nodes’ connections by controls, —neighborhoods of the nodes’ connections by the output impact. For each node , its own neighborhood is determined by states , by controls , and by outputs ; , ; ;
—neighborhood model state vector in real time;
—neighborhood model input vector in real time;
—recalculation function of neighborhood model states (generally non-deterministic), where —number of node states entering the neighborhood , —number of node controls entering the neighborhood ;
—initial state of the model.
In a dynamic non-deterministic neighborhood model, the neighborhoods of node connections by states and controls change over time. The whole set of connections between nodes is divided into sets of neighborhoods (layers) . Each layer includes all nodes of the neighborhood model and part of the connections between them. The k-th layer is active at the time , if the specified activation condition is met for it. At each current moment, several layers can be active, but only one of them is randomly selected for functioning.
A particular case of a neighborhood model is a linear one. In Reference [
2], it was shown that the state recalculation function for a linear dynamic non-deterministic neighborhood model is set by an equation in the matrix form:
where
,
—matrices of the coefficients of the k-th layer by states at the moments
and
, respectively;
—matrix of the coefficients of the k-th layer by inputs at the moment
;
,
—state vector of the neighborhood system at the moments
and
, respectively;
—input vector at the moment
;
—random vector consisting of zeros and one unit in the position corresponding to the selected k-th layer, according to the equations of which the node states of the neighborhood model are recalculated at the next moment
.
In Formula (1), the block matrix is multiplied by the vector according to the following rule: .
3. The Concept of the Indeterminacy Measure
Before considering the following material, we give the definition of -algebra. -algebra is an algebra of sets which is closed under a countable union operation. -algebras play an important role in the measure theory and the probability theory.
The family of subsets of the set is called sigma-algebra if it satisfies the following properties:
- (1)
contains the set .
- (2)
If , then its addition .
- (3)
The union of a countable number of sets from also belongs to .
In the functioning of a non-deterministic neighborhood model, it is possible to introduce a limitation on the number of active layers, which will allow the variation of the non-determinism of a model at each moment
. We introduce the notion of the measure of the non-determinacy of a neighborhood model [
2,
3].
Let be the set of all layers of a neighborhood model, and be the set of all subsets , including .
Theorem 1. is -algebra.
Proof (by the definition of set ) is satisfied.
If , then (by definition of set ) is satisfied.
If , then (also by definition of set ) is satisfied.
Hence, is —-algebra. □
The number of elements of any set will be called the potency of the set and denoted by . Obviously, —the potency of the empty set is zero, —the potency of the set is equal to the number of layers of the neighborhood model.
We call the measure of the non-determinacy of the neighborhood model the function: : , where —the potency of the set .
Theorem 2. has the properties of a probability measure.
Proof For any , it is satisfied by the definition of the function .
For any countable collection of sets such that , the equation: is satisfied.
Indeed, let , , and . Then ; .
, , … .
Consequently, .
is satisfied. Indeed, .
Thus, the function is a probability measure. □
Let the sets be active layers of a non-deterministic neighborhood model at the moments , then will be called the non-determinacy measure of the neighborhood model, respectively, at the moments . The more active layers at each moment, the greater the non-determinacy measure of the neighborhood model. By introducing a restriction on the number of active layers, it is possible to change the non-determinacy measure and to regulate the process of functioning of a non-deterministic neighborhood model.
4. The Reachability Problem with Partially Specified Parameters, Layer Priorities, and the Non-Determinacy Measure
Let the initial state be given at the initial moment of the neighborhood model functioning.
Let be the state of the neighborhood model which it must reach as a result of functioning, the vector is the sum of control actions that transfer the initial state of the neighborhood model into the state , while only a part of the coordinates of the state vector and the sum vector of the controls is known.
Each layer of the neighborhood model is given priority by experts. The non-determinacy measure of the model is given.
Taking into account the priorities of the layers and the non-determinacy measure of the model, it is required to determine the unknown components of the state vector and the sum of controls vector , as well as the sequence of control actions at each moment of the model’s functioning that transfer the initial state into the state .
In order to solve the reachability problem for the considered neighborhood model, the following criterion can be used:
where
;
—unknown state components
at the moment
;
—nominal values of the state component;
—number of specified state components
;
—vector coordinates
;
—nominal values of control components;
—maximum number of the model functioning strokes. Nominal values and
can be set by experts.
It is necessary to obtain the minimum value of the functional for a given number of strokes of dynamic neighborhood model functioning, taking into account the priorities of the layers and the non-determinacy measure.
Let us consider step by step the algorithm for solving the reachability problem for a dynamic non-deterministic neighborhood model with given layer priorities and a non-determinacy measure.
Set the initial state , input impacts , part of the state vector coordinates and the control vector , the maximum number of strokes of dynamic neighborhood model functioning, and solution accuracy .
Set the priorities of the model layers . Specify the model’s non-determinacy measure .
Model functioning time is . Control .
Let be the root of the state tree and the current element of the tree.
The minimum value of the functional . The optimal path corresponding to is .
Find the set of active layers of the model at the moment ; —the potency of the set .
In accordance with the measure , find the subset of the set , while in the set layers from are selected in order of decreasing priority. is the potency of the set .
If , . Go to step 12. Otherwise go to step 9.
Let the layers
,
be active at the moment
. Reverse the elements
of the set of active layers
and correspondingly, to each element
form a vector
. For the active layer
, the components of the vector
are:
For each vector
, use the pseudo-inversion to solve the equation:
and find
. For each state
and control
, calculate and store the value of the functional (2)
. The path leading to this state is
.
If for some state the value of the functional is , then the optimal control is found providing the optimal solution with accuracy at . The corresponding optimal path is . End of algorithm. Otherwise go to item 12.
If , then the maximum depth of the tree is reached. In the resulting tree, find the state that gives the minimum value of the functional (2) , the corresponding control, and the path leading to this state. The solution is called quasi-optimal. Otherwise go to step 13.
Add the states as descendants to the current state tree element. Remember for each the value of the functional (2), control , and path leading to this state. For each perform the algorithm, starting with step 6, at .
In order to obtain a more accurate solution, it is necessary to increase the number of strokes of dynamic neighborhood model functioning.
It should be noted that this algorithm provides an optimal solution until a certain value of the non-determinacy measure. With a significant decrease in the non-determinacy measure, only a quasi-optimal solution can be obtained, since the number of active layers decreases simultaneously at each moment of time, and some states of the system become unattainable.
5. An Example of Solving the Reachability Problem with Given Priorities of Layers and a Non-Determinacy Measure
Let a non-deterministic neighborhood model be given consisting of four nodes and three layers specified by the neighborhoods .
The structure of the neighborhood model is shown in
Figure 1.
Let the input impacts on each layer be constant:
After identification, the following systems of equations are obtained. For the first layer:
We introduce the priorities of the layers: ; ; .
Let , , ; ; .
Let us construct a state tree taking into account the priorities (
Figure 2).
For each found state and its corresponding control, we find the value of the functional (2) and write it into
Table 1.
Thus, the optimal solution giving the minimal value of the functional (2) is . The optimal control leading to this solution is equal to , and the optimal path is .
The solution is obtained in five steps. In the absence of priorities and the non-determinacy measure, a similar task is solved in 18 steps.
From the above example, it can be seen that the optimal solution when comparing priority layers and using the non-determinacy measure can be obtained much faster (the state tree is shorter) than the method without using priorities.
6. Conclusions
Non-deterministic dynamic neighborhood models are considered in this paper. The notion of a non-determinacy measure is given, the use of which makes it possible to vary the non-determinacy of the neighborhood model; an algorithm for solving the reachability problem for a neighborhood model with variable non-determinacy and layer priorities is also given.
An example of solving the reachability problem is considered. It is shown that it is possible to obtain an optimal solution when comparing priority layers and using the non-determinacy measure, rather than without using priorities.
It is planned to further develop the theory of non-deterministic dynamic neighborhood models, namely, to develop the algorithms for their structural identification and control, as well as to apply the obtained results in order to model complex non-deterministic spatially distributed systems and study their properties.