Abstract

A signed network is a network where each edge receives a sign: positive or negative. In this paper, we report our investigation on 2-path signed network of a given signed network , which is defined as the signed network whose vertex set is that of and two vertices in 2 are adjacent if there exist a path of length two between them in . An edge ab in 2 receives a negative sign if all the paths of length two between them are negative, otherwise it receives a positive sign. A signed network is said to be if clusterable its vertex set can be partitioned into pairwise disjoint subsets, called clusters, such that every negative edge joins vertices in different clusters and every positive edge joins vertices in the same clusters. A signed network is balanced if it is clusterable with exactly two clusters. A signed network is sign-regular if the number of positive (negative) edges incident to each vertex is the same for all the vertices. We characterize the 2-path signed graphs as balanced, clusterable, and sign-regular along with their respective algorithms. The 2-path network along with these characterizations is used to develop a theoretic model for the study and control of interference of frequency in wireless communication networks.

1. Introduction

The intersection graphs or networks [1, 2] form a large family of structures which include many important network such as interval [3, 4], permutation [5, 6], chordal [7, 8], circular-arc [9, 10], circle [11], string [12], line [13, 14], and path [15, 16]. Most of these networks are of great significance not only theoretically but because of their applicability in the fields such as transportation [17], wireless networking [18], scheduling problem [19], molecular biology [20], circuit routing [21], and sociology. The 2-path network is an intersection graph of open neighborhoods [22]. Formally, a 2-path network for a given network is obtained by joining the pair of vertices which form a path of length two in the original network.

Signed networks are the network where each edge receives a sign: positive or negative (ref. Figure 1, the edges 13, , and 25 are negative in (b)). The concept stemmed from psychologist Heider [23, 24] who used the concept of balanced theory to model relations between individuals and society using triads. Harary formulated and restructured the signed networks by introducing structural balance theory [25] for social balance and was used for portfolio management [26], where they used signed graphs to analyse the extent of hedging in a portfolio. These networks are widely used in data clustering [2729]. Signed networks of some intersection networks have been already studied [3033]. Also path graphs of signed graphs are discussed in [3438]. In this paper, we try and establish the results for signed networks defined on 2-path networks.

The study of networks has come a long way with its applicability in many fields [3943]. One such application is in wireless networks and frequency allocation problem. The frequency allocation [44] in a wireless network [45] or radio frequency allocation [46] is one of the typical problems that we still face. The interference takes place in a network when the transmission from one station interacts with the transmission from another station. There are three dimensions to the frequency spectrum first being the space in which the emission is radiated, second is the frequency bandwidth, and third is the time. If these three dimensions occur simultaneously for a channel receiving transmission, then interference takes place. Many methods and models such as dipole-moment models [47], Kurtosis detection algorithm and its versions [48], and decomposition method based on reciprocity [49] have been studied for this problem. We, on the other hand, bring a model with a very different approach using the theoretic aspects of signed networks and 2-path networks.

We aim at detecting and reducing the interference by assuming the stations/channels as vertices and transmission between them as edges. Furthermore, we assume that two channels (vertices) are joined by a positive edge if and only if they are in different time or frequency bandwidth (assuming that space is always same) and by a negative edge if both are the same in time and frequency bandwidth. If is the given signed network representing a channel network, then its 2-path signed network provides with the interference pattern of different channels at a specific channel. In the 2-path signed network the edge uw is given a negative sign if and only if there exist all-negative two paths in say and between them, that is, they are the same in time as well as frequency and thus the interference takes place at because of the vertices and .

1.1. Definitions and Preliminaries

For standard terminology and notation in network theory, one can refer Harary [50] and West [51], and for signed networks literature, one can refer [52]. Throughout the text, we consider finite, undirected network with no loops or multiple edges. A signed network is an ordered pair , where is a network , called the underlying network of , and is a function from the edge set of into the set , called the signature (or in short) of . A signed network is all-positive (or all-negative) if all its edges are positive (negative). Furthermore, it is said to be homogeneous if it is either all-positive or all-negative and heterogeneous otherwise. A signed network is said to be sign-regular if the number of positive edges (negative edges), incident at a vertex in , is independent of the choice of in , that is, is -sign-regular, where  =  is the positive degree of every vertex in and  =  is the negative degree of every vertex in .

