CN108847986A - A kind of control method for double-layer network - Google Patents

A kind of control method for double-layer network Download PDF

Info

Publication number
CN108847986A
CN108847986A CN201810689888.2A CN201810689888A CN108847986A CN 108847986 A CN108847986 A CN 108847986A CN 201810689888 A CN201810689888 A CN 201810689888A CN 108847986 A CN108847986 A CN 108847986A
Authority
CN
China
Prior art keywords
mds
node
sameset
obtains
update
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810689888.2A
Other languages
Chinese (zh)
Inventor
张锡哲
周鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Northeastern University China
Original Assignee
Northeastern University China
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Northeastern University China filed Critical Northeastern University China
Priority to CN201810689888.2A priority Critical patent/CN108847986A/en
Publication of CN108847986A publication Critical patent/CN108847986A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • H04L41/044Network management architectures or arrangements comprising hierarchical management structures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention provides a kind of control method for double-layer network.Method includes:Obtain the first layer network and the maximum matching side collection of the second layer network, simulation node collection difference in double-layer network to be processed, judge that the maximum matching of the first layer network any of is matched with the maximum of the second layer network and whether belongs to perfect matching, if perfect matching, the minimum driving node collection of double-layer network is then obtained, and terminates operation.If not being perfect matching, the reachable set AC that interlocks is obtained1(x), it meanwhile, obtains node y and replaces node x, while updating the matching of network maximum.This method can be by finding a simulation node set (MDS), allow to control any one layer of double-layer network, current driving node is replaced by the node in the staggeredly reachable set with driving node, it is effectively reduced the quantity of the total driving node of network, improves the control efficiency of multitiered network.

Description

