{'fraction_non_alphanumeric': 0.01914368052696583, 'fraction_numerical': 0.005695073418416358, 'mean_word_length': 5.052740863787376, 'pattern_counts': {'":': 0, '<': 1, '<?xml version=': 0, '>': 1, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Disjoint connectivity of wireless sensor network

Growing ramification in WSN contemplations are not restricted to routing, construction of protocols, dynamic of mobile nodes and infrastructure of the network. Although transcended to geometric level demonstrated as computational and dynamical geometries in spite of graph theory. In this paper we present step forward recognition features of a network devoted to solve the problem of reconstructing the disconnected network by connecting any disconnected chains. It considers geometrical properties of random depletion nodes deviated from unit grid. Number of chains and number of nodes in each chain are calculated with the average number of connections to a total nodes and longest chain. Histogram represented number of chains and numbers of nodes for each chain are used to show fragmentation of the network. Algorithm included a method to translate adjacent matrix to chain matrix and vice versa to check the agreement of initial case with the results. The amount of chain deviation and average connections per node for longest connected chain and for the total network are drawn as bar charts and conduct interpretations.


INTRODUCTION
WSN is one of active and operational subjects, although the extended care to apply it [1,2], many levels of studies are considered like infrastructure technology, electronics, microprocessors, digital signal processors DSP, communications, battery production technology and others of power sources [3][4][5][6]. Additional subjects are involved as network management, routing, types of protocols applied. Estimating capacity of transmitted data, network lifetime, maintenance, and fault tolerance are topics of important role in studding and implementing WSN [7][8][9].
Infrastructure of network includes methods of how the node distributed in the range of interest (RoI) and sometimes accesses the exact coordinates of each node (two or three dimensions). Knowing exact coordinates of nodes plays an important role especially in applications like indicating fire in a forest or a leakage in a petroleum pipe. The mechanism of allocated node position called localization while applying statistical information about node position, the number of connections between nodes may give approximate information about the efficiency and capacity of the network. The way of depletion nodes across RoI may play an important factor to all performants of the network and affects connectivity, coverage, routing and traffic of packets as the capacity of the node system. WSN from geometric point of view is important like other studies, almost all scientists or engineers working on WSN do not give geometry of network any consideration according to replace the whole routing problem to topology and tree connection between nodes or depend on statistical information and leave geometry as a losing end especially when position of node is relevant to the application [10][11][12]. Although geometry of a network is connected to a graph theory and computational geometry, these branches of mathematics lead to dynamic geometry that will bring network geometry to new fields and interact with more general aspects and concepts in both ways [13,14]. Beginning with localization is a keystone to solve problems of network. Ubiquitous software is applied for simulation of WSN, like opnet, Cþþ and MATLAB programs, they are working over different levels of obligations and complexity. Estimating packet transfer capacity acting with different structures of protocols and verity of node connection methods are one level. Simulating the details of electronic block diagram circuit defined each WSN node, reading communication patterns and capability of transmission, then time response and synchronization of all that are another level [15,16].
Prim topics in WSN are connectivity and coverage. Connectivity is about determining the connection between nodeshomogeneous or heterogeneousand finding losing end chains or isolated nodes, although calculating area coverage is a complementary topic to connectivity [6,17] and a way to notice the efficiency of WSN to handle, calculating area coverage need to discriminate chains and isolated nodes, which is the topic of this paper, then find area coverage for each.
In this paper we encounter estimating number of chains (connected nodes but disjoint from other nodes), number of nodes in each chain and average connections to a longest one and compare that with the average connections to all nodes in the network, this is done with different number of nodes, different densities and verity of maximum transmission distances. Within many years of research, we did not find any independent attempt to find geometric properties of WSN. Studding included chains in the network is an algorithm used to predict efficient routing; this algorithm recognizes many chains in the network with predefined number of nodes, then selects suitable node within each chain and discriminates it as prime node. It is used as a connected node to main node or connected to a sink node. This algorithm simplifies routing techniques for the network [18,19]. Defined number of chains and the length of each chain gives important parameters to evaluate the properties of network and it is a step to word find algorithms to connect these chains in a proper way, also estimating average connection of nodes in chain and in a total graph indicate side of the properties of the network [20]. Detecting many chains in the network and the longest chain length is small fraction of the total nodes (diversity is about one) this network is of poor efficiency and cannot be used to any communication tasks, while if a diversity near zero indicates that more nodes are connected to main chain then transmission rate will be better. If network is disconnected a suitable technique may be used like network control, increasing transmission radius, or repositioning mobile nodes to establish connections to fragmented or insulated parts, the two methods are actually used [21].

Algorithm attended
To find the longest chain in connected graph of simulated wireless sensor network algorithm that is written to simulate random depletion of nodes and find connected graph within maximum transmission radius then new method is written to find connected chains of nodes and estimate the longest one, and the algorithm is used to find statistical results for connected nodes in random distributed WSN.
The details of algorithm are explained in the following steps: Step1: Estimate arbitrary coordinate matrix XY0: (a) Set uniform grid x & y coordinates of a predefined grid step. (b) Add random normal distribution of x & y coordinates of zero mean value and variation of 1 or 2 grid step.
Step2: Find connected matrix by calculating distance between nodes and connect (a ij 5 1) them if distance (d ij ) < maximum transmission radius (R 0 ) to generate connected matrix [22]. Step3: Find connected chain matrix by constructing a sequence of connected nodes to current node, these groups of nodes may be connected to each other and construct a chain Part of Mat-LAB m-file to generate chain matrix from connected [23]. Step4: Find optimization connected group matrix by checking each sequence with the previous, if any common node combining the two sequences without repeated nodes. Step5: Change maximum transmission radius (R 0 ) and repeat from step2.  Step8: Calculate: diversity factor ¼ 1 À no: nodes in longest chain no: of node in total graph (1) Average connections in graph ¼ no: connections in network no: of nodes in total network (2) Average con:s in longest chain ¼ no: con:s in longest chain no: of nodes in longest chain (3) Step9: Using Microsoft Excel program to collect data of diversity factor and average connections for total network and longest chain and draw bar charts for collected data for each collected case with different maximum transmission radius and deviations.

Applied algorithm
Algorithm created above is achieved using MatLab m-files and executed with:

THE RESULTS OF FINDING LONGEST CHAIN ALGORITHM
First: The average connections of nodes in longest chain are always more (or equal only when all nodes in network are connected to longest chain) than average connections of the network, see Table 1. This is self-evident, since in network many nodes are single or with few connections, contrary to connected chain. Second: Deviations of chains in a network is big when maximum transmission radius is less than grid step. It seems that a dramatic change will occur when radius of maximum transmission is greater than three fourth of the grid step, R 0 >0:75*DG as shown in Fig. 2a, b, c, and d.
Third: Histograms of the four cases previously mentioned are drawn, these histograms emphasize clearly what graph plots of connected nodes show. Many different node number short chains occurr when maximum transmission radius is small compared to grid step and many single nodes also as shown in Fig. 3a and b. While at maximum transmission radius greater than three fourth of grid step a clear long chain of nodes occurs, as shown in Fig. 3c and d. Forth: Diversity factor (the percentage ratio of number of connected nodes in longest chain to the total number of overall nodes in area) and average number of connections per node for longest chain and overall nodes are estimated according to Eqs (1) and (2) with respect to different maximum transmission radius. Bar chart created by Excel table shows that a large disperse of chains occurs when small maximum transmission radius is used. While, when radius of transmission being larger than three fourth of grid step disperses will be rapidly decreases and connections of longest chain may cover all nodes especially when maximum transmission radius approaches full step of grid. When the magnitude of deviation about grid crosses tends to change the behavior of connections are the same for different diversities with small differences. In large deviation more nodes on edges of the area may be deviated far from age and not connected to their neighbors, as shown in the first series in Fig. 4 for deviation of two units, although maximum transition radius is large, deviation still has effected the connections.
Any longer transmission radius will case more and more power dissipation and shorter battery and network life. Also, there will be more and more average connections to longest chain in the network, so the average of number of connections of longest chain also depends on measuring the quality of services (QoS) of the network. Average number of connections per connected node in a longest chain is recorded and drawn as an Excel bar chart. Figure 5 shows that when depletion deviation is equal to one unit, results will be medium compared with smaller or larger deviations. Also connections will be greater if the deviations of nodes are smaller when maximum transmission radius is at three fourth of grid step, that is local factors act between nodes, while when maximum transmission radius is bigger, this case will disappear, and adjacent nodes of different grid crossing have the domination effects as shown in Fig. 6.
Fifth: For dense depletion nodes a smaller maximum transmission radius is needed. Since connections between nodes depend on the mean distances between them, the expectation maximum transmission radius will be reduced as a square root of a uniform increasing in depletion density especially the area under consideration is squared. So to keep comparisons between radii of different density depletions it Where R 0 is maximum transmission radius for depletion density Dn 5 1 and R max is equivalent maximum transmission radius for larger densities. Basic R max and related radii for different densities obeying relation 7 are shown in Table 1.
Network with 4 nodes per unit squared density and different maximum transmitted radios are plotted as shown in Fig. 7.
Network with 9 nodes per unit squared density and different maximum transmitted radios are also plotted as shown in Fig. 8.
The Longest connected chain in both densities in graphs show the same behavior as in lower node density where the connections are dominant for maximum radius of transmission greater than grid spacing divided by square root of node density as in Eq. (7). Then scaling of node densities can be confirmed for the same area of depletion.
Also, no significant signs are found and the minor differences in graph due to deviations may also be scaled. Number of nodes connected are scaled, while average connections per node about the same values as shown in Figs 9 and 10.

CONCLUSIONS AND FUTURE WORKS
Wireless Sensor Networks are still a hot topic especially in mobile network and because it is part of more sophisticated articles dealing with the Internet of thing (IoT), (FOG) and CLOUD systems and technologies, since multiple objects must be connected with each other, and these relations must be geometrical, routing and smart connections. So that studding wireless sensor network as theoretical and geometrical properties will always support manufacturing and applying WSN in real word. Estimating the longest chain in connected network as a simple geometric configuration is one of many in this trained to study behavior and efficiency of network therefore to control, optimize network and so on. Knowledge of node coordinates in random depletion method is a partly solved problem and needs to be more researched in the future. The project simulates network as a simple disk model, while almost all WSNs are clustering configurations and it is important to upgrade model to deal with clustering configuration by using different maximum transmission radii for different nodes. Using different network models can be done in future works and may include elliptical or multi-hop transmission patterns.
No real efforts are found for finding longest node connected chain as a target method to compare, this trained of searching need to consider especially for data analysis and pattern recognition, this paper tries to give chain properties of nodes in a network more attentions.
Random distributed method in use is deviate X and Y coordinates from uniform grid with predefined step length, using different depletion methods can be helpful for more realistic presentations.
Find solutions to connect discriminated chains by inserting, mobile few nodes or increasing maximum transition range of specific nearest nodes between disconnected chains, these solutions may the topic of future projects.