A negative section of a cycle or a path is a maximal set of vertices of such that the subsigned network consisting of the edges of joining vertices in is all-negative and connected. A marked signed network is an ordered pair , where is a signed network and is a function from the vertex set of into the set , called a of . We define . Let be an arbitrary vertex of a network . We denote the set consisting of all the vertices of adjacent with by . This set is called the neighborhood set of and sometimes we call it as neighborhood of . Next, we define two marked neighborhoods as and . For each of , there exist in and vice versa. It is important to note that the vertex marking for each vertex is neighborhood dependent, i.e., if a vertex forms a negative edge with and a positive edge with in , then belongs to the marked neighborhood of , and . Also, each vertex in appears with exactly one mark in .

The clique of a network is a subset of vertices such that every two vertices in the subset are connected by an edge. is a clique generated by vertices in . A in a signed network is said to be if the product of the signs of its edges is positive or, equivalently, if the number of negative edges in it is even. A cycle which is not positive is said to be . A signed network is if all its cycles are positive. A signed network is said to be if its vertex set can be partitioned into pairwise disjoint subsets, called , such that every negative edge joins vertices in different clusters and every positive edge joins vertices in the same clusters. A common neighbor of vertices and is a vertex such that .

Property 1. If , then by property , we mean .

Property 2. By property , we mean that if property holds for one common neighbor of and , then it holds for every common neighbor of and .
The 2-path signed network [34] of a signed network is defined as follows. The vertex set is the same as the original signed network , and two vertices are adjacent if and only if there exist a path of length two in . The edge is negative if and only if all the edges in all the two paths in between them are negative otherwise the edge is positive. The definition of 2-path signed network was used [53], to bring out some basic results, which was further extended and shaped in the present paper. The 2 subsets having property P are named as P pairs and the set of all P pairs is denoted by . A negative section in cycle or path is said to be P section if every alternate vertices forms P pair. If in the section, then such a P section is called P cycle.

Remark 1. An edge is negative in 2-path signed network if and only if a neighborhood of a vertex has property .
Consider the signed network (a) of Figure 2; clearly, by definition of 2-path signed network, and 23 are the only negative edges as there exist an all-negative path between and 4 and 2 and 3 of length two in . Let us consider the marked neighborhood for each of the vertices 1 to 4:One can note that there are following pairs in each neighborhood: , , and in , in , and in . These pairs give rise to the edges in , where the edge 24, 34, and 13 get positive signs as atleast one of the vertices in each set is positively marked (thus does not form a P pair).
The pairs and are the only P pairs, then by Remark 2.1 these pairs give rise to the negative edges 14 and 23.

1.2. Model and Assumptions

Consider the vertices in a network system as channels or stations and edges as the signals or transmissions. Now, the problem of interference between stations arise when the transmissions from and reaching at are in the same space, at the same frequency and time. We assume that the two parameters space and frequency are the same for all transmissions but the time is the variation parameter. So, a positive edge between two channels represents that they always have a fixed time of transmission (which is different from the adjoining transmission) and a negative edge means a variable transmission (which is different from the fixed time transmission). The problem arises when two of the negative edges are incident to a station as here there is a high risk of interference in the network. This network pattern can be observed using 2-path networks. The 2-path network of the network gives the possible interference pattern so a negative edge ab in the 2-path signed network means that there exist a vertex such that ac and cb are the transmissions which could possibly interfere with each other at . Thus, by analyzing 2-path networks, we can study and correct this problem of interference.