A kind of control method for double-layer network
Technical field
The present invention relates to network technique fields, and in particular to a kind of control method for double-layer network.
Background technique
In actual life many things and its between relationship can be modeled as network, such as the interpersonal pass in social system It is net, scientist's coorporative network, epidemic transmission net and the network of communication lines, neuron net, gene regulatory network and albumen in the ecosystem Matter interactive network and Food web, telephone network, internet and WWW etc. in science technology system.To this increasingly complicated network The structure of system and behavioural analysis are to understand the premise of its inherent law.Guarantee the normal operation of these systems, it is therefore necessary to Study the control of complex network.For example, in transportation network, to avoid traffic congestion as far as possible, if will by increase road or Road width is widened to slow down traffic jam phenomenon, being operated to which road or crossing can just play a role?In Food web In, species are affected by environment and become extinct and affect the structure of food chain, how to guarantee the sustainability of the ecosystem?Because of spy In net, applying control to those nodes can guarantee the stability of network, adjust the communication of which node to maintain network just Normal communications status?In social networks, which node is selected to carry out information publication or regulation, so that the influence model that control message is propagated It encloses?These can all be analyzed by the research controlled complex network.
Many systems of real world are all interactions to form multilayered structure.For example, city traffic network is that collection is public Hand over the multilayered structure being integrated with subway;One physiological function, which is also required to several biosystem Collaboration, to be completed.Therefore, The research of multitiered network has important practical significance.
In order to control complex network, the part of nodes input control signal into network is needed, the company on side between node is passed through It connects, all nodes of network is driven to reach desired state, these nodes for being used to input control signal are known as driving node.It is multiple Miscellaneous network-based control, which refers to, enables complex network in the limited time control node input control signals several in network It is interior to reach any expecting state from original state.In order to fully control the state of all nodes of network, required least input Node set is known as simulation node collection (MDS).
It is directed to the control problem of multitiered network at present, first method is calculated separately each based on structural controllability theory The MDS of layer network, then takes union.Since the MDS of each layer network is not uniquely, the control obtained in this way is entirely more The driving node set of layer network is not optimal, therefore it is higher to control cost.
Another control method is proposed based on structural controllability theory.Assuming that the MDS of each layer network be it is identical, i.e., Find any one layer that a MDS allows to control multitiered network.According to structural controllability theory, the MDS for finding network can To be realized by the maximum matching for calculating figure.
Therefore how to go out to meet the minimum drive of constraint condition and maximum matched control double-layer network by BP equation calculation Dynamic node number NDThe problem of as current urgent need to resolve.
Summary of the invention
(1) technical problems to be solved
For complex network control problem, the present invention proposes a kind of control method for double-layer network, can find control Simulation node set required for all nodes of double-layer network processed.Relative to the previous work for successively calculating driving node collection Make, the present invention can find less driving node, to control double-layer network, to improve the efficiency of control.
(2) technical solution
In order to achieve the above object, the main technical schemes that the present invention uses include:
A kind of control method for double-layer network, including:
S1, for double-layer network G (V, E) to be processed, obtain first layer network G in G (V, E)1Maximum matching Simulation node collection MDS1, obtain second layer network G in G (V, E)2Maximum matchingSimulation node collection MDS2;Its In, V is node set, node i ∈ V, i=1,2 ..., N, the G1With the G2Corresponding identical physical node;
S2, judge first layer network G1Maximum matchingSecond layer network G2Maximum matchingAny of Whether perfect matching is belonged to;
If S3,For perfect matching, then the simulation node collection MDS=MDS of the double-layer network G2
IfFor perfect matching, then the simulation node collection MDS=MDS of the double-layer network G1
IfIt is perfect matching, then the simulation node collection MDS={ i } of the double-layer network G, i ∈ {1,2,…,N}。
Optionally, the method also includes:
If S4,WithIt is not perfect matching, then obtains MDS1And MDS2Intersection sameSet=MDS1∩MDS2; And by the node in sameSet from MDS1And MDS2It is removed in set, obtains a new MDS1 (1)And MDS2 (1)Collection;
S5, MDS is obtained1 (1)In each node x staggeredly reachable set AC1(x);
Obtain MDS2 (1)In meet condition y1∈MDS2 (1)And y1∈AC1(x) node y1
At least one node y if it exists1, then make MDS1 (1)Remove corresponding x1Element obtains MDS1 (2), make MDS2 (1)Removal y1Element obtains MDS2 (2), increase sameSet by y1Element obtains sameSet(1), and execute update (G1,x1,y1);
Meanwhile obtaining MDS2 (1)In meet condition y2∈MDS2 (1)And y2Staggeredly reachable set AC2(y2) and AC1(x) friendship Collection setA is not empty node y2
At least one node y if it exists2, then make MDS2 (2)Remove corresponding x2Element obtains MDS1 (3), make MDS2 (2)Removal y2Element obtains MDS2 (3), an element z in setA is taken, sameSet is made(1)Increase z element, obtains sameSet(2), and hold Row update (G1,x2,z)、update(G2,y2,z);
S6, MDS is being traversed2 (1)In after each node, obtain MDS1 (4)、MDS2 (4)And sameSet(3)Collection;
Judge MDS1 (4)And MDS2 (4)It whether is sky, if MDS1 (4)And MDS2 (4)Middle there are a set for sky, then will be non- Null set and sameSet(3)Simulation node collection MDS of the union as double-layer network G;
Wherein, update (Gk, i, j) indicates to update network GKMaximum matching, i.e., for the j's from node i to node All sides on zigzag path, by network GKMatching when becoming non-matching, former network GKIt is non-matching while become matching while, k Take 1 or 2.
If S7, MDS1 (4)And MDS2 (4)It is nonempty set, then obtains MDS2 (4)In each node b staggeredly reachable set AC2 (b);
Obtain MDS1 (4)In meet condition a1∈MDS1 (4)And a1∈AC2(b) node a1
At least one node a if it exists1, then make MDS1 (4)Remove a1Element obtains MDS1 (5), make MDS2 (4)It removes corresponding b1Element obtains MDS2 (5), make sameSet(3)Increase a1Element obtains sameSet(4), and execute update (G2,b1,a1);
Meanwhile obtaining MDS1 (4)In meet condition a2 ∈ MDS1 (4)And a2Staggeredly reachable set AC1(a2) and AC2(b) friendship Collection setB is not empty node a2
At least one node a if it exists2, then make MDS1 (5)Remove a2Element obtains MDS1 (6), make MDS2 (5)It removes corresponding b2Element obtains MDS2 (6), an element c in setB is taken, sameSet is made(4)Increase c element, obtains sameSet(5), and hold Row update (G1,a2,c)、update(G2,b2,c);
S8, MDS is being traversed2 (4)In after each node, obtain MDS1 (7)、MDS2 (7)And sameSet(6)Collection;
It is repeated in a manner of step S5 and step S7, until MDS1 (7)And MDS2 (7)At least one of for sky, or sameSet(6)In element no longer change, then the simulation node of double-layer network G integrates MDS as MDS1 (7)、MDS2 (7)With sameSet(6)Union.
Optionally, before the step S5, the method also includes:
S4a, each node q in sameSet is performed the following operations:
Q is obtained in G1In staggeredly reachable set AC1(q), G2In staggeredly reachable set AC2(q);
Acquisition meets condition m ∈ AC1(q)∩MDS2 (1)And n ∈ AC2(q)∩MDS1 (1)Node m, n;
At least one node m and there are at least one node n if it exists, then make MDS1 (1)N element is removed, obtains one New MDS1 (1), make MDS2 (1)M element is removed, the MDS of a update is obtained2 (1), make sameSet removal q element and increase m, n Element, obtains the sameSet of a update, and executes update (G1, q, m), update (G2,q,n);
Correspondingly, the MDS in step S51 (1)、MDS2 (1)It is the MDS updated in step S4a with sameSet1And MDS2、 sameSet;
Correspondingly, if the MDS updated1And MDS2Middle there are one is empty set, then by nonempty set and sameSet Simulation node collection MDS of the union as double-layer network G.
Optionally, the method also includes:
If S4,WithIt is not perfect matching, then obtains MDS1And MDS2Intersection sameSet=MDS1∩MDS2; And by the node in sameSet from MDS1And MDS2It is removed in set, obtains a new MDS1 (1)And MDS2 (1)Collection;
S5, MDS is obtained1 (1)In each node x staggeredly reachable set AC1(x);
Judge whether there is at least one node y1, meet y1∈MDS2 (1)And y1∈AC1(x);
If it exists, step S5a is executed, otherwise, executes step S5b;
S5a, if it exists at least one node y1, then make MDS1 (1)Corresponding x element is removed, MDS is obtained1 (2), make MDS2 (1) Remove y1Element obtains MDS2 (2), increase sameSet by y1Element obtains sameSet(1), and execute update (G1,x,y1);
S5b, judge MDS2 (1)In whether there is at least one node y2, meet y2∈MDS2 (1)And y2Staggeredly reachable set AC2(y2) and AC1(x) intersection setA is not empty;
At least one node y if it exists2, then make MDS2 (1)Corresponding x element is removed, MDS is obtained1 (2)*, make MDS2 (1)Removal y2Element obtains MDS2 (2)*, an element z in setA is taken, increases sameSet by z element, obtains sameSet(1)*, and hold Row update (G1,x,z)、update(G2,y2,z);
S6, MDS is being traversed2 (1)In after each node, obtain MDS1 (3)、MDS2 (3)And sameSet(2)Collection;
At this time, judge MDS1 (3)And MDS2 (3)It whether is sky, if MDS1 (3)And MDS2 (3)Middle there are one is empty set, Then by nonempty set and sameSet(2)Simulation node collection MDS of the union as double-layer network G;
Wherein, update (Gk, i, j) and it indicates to update network GKMaximum matching, i.e. the friendship for the j from node i to node All sides on wrong path, by former network GKMatching when becoming non-matching, former network GKIt is non-matching while become matching while, k Take 1 or 2.
If S7, MDS1 (3)And MDS2 (3)It is nonempty set, then obtains MDS2 (3)In each node b staggeredly reachable set AC2 (b);
Judge whether there is node a1, meet a1∈MDS1 (3)And a1∈AC2(b);
If it exists, step S7a is executed, otherwise, executes step S7b;
S7a, if it exists at least one node a1, then make MDS1 (3)Remove a1Element obtains MDS1 (4), make MDS2 (3)Removal pair The b element answered, obtains MDS2 (4), make sameSet(2)Increase a1Element obtains sameSet(3), and execute update (G2,b, a1);
S8, MDS is being traversed2 (3)In after each node, obtain MDS1 (5)、MDS2 (5)And sameSet(4)Collection;
It is repeated in a manner of step S5 and step S7, until MDS1 (5)And MDS2 (5)At least one of for sky, or sameSet(4)In element no longer change, then the simulation node of double-layer network G integrates MDS as MDS1 (5)、MDS2 (5)With sameSet(4)Union.
S7b, judge MDS1 (3)In whether there is at least one node a2, meet a2∈MDS1 (3)And a2Staggeredly reachable set AC1(a2) and AC2(b) intersection setB is not empty;
At least one node a if it exists2, then make MDS1 (3)Remove a2Element obtains MDS1 (4)*, make MDS2 (3)Removal corresponds to B element, obtain MDS2 (4)*, an element c in setB is taken, sameSet is made(3)Increase c element, obtains sameSet(3)*, and Execute update (G1,a2,c)、update(G2,b,c);
In traversal MDS2 (3)In after each node, obtain newest simulation node collection MDS1 (5)、MDS2 (5)And sameSet(4)Collection;
S8 ', it is repeated in a manner of step S5 and step S7, until MDS1 (5)And MDS2 (5)At least one of for sky, or sameSet(4)In element no longer change, then the simulation node of double-layer network G integrates MDS as MDS1 (5)、MDS2 (5)With sameSet(4)Union.
Optionally, before the step S5, the method also includes:
S4a, each node q in sameSet is performed the following operations:
Q is obtained in G1In staggeredly reachable set AC1(q), G2In staggeredly reachable set AC2(q);
Acquisition meets condition m ∈ AC1(q)∩MDS2 (1)And n ∈ AC2(q)∩MDS1 (1)Node m, n;
At least one node m and there are at least one node n if it exists, then make MDS1 (1)N element is removed, obtains one New MDS1 (1), make MDS2 (1)M element is removed, the MDS of a update is obtained2 (1), make sameSet removal q element and increase m, n Element, obtains the sameSet of a update, and executes update (G1, q, m), update (G2,q,n);
Correspondingly, the MDS in step S51 (1)、MDS2 (1)It is the MDS updated in step S4a with sameSet1And MDS2、 sameSet;
Correspondingly, if the MDS updated1And MDS2Middle there are one is empty set, then by nonempty set and sameSet Simulation node collection MDS of the union as double-layer network G.
On the other hand, it the present invention also provides a kind of electronic equipment, including memory, processor, bus and is stored in On reservoir and the computer program that can run on a processor, the processor realize any of the above one when executing described program The step of.
(3) beneficial effect
The present invention has practical practical significance in the application that double-layer network controls, by finding a simulation section Point set (MDS) allows to control any one layer of double-layer network, passes through the node in the staggeredly reachable set with driving node Current driving node is replaced, the quantity of the total driving node of network is effectively reduced, improves the control efficiency of multitiered network, Meanwhile the present invention also provides effective measurement means for the controllability of multitiered network.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes a part of the invention, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of control method flow diagram for double-layer network of the embodiment of the present invention one;
Fig. 2 is the schematic diagram that scientist provided by one embodiment of the present invention quotes collaboration network interactive network;
Fig. 3 is double-layer network of embodiment of the present invention schematic diagram;
Fig. 4 is a kind of control method flow diagram for double-layer network of the embodiment of the present invention two;
Fig. 5 is that a kind of control method for double-layer network of the embodiment of the present invention three calculates schematic diagram;
Fig. 6 is that three double-layer network initial maximum of the embodiment of the present invention matches schematic diagram;
Fig. 7 is that three double-layer network of the embodiment of the present invention executes maximum matching schematic diagram after operation;
Fig. 8 is that three double-layer network of the embodiment of the present invention executes maximum matching schematic diagram after operation;
Fig. 9 is a kind of calculating schematic diagram of the control method for double-layer network of the embodiment of the present invention four;
Figure 10 is that four double-layer network initial maximum of the embodiment of the present invention matches schematic diagram;
Figure 11 is that four double-layer network of the embodiment of the present invention executes maximum matching schematic diagram after operation;
Figure 12 is a kind of schematic diagram of bipartite graph matching provided in an embodiment of the present invention;
Figure 13 is present invention verifying example double-layer network controllability schematic diagram.
Specific embodiment
In order to preferably explain the present invention, in order to understand, with reference to the accompanying drawing, by specific embodiment, to this hair It is bright to be described in detail.
What the present invention was handled is the control problem of multitiered network, that is, finds out a MDS and allow to control entire Multilayer Network Any one layer of network.
The present invention is directed to this kind of network-based control problem, proposes a kind of identification multitiered network simulation node set Method can be found out by iterating to calculate the driving node of each layer network and fully control all node states of double-layer network most Small driving node set.
Consider network G (V, E), wherein V is node set, and E is line set.Matching collection when collection M is one independent, i.e., While while between not shared node.For a node, if it is the terminal on a matching side, which is matching section Point;It otherwise, is non-matching node.The most matching side collection of number of edges is referred to as a maximum matching of figure, is denoted as M*.If in figure All nodes are all matched nodes, then the maximum matching in the figure is known as perfect matching.
The size of the maximum matching side collection of network G (V, E) is denoted as | M* |, then minimum input theorem can be described as: If there are a perfect matchings in network G (V, E), then minimum input number of nodes NI needed for network G (V, E) or most is controlled Small input number of nodes ND is 1;Otherwise, equal to the quantity for matching corresponding non-matching node maximum in network.I.e.:
NI=ND=max N- | M*|, 1 }
That is, not being 0 network for non-matching number of nodes, input number of nodes is non-matching number of nodes, and non- Matched node is a kind of situation of input node.For the network for the perfect matching that non-matching number of nodes is 0, input number of nodes It is 1, any node may be defined as input node in network.
In order to fully control a network, the minimum input needed is determined by the maximum matching of network.Matching section Point is controlled by its predecessor node, and non-matched node must then be controlled by an external input, therefore non-matched node is The input node of network.Once being inputted for each input node, the node in network has the forerunner of oneself, I.e. network is fully controllable.
It is given below about maximum matched several concepts.
Define 1:
The corresponding bipartite graph B=(V of G (V, E)+,V-, E), V+Indicate upper node, V-Indicate lower part node, the side v in Gi →vjCorresponding to the side (v in Bi +, vj -).In a subgraph M of B, not depending in any two concentrated for M is same A vertex, then claiming M is a matching of bipartite graph.
The maximum matching of bipartite graph, is in given bipartite graph B=(V+,V-, E) all matchings in, wherein including The most matching of number of edges find out.If in a matching, certain side is associated in each vertex and figure in figure, then claim This matching is exact matching, also referred to as perfect matching.
As shown in figure 12, Figure 12 (a) be a bipartite graph, overstriking while indicate matching while, therefore Figure 12 (b) indicate this two One matching of component, but its non-maximum matching, Figure 12 (c) are a maximum matching of bipartite graph, and Figure 12 (d) expression one is complete Complete to match, each vertex in figure is matched.
Define 2:
Non-matching point:Not belonging to any one the associated node in the matching side of M in bipartite graph is non-matching point, lower part Non-matching point in node is driving node.
Zigzag path:If there are such paths in B, on the path matching while and it is non-matching while be alternately present, that This path is known as zigzag path.Augmenting path is the zigzag path that endpoint is non-matching point.
Staggeredly reachable set:If there are zigzag paths between lower part node a and b, claim node a staggeredly up to node b.Node a All staggeredly reachable nodes be known as the staggeredly reachable set of a, be denoted as AC (a).In Figure 12 (b), node v4's is staggeredly reachable Integrate as AC (v4)={ v2, v3 };In Figure 12 (c), the staggeredly reachable set of node v4 is AC (v4)={ v1 }.
Adjacent theorem:
(1) for arbitrary MDS, the staggeredly reachable set of each input node includes be likely to become driving node Node;
(2) if a node is not belonging to the staggeredly reachable set of any input node, which is centainly not belonging to any Minimum input node collection, i.e., will not be as the input node of network G.
According to the staggeredly connectivity of adjacent theorem and node, the node j in the staggeredly reachable set of driving node i can use Replace current driving node, maximum matching changes therewith, i.e., for the institute on from node i to the zigzag path of node j There is side, need to be by original matching when becoming non-matching, original is non-matching when becoming matching.By constantly replacing each layer Some initial driving nodes of network, so that the MDS of double-layer network finally converges to a minimum value, here it is this patents Core concept.
Embodiment one
Consider an oriented double-layer network G (V, E), double-layer network to be processed is the node group of a physical topological structure At tool there are two logical topological structure network, it includes first layer network Gs1(V,E1) and second layer network G2(V,E2)。G1 And G2The physical node set V of network is identical, node i ∈ V, i=1,2 ..., N, but the interaction relationship between node is not Together, that is, there is Different Logic topological structure, E1、E2, E be respectively G1、G2, G network line set, E1≠E2, and E=E1+E2
Therefore, the characteristics of Multi-Layered Network Model that the present embodiment considers is that same group of physics section is shared on different types of even side Point.Specifically, scientist quotes collaboration network schematic diagram as shown in Figure 2, figure interior joint indicates scientist, and same group node expression is drawn With all scientists in collaboration network, solid line indicates that the adduction relationship between scientist, Fig. 2 (b) dotted line represent section in Fig. 2 (a) Cooperative relationship between scholar.The multitiered network that can be thus one by the network abstraction.
The present invention is based on structural controllability theories can be found out completely by iterating to calculate the driving node of each layer network The smallest driving node set (MDS) for controlling all node states of double-layer network, allows to control any of double-layer network One layer.
Method as shown in Figure 1, a kind of double-layer network control method of the present embodiment include:
S1, for double-layer network G (V, E) to be processed, use Hopcroft-Karp algorithm to obtain first layer in G (V, E) Network G1Maximum matchingSimulation node collection MDS1, obtain second layer network G in G (V, E)2Maximum matching Simulation node collection MDS2
Oriented double-layer network as shown in Figure 3, every layer includes 5 nodes (N=5), solid line while and when dotted line indicate between node Different types of interaction relationship.In every layer network, overstriking when indicating matching, the side of non-overstriking indicates not match Side indicates driving node with the node that dotted line marks, therefore, the MDS of the double-layer network1={ Isosorbide-5-Nitrae }, MDS2={ Isosorbide-5-Nitrae }.
S2, judge first layer network G1Maximum matchingSecond layer network G2Maximum matchingAny of Whether perfect matching is belonged to;
If it is, executing step S3, otherwise, step S4 is executed.
If S3,For perfect matching, then the simulation node collection MDS=MDS of the double-layer network G2
IfFor perfect matching, then the simulation node collection MDS=MDS of the double-layer network G1
IfIt is perfect matching, then the simulation node collection MDS={ i } of the double-layer network G, i ∈ {1,2,…,N}。
This when, the simulation node collection of double-layer network is obtained, operation terminates.
Specifically, oriented double-layer network as shown in Figure 3, the MDS={ Isosorbide-5-Nitrae } of double-layer network
If S4,WithIt is not perfect matching, then obtains MDS1And MDS2Intersection sameSet=MDS1∩MDS2; And by the node in sameSet from MDS1And MDS2It is removed in set, obtains a new MDS1 (1)And MDS2 (1)Collection.
I.e.:
SameSet=MDS1∩MDS2, MDS1 (1)=MDS1- sameSet, MDS2 (1)=MDS2-sameSet。
Note that during the execution of the algorithm, the simulation node collection of the first layer network is MDS always1With sameSet's Union;Similarly, the simulation node collection of the second layer network is MDS always2With the union of sameSet.
S5, MDS is obtained1 (1)In each node x staggeredly reachable set AC1(x);
Obtain MDS2 (1)In meet condition y1∈MDS2 (1)And y1∈AC1(x) node y1
At least one node y if it exists1, then make MDS1 (1)Remove corresponding x1Element obtains MDS1 (2), make MDS2 (1)Removal y1Element obtains MDS2 (2), increase sameSet by y1Element obtains sameSet(1), and execute update (G1,x1,y1);
I.e.:
MDS1 (2)=MDS1 (1)-{x1, MDS2 (2)=MDS2 (1)-{y1, sameSet(1)=sameSet ∪ { y1, update (G1,x1,y1)
Meanwhile obtaining MDS2 (1)In meet condition y2∈MDS2 (1)And y2Staggeredly reachable set AC2(y2) and AC1(x) friendship Collection setA is not empty node y2
At least one node y if it exists2, then make MDS2 (2)Remove corresponding x2Element obtains MDS1 (3), make MDS2 (2)Removal y2Element obtains MDS2 (3), an element z in setA is taken, sameSet is made(1)Increase z element, obtains sameSet(2), and hold Row update (G1,x2,z)、update(G2,y2,z);
I.e.:
MDS1 (3)=MDS1 (2)-{x2, MDS2 (3)=MDS2 (2)-{y2, sameSet(2)=sameSet(1)∪ { z }, update(G1,x2,z)、update(G2,y2,z);
Wherein, update (Gk, i, j) and it indicates to update network GKMaximum matching, i.e. the friendship for the j from node i to node All sides on wrong path, by former network GKMatching when becoming non-matching, former network GKIt is non-matching while become matching while, k Take 1 or 2.Node i belongs to network GKInitial driving node concentrate element, node j belong to node i staggeredly reachable set member Element belongs to GkNode, the staggeredly reachable set of the node is network G with updatekMaximum matching it is determining.
The core concept of this step is that the node in the staggeredly reachable set for look for the driving node of the first layer network is worked as to replace Preceding driving node, so that MDS1As much as possible with MDS2It is overlapped.
S6, MDS is being traversed2 (1)In after each node, obtain MDS1 (4)、MDS2 (4)And sameSet(3)Collection;
Judge MDS1 (4)And MDS2 (4)It whether is sky, if MDS1 (4)And MDS2 (4)Middle there are a set for sky, then will be non- Null set and sameSet(3)Simulation node collection MDS of the union as double-layer network G;
At this point, having obtained the simulation node collection of double-layer network, operation terminates.
If MDS1 (3)And MDS2 (3)It is nonempty set, then continues to execute step S7, operation continues.
If S7, MDS1 (3)And MDS2 (3)It is nonempty set, then obtains MDS2 (3)In each node b staggeredly reachable set AC2 (b);
Obtain MDS1 (4)In meet condition a1∈MDS1 (4)And a1∈AC2(b) node a1
At least one node a if it exists1, then make MDS1 (4)Remove a1Element obtains MDS1 (5), make MDS2 (4)It removes corresponding b1Element obtains MDS2 (5), make sameSet(3)Increase a1Element obtains sameSet(4), and execute update (G2,b1,a1);
I.e.:
MDS1 (5)=MDS1 (4)-{a1, MDS2 (5)=MDS2 (4)-{b1, sameSet(4)=sameSet(3)∪{a1, update(G2,b1,a1)、
Meanwhile obtaining MDS1 (4)In meet condition a2∈MDS1 (4)And a2Staggeredly reachable set AC1(a2) and AC2(b) friendship Collection setB is not empty node a2
At least one node a if it exists2, then make MDS1 (5)Remove a2Element obtains MDS1 (6), make MDS2 (5)It removes corresponding b2Element obtains MDS2 (6), an element c in setB is taken, sameSet is made(4)Increase c element, obtains sameSet(5), and hold Row update (G1,a2,c)、update(G2,b2,c);
I.e.:
MDS1 (6)=MDS1 (5)-{a2, MDS2 (6)=MDS2 (5)-{b2, sameSet(4)=sameSet(3)∪ { c }, update(G1,a2,c)、update(G2,b2,c)。
It is similar with the method for step S5, the core concept of this step be look for the second layer network driving node it is staggeredly reachable The node of concentration replaces current driving node, so that MDS2As much as possible with MDS1It is overlapped.
S8, MDS is being traversed2 (4)In after each node, obtain MDS1 (7)、MDS2 (7)And sameSet(6)Collection;
It is repeated in a manner of step S5 and step S7, until MDS1 (7)And MDS2 (7)At least one of for sky, or sameSet(6)In element no longer change, then the simulation node of double-layer network G integrates MDS as MDS1 (7)、MDS2 (7)With sameSet(6)Union.
During specific implementation, after executing step S4, before the step S5, above-mentioned method shown in FIG. 1 is also Include the following steps:
S4a, each node q in sameSet is performed the following operations:
Q is obtained in G1In staggeredly reachable set AC1(q), G2In staggeredly reachable set AC2(q);
Acquisition meets condition m ∈ AC1(q)∩MDS2 (1)And n ∈ AC2(q)∩MDS1 (1)Node m, n;
At least one node m and there are at least one node n if it exists, then make MDS1 (1)N element is removed, obtains one New MDS1 (1), make MDS2 (1)M element is removed, the MDS of a update is obtained2 (1), make sameSet removal q element and increase m, n Element, obtains the sameSet of a update, and executes update (G1, q, m), update (G2,q,n);
Correspondingly, the MDS in step S51 (1)、MDS2 (1)It is the MDS updated in step S4a with sameSet1And MDS2、 sameSet。
The purpose of this step is the redundant node excluded in sameSet set, finds out the minimum driving of control multitiered network Node number.
Correspondingly, if the MDS updated1And MDS2Middle there are one is empty set, then by nonempty set and sameSet Simulation node collection MDS of the union as double-layer network G.
Correspondingly, MDS is traversed in step S82 (4)In after each node, if obtaining MDS1 (7)、MDS2 (7)It is non-empty Set;
It is then repeated in a manner of step S4a, step S5 and step S7, until MDS1 (7)And MDS2 (7)At least one of be Sky or sameSet(6)In element no longer change, then the simulation node of double-layer network G integrates MDS as MDS1 (7)、MDS2 (7) And sameSet(6)Union.
Embodiment two
Optionally, Fig. 4 gives a kind of double-layer network control method of the present embodiment, and the method for the present embodiment includes:
S1, for double-layer network G (V, E) to be processed, use Hopcroft-Karp algorithm to obtain first layer in G (V, E) Network G1Maximum matchingSimulation node collection MDS1, obtain second layer network G in G (V, E)2Maximum matching Simulation node collection MDS2
S2, judge first layer network G1Maximum matchingSecond layer network G2Maximum matchingAny of Whether perfect matching is belonged to;
If S3,For perfect matching, then the simulation node collection MDS=MDS of the double-layer network G2
IfFor perfect matching, then the simulation node collection MDS=MDS of the double-layer network G1
IfIt is perfect matching, then the simulation node collection MDS={ i } of the double-layer network G, i ∈ {1,2,…,N}。
If S4,WithIt is not perfect matching, then obtains MDS1And MDS2Intersection sameSet=MDS1∩MDS2; And by the node in sameSet from MDS1And MDS2It is removed in set, obtains a new MDS1 (1)And MDS2 (1)Collection;MDS1 (1)= MDS1- sameSet, MDS2 (1)=MDS2-sameSet;
S5, MDS is obtained1 (1)In each node x staggeredly reachable set AC1(x);
Judge whether there is at least one node y1, meet y1∈MDS2 (1)And y1∈AC1(x);
If it exists, step S5a is executed, otherwise, executes step S5b;
S5a, if it exists at least one node y1, then make MDS1 (1)Corresponding x element is removed, MDS is obtained1 (2), make MDS2 (1) Remove y1Element obtains MDS2 (2), increase sameSet by y1Element obtains sameSet(1), and execute update (G1,x,y1);
S5b, judge MDS2 (1)In whether there is at least one node y2, meet y2∈MDS2 (1)And y2Staggeredly reachable set AC2(y2) and AC1(x) intersection setA is not empty;
At least one node y if it exists2, then make MDS2 (1)Corresponding x element is removed, MDS is obtained1 (2)*, make MDS2 (1)Removal y2Element obtains MDS2 (2)*, an element z in setA is taken, increases sameSet by z element, obtains sameSet(1)*, and hold Row update (G1,x,z)、update(G2,y2,z);
S6, MDS is being traversed2 (1)In after each node, obtain MDS1 (3)、MDS2 (3)And sameSet(2)Collection;
At this time, judge MDS1 (3)And MDS2 (3)It whether is sky, if MDS1 (3)And MDS2 (3)Middle there are one is empty set, Then by nonempty set and sameSet(2)Simulation node collection MDS of the union as double-layer network G;
If S7, MDS1 (3)And MDS2 (3)It is nonempty set, then obtains MDS2 (3)In each node b staggeredly reachable set AC2 (b);
Judge whether there is node a1, meet a1∈MDS1 (3)And a1∈AC2(b);
If it exists, step S7a is executed, otherwise, executes step S7b;
S7a, if it exists at least one node a1, then make MDS1 (3)Remove a1Element obtains MDS1 (4), make MDS2 (3)Removal pair The b element answered, obtains MDS2 (4), make sameSet(2)Increase a1Element obtains sameSet(3), and execute update (G2,b, a1);
S8, MDS is being traversed2 (3)In after each node, obtain MDS1 (5)、MDS2 (5)And sameSet(4)Collection;
It is repeated in a manner of step S5 and step S7, until MDS1 (5)And MDS2 (5)At least one of for sky, or sameSet(4)In element no longer change, then the simulation node of double-layer network G integrates MDS as MDS1 (5)、MDS2 (5)With sameSet(4)Union.
Optionally, in above-mentioned the present embodiment the method, after executing S7, if it is decided that result be it is no, can execute with Lower step:
S7b, judge MDS1 (3)In whether there is at least one node a2, meet a2∈MDS1 (3)And a2Staggeredly reachable set AC1(a2) and AC2(b) intersection setB is not empty;
At least one node a if it exists2, then make MDS1 (3)Remove a2Element obtains MDS1 (4)*, make MDS2 (3)Removal corresponds to B element, obtain MDS2 (4)*, an element c in setB is taken, sameSet is made(3)Increase c element, obtains sameSet(3)*, and Execute update (G1,a2,c)、update(G2,b,c);
In traversal MDS2 (3)In after each node, obtain newest simulation node collection MDS1 (5)、MDS2 (5)And sameSet(4)Collection is in traversal MDS2 (3)In after each node, obtain newest simulation node collection MDS1 (5)、MDS2 (5) And sameSet(4)Collection;
S8 ', it is repeated in a manner of step S5 and step S7, until MDS1 (5)And MDS2 (5)At least one of for sky, or sameSet(4)In element no longer change, then the simulation node of double-layer network G integrates MDS as MDS1 (5)、MDS2 (5)With sameSet(4)Union.
During specific implementation, after executing step S4, before the step S5, above-mentioned method shown in Fig. 4 is also Include the following steps:
S4a, each node q in sameSet is performed the following operations:
Q is obtained in G1In staggeredly reachable set AC1(q), G2In staggeredly reachable set AC2(q);
Acquisition meets condition m ∈ AC1(q)∩MDS2 (1)And n ∈ AC2(q)∩MDS1 (1)Node m, n;
At least one node m and there are at least one node n if it exists, then make MDS1 (1)N element is removed, obtains one New MDS1 (1), make MDS2 (1)M element is removed, the MDS of a update is obtained2 (1), make sameSet removal q element and increase m, n Element, obtains the sameSet of a update, and executes update (G1, q, m), update (G2,q,n);
Correspondingly, the MDS in step S51 (1)、MDS2 (1)It is the MDS updated in step S4a with sameSet1And MDS2、 sameSet;
Correspondingly, if the MDS updated1And MDS2Middle there are one is empty set, then by nonempty set and sameSet Simulation node collection MDS of the union as double-layer network G.
Correspondingly, MDS is traversed in step S82 (3)In after each node, if obtaining MDS1 (5)、MDS2 (5)It is non-empty Set;
It is then repeated in a manner of step S4a, step S5 and step S7, until MDS1 (7)And MDS2 (7)At least one of be Sky or sameSet(6)In element no longer change, then the simulation node of double-layer network G integrates MDS as MDS1 (7)、MDS2 (7) And sameSet(6)Union.
Embodiment three
Method in order to better understand the present invention, for the double-layer network shown in Fig. 6, the present embodiment provides a use The detailed calculating process of double-layer network control method operation, specifically, calculating process is as shown in figure 5, include:
101, it obtainsMDS1、MDS2
Fig. 6 (a), Fig. 6 (c) are respectively the first layer and the second layer of double-layer network, and Fig. 6 (b), Fig. 6 (d) are each layer network pair The bipartite graph answered, overstriking side indicate the initial maximum matching of each layer network, and dotted line node indicates corresponding initial driving node.
MDS1={ 3,4 }, MDS2={ 1,2 }
102, judgeAny of whether belong to perfect matching.
If so, executing step 103, terminate operation, if not, executing step 104, continues operation.
103, MDS is exported, is terminated.
IfIt is all exact matching, then MDS={ i }, i ∈ { 1,2 ..., N };
If onlyFor exact matching, then MDS=MDS2
If onlyFor exact matching, then MDS=MDS1
Because two-tier network does not all exactly match, step 104 is executed;
104, sameSet, MDS are obtained1 (1)、MDS2 (1)
Obtain MDS1And MDS2Intersection sameSet=MDS1∩MDS2;And by the node in sameSet from MDS1And MDS2 It is removed in set, obtains a new MDS1 (1)And MDS2 (1)Collection.
I.e.:
SameSet=MDS1∩MDS2, MDS1 (1)=MDS1- sameSet, MDS2 (1)=MDS2-sameSet
In the present embodiment, MDS1={ 3,4 }, MDS2={ 1,2 },
Therefore, after executing this step,MDS1 (1)={ 3,4 }, MDS2 (1)={ 1,2 }
105, MDS is obtained1 (1)In each node x staggeredly reachable set AC1(x);
As shown in fig. 6, MDS1In include 2 nodes:X=3 is taken first, acquires AC1(3)={ 5 }, next take x=4, ask Obtain AC1(4)={ 1 };
105a, MDS is obtained2 (1)In meet condition y1∈MDS2 (1)And y1∈AC1(x) node y1
At least one node y if it exists1,
(1) make MDS1 (1)Remove corresponding x1Element obtains MDS1 (2)
(2) make MDS2 (1)Remove y1Element obtains MDS2 (2)
(3) increase sameSet by y1Element obtains sameSet(1)
(4) update (G is executed1,x1,y1)。
At this point, MDS1 (1)={ 3,4 }, MDS2 (1)={ 1,2 }, it is seen then that MDS2 (1)It is middle that there are a node y1=1 meets y1∈ AC1(x), so,
(1) make MDS1 (1)Remove corresponding x1Element { 4 }, obtains MDS1 (2)={ 3 };
(2) make MDS2 (1)Remove y1Element { 1 }, obtains MDS2 (2)={ 2 };
(3) increase sameSet by y1Element { 1 }, obtains sameSet(1)={ 1 }
As shown in Fig. 7 (a), Fig. 7 (b), with node y1(y1=1) x is replaced1(x1=4), G1The maximum matching of network is further It is updated to { 1,3 }, as shown in Fig. 7 (c), Fig. 7 (d), G2The maximum matching of network is further updated to { 1,2 }.
(4) update (G is executed1,x1,y1), update G1Maximum matching in network.
As shown in Fig. 7 (b), for G1In network from node 4 to the zigzag path of node 1 on all sides, by former G1Network In matching when becoming non-matching, by former G1It is non-matching when becoming matching in network.
105b, judge MDS2 (1)In whether there is at least one node y2, and y2Staggeredly reachable set AC2(y2) and AC1(x) Intersection setA be not empty;
At least one node y if it exists2, then
(1) make MDS1 (2)Remove corresponding x2Element obtains MDS1 (3)
(2) make MDS2 (2)Remove y2Element obtains MDS2 (3)
(3) an element z in setA is taken, sameSet is made(1)Increase z element, obtains sameSet(2)
(4) and update (G is executed1,x2,z)、update(G2,y2,z)。
At this point, MDS1 (2)={ 3 }, MDS2 (2)={ 2 }, so, MDS2 (1)There are a node y2=2, interlock reachable set AC2(y2)=AC2(2)={ 5 }, and setA=AC2(y2)∩AC1(x)={ 5 }, setA are not empty;
(1) make MDS1 (2)Remove corresponding x2Element { 3 }, obtains
(2) make MDS2 (2)Remove y2Element { 2 }, obtains
(3) an element z in setA is taken, sameSet is made(1)Increase z element { 5 }, obtains sameSet(2)={ 1,5 }
As shown in figure 8, replacing node x with node z (z=5)2(x2=3) and node y2(y2=2) at this point, each layer network Maximum matching is further updated to { 1,5 } and { 1,5 },
(4) update (G is executed1,x2, z),
As shown in Fig. 8 (b), for G1In network from node 3 to the zigzag path of node 5 on all sides, by former G1Network In matching when becoming non-matching, by former G1It is non-matching when becoming matching in network.
Execute update (G2,y2, z),
As shown in Fig. 8 (d), for G2In network from node 2 to the zigzag path of node 5 on all sides, by former G1Network In matching when becoming non-matching, by former G1It is non-matching when becoming matching in network.
106, in traversal MDS2 (1)In after each node, obtain MDS1 (4)、MDS2 (4)And sameSet(3)Collection;
Judge MDS1 (4)And MDS2 (4)It whether is empty.
If MDS1 (4)And MDS2 (4)Middle there are a set for sky, then by nonempty set and sameSet(3)Union conduct The simulation node collection MDS of double-layer network G.
At this time
Therefore, the simulation node set MDS=sameSet of double-layer network shown in Fig. 6 is obtained(3)={ 1,5 }.
Example IV
For the double-layer network shown in Figure 10, the present embodiment provides one using the detailed of double-layer network control method operation Calculating process, specifically, calculating process is as shown in figure 9, include:
201, it obtainsMDS1、MDS2
Figure 10 (a), Figure 10 (c) are respectively the first layer and the second layer of double-layer network, and Figure 10 (b), Figure 10 (d) are each layer net The corresponding bipartite graph of network, overstriking side indicate the initial maximum matching of each layer network, and dotted line node indicates corresponding initial driving section Point, i.e., when initial, MDS1={ Isosorbide-5-Nitrae }, MDS2={ 2,4,5 },.
202 judgementsAny of whether belong to perfect matching.
If so, executing step 103, terminate operation, if not, executing step 204, continues operation.
Because two-tier network does not all exactly match, step 204 is executed
204, sameSet, MDS are obtained1 (1)、MDS2 (1)
Obtain MDS1And MDS2Intersection sameSet=MDS1∩MDS2;And by the node in sameSet from MDS1And MDS2 It is removed in set, obtains a new MDS1 (1)And MDS2 (1)Collection.
At this point, sameSet={ 4 }, MDS1 (1)={ 1 }, MDS2 (2)={ 2,5 }.
204a, each node q in sameSet is performed the following operations:
Q is obtained in G1In staggeredly reachable set AC1(q), G2In staggeredly reachable set AC2(q);
Acquisition meets condition m ∈ AC1(q)∩MDS2 (1)And n ∈ AC2(q)∩MDS1 (1)Node m, n;
At least one node m and there are at least one node n if it exists, then make MDS1 (1)N element is removed, obtains one New MDS1 (1), make MDS2 (1)M element is removed, the MDS of a update is obtained2 (1), make sameSet removal q element and increase m, n Element, obtains the sameSet of a update, and executes update (G1, q, m), update (G2,q,n);
Double-layer network as shown in Figure 10, for the node q=4 in sameSet, its interlocking in the first and second layer network Reachable set is respectively AC1(4)={ 2 }, AC2(4)={ 1 };
Because there are node m=2 to meet m ∈ AC1(4)∩MDS2, and there are node n=1 to meet n ∈ AC2(4)∩MDS1,
As shown in figure 11, by MDS1 (1)It removes n element { 1 }, obtains a new MDS1 (1), update
Make MDS2 (1)It removes m element { 2 }, obtains the MDS of a update2 (1)={ 5 }
Make sameSet removal q element and increase m, n element, obtains the sameSet, the sameSet=of update of a update { 1,2 }.
The maximum matching of each layer network is updated to { 1,2 } and { 1,2,5 } respectively at this time.
As shown in figure 11, update (G is executed1, q, m), update (G2, q, n),
Because at this momentSo the final three simulation node collection for gathering the double-layer network asked and obtained are MDS={ 1,2,5 }.
In the present embodiment, the redundant node in sameSet set can be excluded, is executed directly down
Calculating process example as shown in Figure 9,1 is not by this operation as a result, 2 be the knot using this operation method Fruit.
If not passing through the operation of step 204a, because of MDS1And MDS2In the staggeredly reachable set of node be all empty, institute With no node it can replace them so that the driving node of two-tier network is further identical, final three set are asked and obtained The simulation node of double-layer network integrates as MDS={ 1,2,4,5 }, and the simulation node obtained by the present embodiment method Integrate as MDS={ 1,2,5 }, so, the redundant node in sameSet set can be excluded by this method.
Verify example
For the validity of further verification method, this verifying example generates N=1000, average in-degree<kin>Equal to average Out-degree<kout>Two groups of ER networks, enabling it is respectively the first layer G of double-layer network1With second layer G2
The measurement of network controllabilityIt is with network average degree<k>(<k>=2<kin>=2<kout>) variation And the case where changing, is as shown in figure 13.
The controllability of round scatterplot expression double-layer network in Figure 13, the controllability of the first layer network of rectangular scatterplot expression, three Angular scatterplot indicates the controllability of the second layer network.
On the other hand, the present embodiment also provides a kind of electronic equipment, including memory, processor, bus and is stored in On memory and the computer program that can run on a processor, the processor realize any of the above one when executing described program The step of item.
In addition, the embodiment of the present invention also provides a kind of computer storage medium, it is stored thereon with computer program, the journey It realizes when sequence is executed by processor such as the step of above method any one.
Finally it should be noted that:Above-described embodiments are merely to illustrate the technical scheme, rather than to it Limitation;Although the present invention is described in detail referring to the foregoing embodiments, those skilled in the art should understand that: It can still modify to technical solution documented by previous embodiment, or to part of or all technical features into Row equivalent replacement;And these modifications or substitutions, it does not separate the essence of the corresponding technical solution various embodiments of the present invention technical side The range of case.

Claims (10)

1. a kind of control method for double-layer network, which is characterized in that including:
S1, for double-layer network G (V, E) to be processed, obtain the maximum matching of first layer network G 1 in G (V, E)It is minimum Driving node collection MDS1, obtain second layer network G in G (V, E)2Maximum matchingSimulation node collection MDS2;Wherein, V For node set, node i ∈ V, i=1,2 ..., N, the G1With the G2Corresponding identical physical node;
S2, judge first layer network G1Maximum matchingSecond layer network G2Maximum matchingAny of whether belong to In perfect matching;
If S3,For perfect matching, then the simulation node collection MDS=MDS of the double-layer network G2
IfFor perfect matching, then the simulation node collection MDS=MDS of the double-layer network G1
IfIt is perfect matching, then the simulation node collection MDS={ i } of the double-layer network G, i ∈ 1, 2,…,N}。
2. the method according to claim 1, wherein the double-layer network is the node of a physical topological structure There are two the networks of logical topological structure for the tool of composition.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
If S4,WithIt is not perfect matching, then obtains MDS1And MDS2Intersection sameSet=MDS1∩MDS2;And it will Node in sameSet is from MDS1And MDS2It is removed in set, obtains a new MDS1 (1)And MDS2 (1)Collection;
S5, MDS is obtained1 (1)In each node x staggeredly reachable set AC1(x);
Obtain MDS2 (1)In meet condition y1∈MDS2 (1)And y1∈AC1(x) node y1
At least one node y if it exists1, then make MDS1 (1)Remove corresponding x1Element obtains MDS1 (2), make MDS2 (1)Remove y1Member Element obtains MDS2 (2), increase sameSet by y1Element obtains sameSet(1), and execute update (G1,x1,y1);
Meanwhile obtaining MDS2 (1)In meet condition y2∈MDS2 (1)And y2Staggeredly reachable set AC2(y2) and AC1(x) intersection setA It is not empty node y2
At least one node y if it exists2, then make MDS2 (2)Remove corresponding x2Element obtains MDS1 (3), make MDS2 (2)Remove y2Member Element obtains MDS2 (3), an element z in setA is taken, sameSet is made(1)Increase z element, obtains sameSet(2), and execute update(G1,x2,z)、update(G2,y2,z);
S6, MDS is being traversed2 (1)In after each node, obtain MDS1 (4)、MDS2 (4)And sameSet(3)Collection;
Judge MDS1 (4)And MDS2 (4)It whether is sky, if MDS1 (4)And MDS2 (4)Middle there are a set for sky, then by nonvoid set Conjunction and sameSet(3)Simulation node collection MDS of the union as double-layer network G;
Wherein, update (Gk, i, j) and it indicates to update network GKMaximum matching, i.e., for the staggeredly road of the j from node i to node All sides on diameter, by network GKMatching when becoming non-matching, former network GKIt is non-matching while become matching while, k take 1 or 2。
4. according to the method described in claim 3, it is characterized in that, the method also includes:
If S7, MDS1 (4)And MDS2 (4)It is nonempty set, then obtains MDS2 (4)In each node b staggeredly reachable set AC2(b);
Obtain MDS1 (4)In meet condition a1∈MDS1 (4)And a1∈AC2(b) node a1
At least one node a if it exists1, then make MDS1 (4)Remove a1Element obtains MDS1 (5), make MDS2 (4)Remove corresponding b1Member Element obtains MDS2 (5), make sameSet(3)Increase a1Element obtains sameSet(4), and execute update (G2,b1,a1);
Meanwhile obtaining MDS1 (4)In meet condition a2∈MDS1 (4)And a2Staggeredly reachable set AC1(a2) and AC2(b) intersection setB It is not empty node a2
At least one node a if it exists2, then make MDS1 (5)Remove a2Element obtains MDS1 (6), make MDS2 (5)Remove corresponding b2Member Element obtains MDS2 (6), an element c in setB is taken, sameSet is made(4)Increase c element, obtains sameSet(5), and execute update(G1,a2,c)、update(G2,b2,c);
S8, MDS is being traversed2 (4)In after each node, obtain MDS1 (7)、MDS2 (7)And sameSet(6)Collection;
It is repeated in a manner of step S5 and step S7, until MDS1 (7)And MDS2 (7)At least one of for empty or sameSet(6)In element no longer change, then the simulation node of double-layer network G integrates MDS as MDS1 (7)、MDS2 (7)And sameSet(6)'s Union.
5. according to the method described in claim 3, it is characterized in that, before the step S5, the method is also after step S4 Including:
S4a, each node q in sameSet is performed the following operations:
Q is obtained in G1In staggeredly reachable set AC1(q), G2In staggeredly reachable set AC2(q);
Acquisition meets condition m ∈ AC1(q)∩MDS2 (1)And n ∈ AC2(q)∩MDS1 (1)Node m, n;
At least one node m and there are at least one node n if it exists, then make MDS1 (1)Remove n element, obtain one it is new MDS1 (1), make MDS2 (1)M element is removed, the MDS of a update is obtained2 (1), make sameSet removal q element and increase m, n element, The sameSet of a update is obtained, and executes update (G1, q, m), update (G2,q,n);
Correspondingly, the MDS in step S51 (1)、MDS2 (1)It is the MDS updated in step S4a with sameSet1And MDS2、 sameSet;
Correspondingly, if the MDS updated1And MDS2Middle there are a set for sky, then by the union of nonempty set and sameSet Simulation node collection MDS as double-layer network G.
6. according to the method described in claim 2, it is characterized in that, the method also includes:
If S4,WithIt is not perfect matching, then obtains MDS1And MDS2Intersection sameSet=MDS1∩MDS2;And it will Node in sameSet is from MDS1And MDS2It is removed in set, obtains a new MDS1 (1)And MDS2 (1)Collection;
S5, MDS is obtained1 (1)In each node x staggeredly reachable set AC1(x);
Judge whether there is at least one node y1, meet y1∈MDS2 (1)And y1∈AC1(x);
If it exists, step S5a is executed, otherwise, executes step S5b;
S5a, if it exists at least one node y1, then make MDS1 (1)Corresponding x element is removed, MDS is obtained1 (2), make MDS2 (1)Removal y1Element obtains MDS2 (2), increase sameSet by y1Element obtains sameSet(1), and execute update (G1,x,y1);
S5b, judge MDS2 (1)In whether there is at least one node y2, meet y2∈MDS2 (1)And y2Staggeredly reachable set AC2(y2) With AC1(x) intersection setA is not empty;
At least one node y if it exists2, then make MDS2 (1)Corresponding x element is removed, MDS is obtained1 (2)*, make MDS2 (1)Remove y2Member Element obtains MDS2 (2)*, an element z in setA is taken, increases sameSet by z element, obtains sameSet(1)*, and execute update(G1,x,z)、update(G2,y2,z);
S6, MDS is being traversed2 (1)In after each node, obtain MDS1 (3)、MDS2 (3)And sameSet(2)Collection;
At this time, judge MDS1 (3)And MDS2 (3)It whether is sky, if MDS1 (3)And MDS2 (3)Middle there are a set for sky, then will be non- Null set and sameSet(2)Simulation node collection MDS of the union as double-layer network G;
Wherein, update (Gk, i, j) and it indicates to update network GKMaximum matching, i.e., for the staggeredly road of the j from node i to node All sides on diameter, by former network GKMatching when becoming non-matching, former network GKIt is non-matching while become matching while, k takes 1 Or 2.
7. according to the method described in claim 6, it is characterized in that, the method also includes:
If S7, MDS1 (3)And MDS2 (3)It is nonempty set, then obtains MDS2 (3)In each node b staggeredly reachable set AC2(b);
Judge whether there is node a1, meet a1∈MDS1 (3)And a1∈AC2(b);
If it exists, step S7a is executed, otherwise, executes step S7b;
S7a, if it exists at least one node a1, then make MDS1 (3)Remove a1Element obtains MDS1 (4), make MDS2 (3)It removes corresponding B element, obtains MDS2 (4), make sameSet(2)Increase a1Element obtains sameSet(3), and execute update (G2,b,a1);
S8, MDS is being traversed2 (3)In after each node, obtain MDS1 (5)、MDS2 (5)And sameSet(4)Collection;
It is repeated in a manner of step S5 and step S7, until MDS1 (5)And MDS2 (5)At least one of for empty or sameSet(4)In element no longer change, then the simulation node of double-layer network G integrates MDS as MDS1 (5)、MDS2 (5)And sameSet(4)'s Union.
8. the method according to the description of claim 7 is characterized in that the method also includes:
S7b, judge MDS1 (3)In whether there is at least one node a2, meet a2∈MDS1 (3)And a2Staggeredly reachable set AC1(a2) With AC2(b) intersection setB is not empty;
At least one node a if it exists2, then make MDS1 (3)Remove a2Element obtains MDS1 (4)*, make MDS2 (3)Remove corresponding b member Element obtains MDS2 (4)*, an element c in setB is taken, sameSet is made(3)Increase c element, obtains sameSet(3)*, and execute update(G1,a2,c)、update(G2,b,c);
In traversal MDS2 (3)In after each node, obtain newest simulation node collection MDS1 (5)、MDS2 (5)And sameSet(4)Collection;
S8 ', it is repeated in a manner of step S5 and step S7, until MDS1 (5)And MDS2 (5)At least one of for sky, or sameSet(4)In element no longer change, then the simulation node of double-layer network G integrates MDS as MDS1 (5)、MDS2 (5)With sameSet(4)Union.
9. according to the method described in claim 6, it is characterized in that, before the step S5, the method is also after step S4 Including:
S4a, each node q in sameSet is performed the following operations:
Q is obtained in G1In staggeredly reachable set AC1(q), G2In staggeredly reachable set AC2(q);
Acquisition meets condition m ∈ AC1(q)∩MDS2 (1)And n ∈ AC2(q)∩MDS1 (1)Node m, n;
At least one node m and there are at least one node n if it exists, then make MDS1 (1)Remove n element, obtain one it is new MDS1 (1), make MDS2 (1)M element is removed, the MDS of a update is obtained2 (1), make sameSet removal q element and increase m, n element, The sameSet of a update is obtained, and executes update (G1, q, m), update (G2,q,n);
Correspondingly, the MDS in step S51 (1)、MDS2 (1)It is the MDS updated in step S4a with sameSet1And MDS2、 sameSet;
Correspondingly, if the MDS updated1And MDS2Middle there are a set for sky, then by the union of nonempty set and sameSet Simulation node collection MDS as double-layer network G.
10. a kind of electronic equipment, which is characterized in that on a memory and can be including memory, processor, bus and storage The computer program run on processor, the processor are realized when executing described program such as claim 1-9 any one Step.
CN201810689888.2A 2018-06-28 2018-06-28 A kind of control method for double-layer network Pending CN108847986A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810689888.2A CN108847986A (en) 2018-06-28 2018-06-28 A kind of control method for double-layer network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810689888.2A CN108847986A (en) 2018-06-28 2018-06-28 A kind of control method for double-layer network

Publications (1)

Publication Number Publication Date
CN108847986A true CN108847986A (en) 2018-11-20

Family

ID=64200676

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810689888.2A Pending CN108847986A (en) 2018-06-28 2018-06-28 A kind of control method for double-layer network

Country Status (1)

Country Link
CN (1) CN108847986A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090262664A1 (en) * 2008-04-18 2009-10-22 Bonnie Berger Leighton Method for identifying network similarity by matching neighborhood topology
CN106131121A (en) * 2016-06-21 2016-11-16 南京邮电大学 A kind of memory node system of selection based on double-deck self centeredness network
CN107229677A (en) * 2017-05-07 2017-10-03 东北大学 A kind of method of all minimum input node set needed for enumerate control network
CN107231255A (en) * 2017-05-27 2017-10-03 北京航空航天大学 A kind of robustness modeling method of controllability of complication system to successive failure
CN108009061A (en) * 2017-12-04 2018-05-08 东北大学 A kind of method for changing Node Contraction in Complex Networks control category

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090262664A1 (en) * 2008-04-18 2009-10-22 Bonnie Berger Leighton Method for identifying network similarity by matching neighborhood topology
CN106131121A (en) * 2016-06-21 2016-11-16 南京邮电大学 A kind of memory node system of selection based on double-deck self centeredness network
CN107229677A (en) * 2017-05-07 2017-10-03 东北大学 A kind of method of all minimum input node set needed for enumerate control network
CN107231255A (en) * 2017-05-27 2017-10-03 北京航空航天大学 A kind of robustness modeling method of controllability of complication system to successive failure
CN108009061A (en) * 2017-12-04 2018-05-08 东北大学 A kind of method for changing Node Contraction in Complex Networks control category

Similar Documents

Publication Publication Date Title
CN110674869B (en) Classification processing and graph convolution neural network model training method and device
Toriello et al. A dynamic traveling salesman problem with stochastic arc costs
Uğur et al. An interactive simulation and analysis software for solving TSP using Ant Colony Optimization algorithms
Zheng et al. Improving the efficiency of multi-objective evolutionary algorithms through decomposition: An application to water distribution network design
Zhang et al. Rapid Physarum Algorithm for shortest path problem
Chen et al. A conceptual modeling of meme complexes in stochastic search
Rkhami et al. On the use of graph neural networks for virtual network embedding
CN108122048A (en) A kind of transportation route dispatching method and its system
Li et al. Traffic modeling and optimization in datacenters with graph neural network
CN107306207A (en) Calculated and multiple target intensified learning service combining method with reference to Skyline
Li et al. Compact learning model for dynamic off-chain routing in blockchain-based IoT
Smith et al. Target assignment for robotic networks: Asymptotic performance under limited communication
Hu et al. Multi-objective new product development by complete Pareto front and ripple-spreading algorithm
Li et al. Target control of directed networks based on network flow problems
JP2020027399A (en) Computer system
Gao et al. An accelerated physarum solver for network optimization
CN111340192A (en) Network path allocation model training method, path allocation method and device
CN114710439A (en) Network energy consumption and throughput joint optimization routing method based on deep reinforcement learning
Ren et al. Broadcast tree construction framework in tactile internet via dynamic algorithm
Zhang et al. Incompatibility networks as models of scale-free small-world graphs
Narasimha et al. Ant colony optimization technique to solve the min-max single depot vehicle routing problem
CN108521344A (en) Based on two end reliability estimation method of side expander graphs command and control network
Matei et al. Consensus problems with directed Markovian communication patterns
CN108847986A (en) A kind of control method for double-layer network
Xu et al. A Graph reinforcement learning based SDN routing path selection for optimizing long-term revenue

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181120