We thus study the theoretic Properties 2-path networks keeping our problem of interference in the background. In Section 1, we characterize the 2-path signed network, some of the results of which were presented in [35], give algorithms to construct 2-path signed network, detect if a network is isomorphic to a 2-path signed network, and collect P pairs. Section 2 is on the balancedness of 2-path signed networks where we characterize signed network whose 2-path signed networks are balanced. The property of balanced network is used to identify and categorize all the channels in 2-path in exactly two groups such that the negative edges are across the groups and positive are in the same class. We also provide an algorithm for the same. Section 3 is dedicated to another property of signed network known as clusterability, where we check whether we can categorize our vertices in more that two clusters so that the negative edges are across the group. We follow the property of sign-regularity in Section 4.

2. 2-Path Signed Network

2.1. Characterization of 2-Path Signed Network

In this section, we give a characterization of 2-path signed network. We check if a given signed network is a 2-path signed network of some signed network. We then find its underlying signed network. Following characterization of 2-path networks was given by Acharya and Vartak.

Lemma 1 (see [22]). A connected network with vertices , is a 2-path network of some network if and only if contains a collection of complete subgraphs such that, for each , the following hold: (i) , (ii) , and (iii) if then there exists containing .

Let be an edge in a signed network . Let denote the marking on the vertex in such that ; then, we have the following theorem.

Theorem 1. A connected signed network with vertices is a 2-path signed network of some signed network if and only if contains a collection of complete signed subgraphs with vertices in having the marking such that, for each , the following hold:(i)(ii), where and (iii)If , then there exists containing and if is a P pair in

Proof. Necessity. Suppose is a 2-path signed network of signed network with vertices . To show that there exist a collection of complete signed subgraphs such that (i), (ii), and (iii) hold, consider the marked neighborhood so that for each vertex in . Each to , generates a complete signed subgraph in 2-path signed network of , since consists of elements which have a common neighbor in . Next, since the signed network is simple and . Let for some . Then, is an edge in such that , and thus is in the marked neighborhood . Therefore, for , . Next, since the mark depends on the sign of edge in , the vertex gets the marking from the corresponding sign ; hence, and (ii) follows.
If is an edge in 2-path signed network and thus in , then from Lemma 1, for some . Let be an edge in with a sign “,” then and are negative edges in , by definition of 2-path signed network. Thus, by Remark 1, and is P pair. Hence, (iii) holds.
Sufficiency. Let contain a collection of complete signed subgraphs with vertices in with the marking , satisfying the three properties (i), (ii), and (iii). Join each vertex to the vertices of ; let the obtained signed network be . Let be in , having the marking . Then, the sign of edge in is given by . From our construction of and property (ii), as , we have and . Note that if , then by (iii), there exist such that and . Also if sign of the edge is negative in , then and is a P pair in , whereas if the edge is positive in , then the marks and are according to the edge sign and in , respectively.
Next, we will show that . Clearly, the vertex set of and is the same. We are left to show that their adjacencies along with their signs are preserved. For some and , let be an arbitrary edge in , such that is in . Clearly, and are edges in . Thus, there is a path of length two between and in . Hence, is an edge in .
Furthermore, let be an arbitrary edge in . Clearly, there must be atleast one path of length two in . As is constructed joining a vertex to all those vertices present in , therefore by (iii), and is in (as both these vertices are adjacent to in ). Hence, is an edge in one of the cliques and thus it is an edge in . Hence, the adjacencies are preserved.
Finally, we show that the sign of is the same in and . Let be a negative edge in ; then, by condition (iii), is a P pair in , for some , . By Property 2 and signing of the edges in , the edges formed by vertices incident to both and in will all be negative; thus, the edge in 2-path signed network is negative. Similarly, if in , then all the -paths of length two will be all-negative in . Let be a 2-path in . As the edges incident to in are formed by joining a vertex with vertices in and and , where and , then, since all edges in 2-path between vertices and in are negative, then by (iii) in . Similarly, the same holds for positive edge. If is a positive edge in , then there exist atleast one vertex in , where is a path of length two. Then, clearly, at least one of the two vertices and forms a positive edge with in , also in the complete sub signed network containing both and , and thus , and by (iii) it cannot be a negative edge. Hence, in . Conversely, if in , then as done above for negative edge for some , the mark of one of these two vertices would be positive, and thus there would be a heterogeneous path of length two between and in and thus a positive edge in . Hence, .
Before going further, we prove the following lemmas.

Lemma 2. If a signed network has an induced cycle of length , then contains two vertex disjoint cycles of length each.

Proof. Let be an induced cycle of length , in a signed network . Then, there is a path of length two between each pair and for and . Thus, is a cycle of length in . Similarly, is a cycle of length in . Clearly, there is no vertex in common in the two cycles. Hence, the result follows.

Remark 2. If the signed network consists of a cycle of length 4, then contains two disjoint edges corresponding to the vertices of the cycle.

Lemma 3. For a signed network , contains an induced cycle of length ( is odd and ) if either has a cycle of length or has a cycle of length .

Proof. First, assume that has an induced cycle of length ( is odd and ). Clearly, is a cycle of length in .
Next, if has an induced cycle of length , where for , clearly, and are two cycles of length in . Hence, result follows.

2.2. Algorithm to Detect P Pairs

Here, in Algorithm 1, we present algorithm for detection of P pairs. For an input network , these P pairs gives the negative edges in and thus will be used as an input for all the other future algorithms.

Input: Adjacency matrix and dimension .
Output: Array which has all collection of P pair and array which has pair of vertices which are not pairs.
Process:
(1)Enter the order and adjacency matrix for the signed network
(2)for to do
(3); ,
(4); ;
(5)for to do
(6)for to do
(7)  fordo
(8)  if () then
(9)   ifthen
(10)   ;
(11)   ;
(12)fordo
(13)  fordo
(14)   ifthen
(15)    fordo
(16)     ifthen
(17)      ;
(18)      ;
(19)for, do
(20)  for to , do
(21)   ifthen
(22)    ;
(23)    ;
2.2.1. Complexity

In Steps 5, 6, and 7, we use three different loops running upto times (number of vertices). Thus, the complexity of this fragment is equal to .

Next, we use three nested loops in Steps 12, 13, and 15. Again the complexity is .

The loops at Step 19 and Step 20 are used for the array and with a size of and , respectively. Since the maximum number of edges in a network is and and collects vertices incident to edges, thus and . Therefore, the complexity of this fragment is .

Combining the above, the total complexity equals . Hence, the complexity involved in Algorithm 1 is .

2.2.2. Implementation of Algorithm

Example 1. In this example, we are given with a signed network, as shown in Figure 4(a), and we find all the P pairs for the given signed network . Let us consider adjacency matrix for the signed network which is given as follows:In order to detect the P pairs of , we use Algorithm 1 where the inputs are the matrix and size . The size of array and is initially fixed as . After initializing the array and as zero, and , we enter the first, second, and third loop which run for 1 to 4. The three loops at Steps 5, 6, and 7 are used to obtain two distinct elements and . Next, in Step 9 we check pair of vertices and if and or and or and , then and enter as an consecutive entry in the array . The array collects the vertices forming positive 2-paths in . For the above matrix, as we enter the loop, then for , we find that and . Thus, as , and and is incremented to . Similarly, after completing all the loops we get as follows.

One can note that the number of elements in array is given by the (since every time we enter Step 9, is incremented by 2). In the given example, , and thus size of array is 14. Next, we enter loop at Step 13, to find all the edges ij and jk such that and . Once such pair is obtained then and are collected in Array as done for array . For the given example, array comes out to be

The size of is given by and in our example . Finally, we compare the elements of and pairwise to find if there are pairs of vertices which is common in both and then we remove these pairs from . This is done by using two loops one moves from 1 to (the size of array ) and the other moves from 1 to (size of array ). For and , we see that and . Therefore, and . Proceeding in the same way, we obtain for the given example as:

Thus, the P pair are and . From Figure 4 and Remark 1, we can verify that the P pair obtained in the algorithm is the same as that for the given signed network.

Remark 3. Each pair in array , for to , is a pair of vertices in , which have a path of length two between them in . Since they do not form a P pair, they form a positive edge in (by Remark 1).

2.3. Algorithm to Construct 2-Path Signed Network

Next in Algorithm 2, we obtain the 2-path signed network for a given signed network . We use the adjacency matrix of . We use Algorithm 1, to obtain the vertices forming negative edges (collected in array ) and positive edges (collected in array ) of 2-path signed network. The adjacency matrix of 2-path signed network obtained is saved in matrix .

Input: Adjacency matrix A, dimension n and array from Algorithm 1.
Output: Adjacency matrix of 2-path signed network.
Process:
(1)Enter the order and adjacency matrix of for a given signed network .
(2)for to do
(3)  fordo
(4)    5 fordo
(5)if () then
(6)  ifthen
(7)   
(8)    
(9)    fordo
(10)  ifthen
(11)   
(12)   
2.3.1. Complexity

In Step 2, we use two loops to initialize the matrix zero, and thus the complexity of these steps is .

In Step 5, we use a loop which runs up to , (from previous algorithm). Thus, the complexity of this step is . Similarly, in Step 10, we use a loop which runs up to , . Again complexity of this step is .

The total complexity is  = .

2.3.2. Implementation of the Algorithm

Example 2. We are given with a signed network , as shown in Figure 4(a), with the adjacency matrix as in Example 1. We have to find the adjacency matrix of the 2-path signed network . In Steps 2 and 3, we use two loops, each running from 1 to 4 as and assign zero to all the entries of matrix . Next, with the help of Algorithm 1, we obtain as as

In Step 5, we enter the loop running upto for each pair which saves the vertices forming negative edge in . As an edge jk is given by entry row and column and by row and in the adjacency matrix, for each pair and , . Thus, for , , similarly, for . Thus, the matrix after Step 9 isNext, in Step 10, we enter the loop to find the vertices forming positive edges in , which is given by pair of vertices in array . For , and so . After running the loop for , matrix is given bywhich is the adjacency matrix for the 2-path signed network , as shown in Figure 4(b).

3. Balance in 2-Path Signed Network

3.1. Characterization of Balanced 2-Path Signed Network

In this section, we provide with a characterization of balanced 2-path signed network. The characterization helps us to identify the groups in the interference network (2-path signed network) and find the balanced. We refer the following lemma given by Zaslvasky.

Lemma 4 (see [54]). A signed network in which every chordless cycle is positive and is balanced.

Theorem 2. For a signed network of order , the following statements are equivalent:(i) is balanced.(ii)(a)Each homogeneous cycle in is either positive or is a P cycle of length , for some positive integer .(b)Each heterogeneous odd cycle in either does not contain P section or contains even number of P section of even length.(c)For each heterogeneous even cycle (length greater than 4), the following conditions hold:(c:1)If it has P sections of odd length , then either or if ; then, there are even number of such P sections each separated by positive section of even length.(c:2)If it has P sections of even length, then there are even number of such P sections each separated by positive section of even length.(d)For each vertex in with does not contain any P pairs.

Proof. Let be balanced. If a cycle in is a positive homogeneous cycle, then the cycle (or cycles in case the cycle in is of even length) formed in its 2-path signed graph will be a positive cycle. Let be an all-negative cycle (P cycle), with length in . Here, the length of is either odd or , where is odd. By Lemma 3, the corresponding cycle or cycles formed in will be odd length all-negative, since cycle is a P cycle in . Thus, by Lemma 4, is not balanced, which is a contradiction. Hence, does not contain a P cycle with length as is balanced. Thus, of follows.
Next, let there exist a heterogeneous cycle being odd in , with a P section , being odd. Clearly, the length of P section is even. The cycle in will generate an odd cycle in . Now, are odd number of negative edges in of and also are even number of negative edges in the cycle of (see (b) in Figure 5, here ). Thus, the cycle in , will be a negative cycle and hence is not balanced, which is a contradiction. Similarly, for odd number of such P sections, the signed network is unbalanced, whereas if there are even number of such P sections in the cycle of ; then, there would be even number of negative edges in the corresponding cycle of .
Next, let us consider a heterogeneous even cycle in , even and be a P section of odd length . From Lemma 2, we know that a cycle of even length in gives rise to two cycles in of length each. Now, the P section would correspond to negative edges in both the cycles, clearly as is balanced, that is, each of these cycles have even number of negative edges which is possible if is an even number or there is another negative edge which is due to some other P section in the same cycle . If is even or , then we are done, if not then we prove that there are even number of such P section. Clearly, . Let , where and , be another P section of length , such that . Then, again as proved above there would be negative edges in the cycles of . Now, as each cycle has odd number of negative edges in due to P sections and in , therefore there are now even number of edges in each of the cycles generated by cycle in , which makes these cycles balanced.
Lastly, let be a vertex in with degree greater than or equal to 3. If neighborhood contains exactly one P pair, say , then there exist atleast one vertex in which does not form P pair with vertices . Thus, by definition of 2-path, will be a cycle in with exactly one negative edge . Thus, 2-path signed network is not balanced. Similarly, if neighborhood contains more than one P pair and there exist atleast one vertex in which does not form P pair, then again there is a cycle of length three with exactly one negative edge. Next, if all the vertices in are P pairs, then any three vertices in give rise to a negative cycle of length three in as , and are P pairs in . Thus, again making unbalanced, which is a contradiction to our hypothesis. Therefore, no neighborhood of a vertex of degree greater than three in contains a P pair.
Let, if possible, , and hold. Let us consider the neighborhood for each vertex in . If the neighborhood consist of a single vertex, then it does not contribute to the edges in . Next, if the neighborhood contains two vertices say , then either is an edge in which is part of a cycle or a tree. If the edge is part of the tree, then it is balanced by default. Next, if it is part of a cycle in , then by Lemma 2 and Lemma 3, we know that this cycle in is due to a cycle in . If the corresponding cycle in is homogeneous, then by condition either it is positive or a P cycle of length , being odd. A positive cycle in gives rise to a positive cycle in , thus making the cycle balanced, else a cycle of even length greater than 4 in gives rise to two cycles in of equal length. Thus, the cycles formed in due to the P cycle in are of even length and thus balanced. If the cycle is heterogeneous in , then the following cases arise:(1)If cycle in is of odd length, then by (b) the cycle either does not contain P section or contains even number of P section of even length. If the cycle does not contain a P section then cycle in is also positive hence balanced. Next, if the cycle in contains odd number of P section of even length then the cycle in contain even number of negative edges (as an even P section in gives rise to odd negative edges in cycle of as the negative even section in Figure 5(b) gives rise to three negative edges , and 24 in 2-path signed network). Hence, again giving rise to a balanced cycle.(2)If cycle in is of even length greater than 4, then by (c) either it has P sections of odd length such that and if then there are even number of such P sections each separated by positive section of even length or as P sections of even length then there are even number of such P sections each separated by positive section of even length. In both the cases, even number of negative edges appear in both the cycles of , thus making these cycles balanced.Next, if the neighborhood of for some to contain more than two vertices, they give rise to a clique in . Now, the negative edges of these cliques are due to the P pairs in each neighborhood but from (d) no neighborhood contains a P pair; thus, all the cliques are positive. Therefore, by virtue of the conditions, all cycles (and cliques) in will be positive, and thus by Lemma 4, will be balanced.

4. Clusterability

4.1. Clusterability in 2-Path Signed Networks

In this section, we discuss the clusterablity of a 2-path signed network.

Lemma 5 (see [55]). A signed network is clusterable if and only if contains no cycle with exactly one negative edge.

Theorem 3. For a given signed network of order , the following conditions are equivalent:(i) is clusterable.(ii)For all sequence of vertices in such that ; ; … ; for some . If there exist a pair of vertices in sequence having property , then the sequence has atleast one pair of vertices satisfying property , for some , .(iii)(a)If contains a heterogeneous cycle, then no even cycle in contains exactly one P section of length and no odd cycle contains exactly one P section of length 2.(b)Each neighborhood of vertex in with either does not contain a P pair or all vertices are P pairs.

Proof. Let for a given signed network , be clusterable. Then, no cycle in has exactly one negative edge. Let ; be a sequence of vertices in such that ; ; … ; for some . Let be a pair in sequence ; for some , having property . Now, is a cycle in , due to the sequence in . Clearly, will form a single negative edge in cycle in , which is not possible. Thus, there is atleast one more pair of vertices , satisfying property .
Let ; be an arbitrary sequence of vertices in such that ; ; … ; for some . If there exist a pair of vertices for some having property , then the sequence has atleast one other pair of vertices for some satisfying property . This sequence of vertices generates cycles in such that no cycle has exactly one negative edge. Thus, by Lemma 5, is clusterable.
Let be clusterable. To prove that and hold, let, if possible, (a) does not hold. This implies, there exist an even heterogeneous cycle in of length , with P section of length . will give rise to two cycles and of length each in , and clearly, at least one of the cycles will contain exactly one negative edge (see Figure 6), which is a contradiction to the hypothesis by Lemma 5. Next, if there exist an odd heterogeneous cycle with P section of length 2, then it will correspond to a single negative edge in the cycle of , which is again not possible. Hence, and hold.
Next, we assume that in does not hold. Let be a neighborhood of a vertex in with and containing at least one P pair. Let be a vertex in , which does not form a P pair with any other vertex in . Clearly, as , such that is a pair. The 2-path signed network , will now contain a cycle with exactly one negative edge , since each neighborhood gives rise to clique . By Lemma 5, it is a contradiction to the hypothesis, whereas if all vertices in form P pairs, then all the edges in the corresponding clique will be negative, thus remains clusterable.
Assume that condition and in hold. We have to show that is clusterable. By Theorem 1, we know that is obtained by taking the union of cliques generated by the neighborhood of vertices of . Thus, each cycle in is either due to cliques generated by for such that or due to induced cycles in . Now, by condition , no heterogeneous even cycle in contains exactly one P section of length . Thus, each cycle formed in has either no negative edge or has more than one negative edge. Also, if no odd cycle in contains exactly one P section of length 2, then its corresponding cycle in does not contain exactly one negative edge. From , it is clear that no clique in contains exactly one negative edge as the clique formed here is homogeneous; hence, by Lemma 5 is clusterable.

5. Sign-Regularity

5.1. Property of Sign-Regularity in 2-Path Signed Networks

In this section, we establish a characterization of a sign-regular 2-path signed network. Note that

Theorem 4. For a signed network of order , is sign-regular if and only if(i)For all vertices such that , is identical for every (ii)If is collection of all P pairs, then is identical for all

Proof. Necessity. Let for a given signed network , be sign-regular. Then, number of positive and negative edges incident to each vertex in is identical. Since is obtained by taking the union of cliques generated by the neighborhood of vertices of , thus the total number of vertices in each neighborhood containing is the same for each vertex . Also, gives the total number of edges incident to a vertex . Hence, is identical . Therefore, holds. Since consists of all pair of vertices satisfying property , hence number of negative edges incident to each vertex in must be equal. Thus, the vertex appearing in the number of P pairs in , is the same for every .
Sufficiency. Let and hold. Now, suggests that, for all the vertices in such that , the union of all these neighborhoods which gives the total vertices adjacent to in have the same cardinality. Thus, each vertex in is adjacent to the same number of vertices. Next, we know that the elements of generate all the negative edges of and gives the number of negative edges incident to in . By (ii), the cardinality is the same for each vertex . Thus, the number of negative edges incident to is the same for each to . Since the number of total edges and negative edges incident to vertex is the same for each , the number of positive edges will also be same. Therefore, is sign-regular.

5.2. Algorithm to Detect if 2-Path Signed Network of a Signed Network Is Sign-Regular

Algorithm 3 detects if, for a given signed network , its 2-path is sign-regular, by using results of Theorem 4. Consider the adjacency matrix and its order as input. The vector gives the number of nonzero elements in each row (degree of the vertices). The array gives the number of edges for each vertex present in some neighborhood of a vertex . Also, vector counts the number of negative edges in for each vertex .

Input: Adjacency matrix of , number of vertices and array from Algorithm 1.
Output: Whether the 2-path of a given network is sign-reglar or not.
Process:
(1)Enter the adjacency matrix with elements for a given signed network along with the order of signed network .
(2);
(3)fordo
(4)  ;
(5)  ;
(6)  ;
(7)fordo
(8)  fordo
(9)   if () then
(10)    ;
(11)for to n do
(12)  fordo
(13)   if () then
(14)     ;
(15)fordo
(16)  fordo
(17)   ifthen
(18)    Print The 2-path network is not regular.
(19)    h = 0; break;
(20)fordo
(21)  fordo
(22)   ifdo
(23)    .
(24)fordo
(25)  fordo
(26)   ifthen
(27)    Print “The two path network is not regular.”
(28)    h = 0;
(29)    break;
(30)if () then
(31)   Print “The network is sign-regular.”
5.2.1. Complexity

From Steps 3 to 6, initialization of the vector arrays uses a single loop which runs upto n. Thus, the complexity of these steps .

In Steps 7 and 8, two loops are used upto Step 10. Also, at Steps 11, 15, and 24, again two loops running upto n are used independent of each other. Thus, they have combined complexity .

In Step 21, the P pairs are collected, and we know that the complexity of this step is of order n3. Finally, the two loops in Steps 20 and 21 go upto n and l, repectively. Thus, the complexity of this step . Total complexity .

5.2.2. Implementation of Algorithm

Example 3. In this example, we implement Algorithm 3, for a signed network, as shown Figure 4(a). We want to check whether, for a given signed network, its corresponding 2-path signed network is sign-regular. This is done by the adjacency matrix (as in Example 1) of the given signed network Σ. Now, in the given signed network, n = 4, so the vector arrays and are initialized as zero along with variable h which is initialized as 1. After we enter the loop at Step 7 and Step 8, we fetch each nonzero value of the matrix. For i = 1 and (as 2 and 3 are in the neighborhood of 1 and ) and . Next, for , and . Similarly, moving further, when i = 3, we get , and . For i = 4, and . In Step 14, we check that if there exist i, j, such that , but since this is not true we move to Step 20 and collect all P pairs. Next, in Step 21, we check whether the number of negative edges incident to each vertex is identical for all the vertices. We count the number of appearance of each vertex in array P of Algorithm 1; this is done by array count1 as P is the following:

Thus, , and . Next, in Step 26, we check these entries of array and initially find that . Hence, the number of negative edges incident to vertex 1 and 2 is not the same; thus, the 2-path signed network is not sign-regular. The same is clear from Figure 4(b), hence the proof.

6. Conclusion

In this paper, we studied various characterizations of 2-path signed networks and other allied properties such as balancedness, clusterability, and sign-regularity. We designed a model using the 2-path signed networks on radio frequency interference. We assumed that the vertices represented channel/stations and transmission between them was represented by edges. The negative sign in signed network Σ was given to the edge uv if the transmission from and takes place at the same time and frequency, otherwise uv was given a positive sign. The paper explored both theoretic and applicable aspect of 2-path signed networks. In our work, we not only focused on the characterization and other results due to the signing but also the algorithms which can be readily used in real world problems.

Data Availability

No data were used to support the findings of the study.

Conflicts of Interest

All the authors declare that they have no conflicts of interest regarding the publication of this paper.

Acknowledgments

Authors express gratitude to Professor Thomas Zaslavsky for his careful reading, valuable comments, and fruitful suggestions that improved the paper throughout. The first author’s work is supported by the Research Grant from DST (MTR/2018/000607) under Mathematical Research Impact Centric Support (MATRICS) for a period of 3 years (2019–2022).