Extra-factorial sum: a graph-theoretic parameter in Hamiltonian cycles of complete weighted graphs
V. Papadinas, W. Xiong, and N. A. Valous

TL;DR
This paper explores the extra-factorial sum, a graph-theoretic parameter related to Hamiltonian cycles in complete weighted graphs, providing proofs, tutorial explanations, and new unpublished results.
Contribution
It offers a tutorial presentation of the extra-factorial sum with proofs and introduces new unpublished lemmas related to Hamiltonian cycles in complete weighted graphs.
Findings
The extra-factorial sum relates to the arithmetic mean of Hamiltonian cycle lengths.
It depends on the number of vertices n and involves factorial terms.
New lemmas extend the understanding of Hamiltonian cycle properties.
Abstract
A graph-theoretic parameter, in a form of a function, called the extra-factorial sum is discussed. The main results are presented in ref. [1] (Nastou et al., Optim Lett, 10, 1203-1220, 2016) and the reader is strongly advised to study the aforementioned paper. The current work presents subject matter in a tutorial form with proofs and some newer unpublished results towards the end (lemma six extension and lemma seven). The extra-factorial sum is relevant to Hamiltonian cycles of complete weighted graphs with vertices and is obtained for each edge of . If this sum is multiplied by then it gives directly the arithmetic mean of the sum of lengths of all Hamiltonian cycles that traverse a selected edge . The number of terms in this sum is a factorial proven to be which signifies that its value depends on . Using the extra-factorialโฆ
| Input: and vertex X outside the cycle. | |
| Step 1: copy and vertex X ( times). | |
| Step 2: for each copy (step 1), remove a different . | |
| Step 3: for each (step 2), add a copy of X. | |
| Step 4: for each th copy (step 3), add a new pair so that each broken edge is relinked with X. | |
| Output: new with edges and vertices. | |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsGraph theory and applications ยท Advanced Graph Theory Research ยท Limits and Structures in Graph Theory
Extra-factorial sum: a graph-theoretic
parameter in Hamiltonian cycles of complete weighted graphs
V. Papadinas
Department of Informatics, Hellenic Open University, Patras, Greece
โโ
W. Xiong
Institute for Theoretical Physics, Heidelberg University, Heidelberg, Germany
โโ
N. A. Valous
National Center for Tumor Diseases, German Cancer Research Center, Heidelberg, Germany
Abstract
A graph-theoretic parameter, in a form of a function, called the extra-factorial sum is discussed. The main results are presented in ref. RefJMain (Nastou et al., Optim Lett, 10, 1203โ1220, 2016) and the reader is strongly advised to study the aforementioned paper. The current work presents subject matter in a tutorial form with proofs and some newer unpublished results towards the end (lemma six extension and lemma seven). The extra-factorial sum is relevant to Hamiltonian cycles of complete weighted graphs with vertices and is obtained for each edge of . If this sum is multiplied by then it gives directly the arithmetic mean of the sum of lengths of all Hamiltonian cycles that traverse a selected edge . The number of terms in this sum is a factorial proven to be which signifies that its value depends on . Using the extra-factorial sum, the arithmetic mean of the sum of the squared lengths of Hamiltonian cycles of can be obtained as well.
Authors to whom all correspondence should be addressed; e-mails: [email protected] and [email protected]
Consider a complete graph with vertices. Such a graph has always edges, since for each pair of vertices with , exists only one edge with that connects them. Additionally, each can have a weight which makes a weighted graph . Fig. 1 shows a . In a graph , every closed walk with that traverses each vertex exactly once starting and ending at the same vertex is called a Hamiltonian cycle RefB1 . Each is comprised of edges and vertices . The th with vertices is called . The length of a is obtained by summing the relevant . Fig. 1 also shows a : ACEFDBA which originates from and has . The number of is given by RefB1 , e.g. has 60 .
A graph-theoretic problem is introduced which is defined as follows: for selected in , the aim is to find the sum of lengths of the that traverse . Furthermore, it will be proved that each has a number of that traverse it which is . The Hamiltonian path problem is NP-complete RefJ1 and summing the of the that traverse is computationally expensive. On the other hand, the arithmetic mean of this sum can be obtained and this new function is defined as the extra-factorial sum RefDef . This is a fraction with numerator the sum of of the traversing and denominator the value . The parameter can be obtained directly without the need of computing the numerator and denominator separately. It will be proven that the extra-factorial sum of any , if multiplied by , yields the arithmetic mean of of the traversing . A direct deduction is that for any , the extra-factorial sum can be obtained for each . This graph-theoretic parameter can be presented in a 2D Cartesian chart with the -axis showing the values of the extra-factorial sum in the interval and the -axis showing the ranked based on the extra-factorial sum values. Such a curve is a visualization of the distribution of in relation to the edges, and is predominantly a qualitative measure for comparing different .
Lemma 1. A Hamiltonian cycle generator GT is a in which if a vertex is added then this cycle can create new with edges and vertices. After creating the new , GT is replaced by its child cycles.
Proof. If vertex X is added to then for each there is a unique pair (, ) with common X that can break the edges, thus creating the new . In this way, new can be created with edges and vertices each.
With an initial cycle generator ABCDEFGHA and vertex X outside the cycle, then new : , , ,, , , , are created (Fig. 2). Each new traverses the vertices of GT including X. In essence, each of GT (AB, BC, CD, DE, EF, FG, GH, HA) breaks in order to create new . For example, the creation of AXBCDEFGHA requires the breaking of AB and the addition of AX and XB. The initial ABCDEFGHA ceases to exist after the creation of the new . The obtained are equal to the of , hence is defined as a GT. The process of creating is described in Table 1 with the Steps Insert Vertex Algorithm (SIVA). The inputs are and vertex X outside the cycle and the output is the new with edges and vertices RefJ2 .
Corollary 1. Every belongs to generation defined as . The belonging to the same generation have the same number of edges and vertices. Since every has same number of edges and vertices then minimum is . cannot be a GT therefore the generation is defined as . The with is the initial .
Henceforth, the edges of or are denoted by and the edges of by . When SIVA is applied to () then this is defined as the with that can create new with having vertices and edges. SIVA can be extended by creating that exist in with vertices and edges . Using SIVA to count offers the opportunity to count only the for which certain categorization criteria may apply. For , the relationship is valid; this means that has the additional property of being a with , since for the number of vertices is equal to the number of edges.
Lemma 2. For and vertices outside the graph, is a (initial ). The of the new are counted one-by-one when the new vertices are added to iteratively using SIVA.
Proof. A graph with is also a . SIVA starts from and iterates times to introduce, in each repetition, a new vertex in every with , for . Fig. 3 shows and two new vertices X and Y ; ABC is also a .
Applying SIVA results in adding X into ABCA, which leads to the creation of three new (): , , and . Dotted edges represent breaking locations for creating the new cycles. After inserting X, ABC is converted to . Continuing along, SIVA adds Y to each of the first generation ABCX. After adding Y, twelve new () are created () (Fig. 4).
The new are created when SIVA is applied to each of ABCX. After inserting Y, is converted to (Fig. 5). In the general case (starting with ), when adding a new vertex to then SIVA places the vertex to every , for . After adding the th vertex, new are created with vertices and edges, for and . This new graph incorporates the set of . Each belongs to with vertices and edges. Hence, the following recursive function is obtained:
[TABLE]
Alternatively, this can be expressed as:
[TABLE]
where . This algebraic relationship states that the product of of the by in each yields of the ; these are created if increases its vertices by and its edges by . Validity can be proved algebraically as a function of , when SIVA increases the vertices of by . The new () as a function of , for , are . The term are the () and the term are the in each (). With the addition of vertices and starting with , the new tends exactly to:
[TABLE]
This concludes the proof.
Lemma 3. The number of in which traverse selected is .
Proof. Counting the can be done using SIVA but with some differences comparing to Lemma 2: does not break. Specifically, if is selected then and the first is created with the two vertices of and any one vertex of . Then SIVA iterates by inserting the remaining vertices for . In each iteration, it is imperative that does not break. This variation is visualized in Fig. 6 and Fig. 7 for and , respectively. For (Fig. 5) and selected that links A and B, in order to count the that always traverse , only the traversing are counted recursively. The procedure begins with and ; then three of the five vertices are selected such that is always traversed: these three vertices form an and a . SIVA is applied to the edges (, ) of except ; hence a () is created. For and , SIVA adds the fifth and final vertex of without breaking . In the general case of , the algorithm proceeds till all remaining vertices are added. Hence, a set of is created that always traverse . The number of is which is proven by induction: this is valid for since the cycles that traverse are . Similarly for since . Therefore:
[TABLE]
The term expressing the that traverse can be obtained using SIVA, for each traversing without breaking it. The fact that does not break is denoted by the second term : this expresses the edges in allowed to break in an one-by-one fashion for creating the new . Overall, the product defines the traversing by the value from each excluding . Since , this can be written as:
[TABLE]
Alternatively, this can be expressed as:
[TABLE]
where . This expresses the in that always traverse by the edges in excluding ; this equals to the in that traverse .
An edge intersects or not any other edge; if intersects A and B (Fig. 5) then it intersects an edge adjacent to , meaning that they share the same vertex. Hence, for every edge intersecting : , where , e.g. edges intersecting AB are: AY, AX, AC and BY, BX, BC.
Lemma 4. The number of in which traverse a selected pair of adjacent edges is .
Proof. Counting the () that satisfy the lemma is proven through Lemma 3. For example, in (Fig. 5) edges and with common Y are selected. Initially, it is observed that there are no that traverse and no edge capable of linking Y with vertices other than A and X, therefore , , and have to be removed. For and pair of adjacent edges (e.g. and ), the edge that links the vertices of the selected adjacent edges is removed. This means and any other edge that links Y with any other vertex excluding , where . After the removal of edges, Y can be removed temporarily since for all , A and B are always linked. The graph resulting from the removal of Y is an with vertices. In this new , the number of that traverse is equal to the number of traversing the adjacent and of the initial . Previously, it was proven that the number of that traverse a selected edge is . Consequently, the number of that traverse any selected pair of adjacent edges is .
Lemma 5. The number of in () which traverse a selected pair of non-adjacent edges is .
Proof. For () and two selected non-adjacent edges, then SIVA creates new with vertices since the two non-adjacent edges do not break. Counting the that fulfill the lemma starts from since this is the minimum value of permitting the creation of that can have pairs of non-adjacent edges. Only , , and exist in ; from these and for every pair of non-adjacent edges (e.g. and ) only and traverse them, therefore counting starts from them (Fig. 8). SIVA creates the contained in each of the initial and without breaking and . SIVA iterates times with for each and and creates new with vertices and edges. For and , the expression is valid since for and with the addition of a new vertex, SIVA creates new that traverse and . Given that and are two then new are created (Fig. 9).
The dotted lines (Fig. 9) denote the edges that break in order to add the new . The number of that fulfill the lemma is . When SIVA adds a new vertex in (without breaking and ) then for and , new are created traversing and since for each of the old three vertices break. This is expressed as: , and in the general case:
[TABLE]
The constant expresses the where counting starts from and proceeds with SIVA times without breaking the non-adjacent edges. The term expresses the child cycles originating from each initial in . The term expresses the edges belonging to that break in an one-by-one fashion (except for the selected edges) in order for SIVA to insert a new vertex.
Consider the graph (based on the graph of Fig. 5) with , , , , , , , , and . This graph has edges and . Each has equal to the sum of its consisting edge weights. Fig. 10 shows the into two groups; the first (top two rows) contains the cycles that traverse the selected while the second (bottom two rows) the remaining that do not.
The number of that traverse is . According to Lemma 4, for the that traverse the number of edges that intersect this edge is meaning that , , , , , and appear twice in the subset that traverse . According to Lemma 5, for the that traverse the number of edges that do not intersect this edge is meaning that , , appear four times in the subset that traverse . The sum of of the that traverse is: , where , , , , , and .
Lemma 6. For and selected edge (e.g. ) there exist a unique summational graph that corresponds to . Each edge in corresponds to a unique . For , the resulting is a copy of the initial where each weight is multiplied as follows: i) multiplied by , ii) the weight of each edge intersecting multiplied by , and iii) the weight of each edge not intersecting multiplied by . The sum of of corresponding to is equal to the sum of of the that traverse :
[TABLE]
Proof. The sum of of the traversing is visualized in (Fig. 11): this shows a copy of for where is multiplied by , the weight of each edge intersecting by , and the weight of the remaining edges by . The sum of edge weights in is equal to the sum of of the that traverse .
This concludes the proof.
The relationship between the sum of of the () and the sum of edge weights in is given by RefJ2 :
[TABLE]
where is the weight of , is the sum of weights with for the edges that intersect (their number is ), and is the sum of weights with for the edges that do not intersect (their number is ). Overall:
[TABLE]
Since, the common term is the extra-factorial sum of edge AB can be written as:
[TABLE]
The symbol (!) denotes the removal of the term . The extra-factorial sum for a selected edge multiplied by is equal to the arithmetic mean of of the cycles that traverse that edge:
[TABLE]
For different , the extra-factorial sum can be visualized in a Cartesian chart. Two ( and ) are used as examples: has random edge weights and is a copy of with weights multiplied by . The charts of the ranked extra-factorial sums of the 91 edges of each graph are shown in Fig. 13. The first edge has the smallest extra-factorial sum value, while the last (91st) has the largest. This demonstrates that even if the edges have different extra-factorial sums, the corresponding curves are identical. This is because originates from meaning that the graphs are linearly dependent. The similarity in the curves signifies that the cycle length distributions (corresponding to each edge) are also identical. Since the extra-factorial sum provides an overview of the subset of cycles that traverse each edge, future work can focus on absolute or relative similarity RefJ3 for two or more complete weighted graphs. Consider the graph (based on Fig. 5 but with no vertex Y and edges AY, XY, BY, CY, and where A corresponds to A, X to B, B to D, C to C) (Fig. 12).
The weights are: , , , , , and . The graph has with , with , and with . The arithmetic means of of the that traverse each edge are:
[TABLE]
[TABLE]
If the weight of each edge (IJ) in is multiplied by its own value , then a new graph results. According to Lemma 3, every edge appears times in the of . Therefore the sum of of the () is given by:
[TABLE]
Substituting the corresponding values, the sum becomes: . This can be written as: which is: . Hence, the sum of of the () is equal to the sum of squared lengths of of the initial .
Lemma 7. The arithmetic mean of of the ( or ) is given by:
[TABLE]
Proof. According to Lemma 3, the following can be deduced:
[TABLE]
This concludes the proof.
In a similar framework, the arithmetic mean of the sum of of the that do not traverse can be obtained as well. It is interesting to note that these sums can be further analyzed in the context of a controlled change in edge weights, with the aim of analyzing and comparing two or more using the extra-factorial sum curves. The process of computing the arithmetic mean of the sum of squared lengths of () in combination with the inverse process (given to produce an exact corresponding in which the sum of squared lengths of is equal to the sum of of the of the initial ) can provide solutions pertinent to the following problem: the existence or not of at least one (edge weights having positive and negative values) with negative length. The problem of creating a from an initial is rather complex due to the fact that for each there may correspond more than one . Furthermore, an interesting application pertinent to signal processing RefJ4 is to study the behavior of the extra-factorial sum curves () that have irrational edge weights (specifically trigonometric numbers) which are functions of time. Yet, another application is in Hopfield neural networks RefJ5 ; these are modelled as and the extra-factorial sum may contribute to new methods of training the network, e.g. changing the weights in each iteration can incorporate the magnitude of the extra-factorial sum.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1(1) P. E. Nastou, V. Papadinas, P. M. Pardalos, Y. C. Stamatiou (2016). On a new edge function on complete weighted graphs and its application for locating Hamiltonian cycles of small weight. Optim Lett , 10(6):1203โ1220.
- 2(2) K. H. Rosen (2007). Discrete Mathematics and its Applications , Mc Graw Hill, New York.
- 3(3) G. J. Woeginger (2003). Exact algorithms for NP-hard problems: a survey. Lect Notes Comput Sc , 2570:185โ207.
- 4(4) Hellenic Society for Terminology (ELETO) (2009). Orogramma , Nr. 95, March-April. Retrieved from: www.eleto.gr/download/Orogramma/Or 95_V 06.pdf.
- 5(5) V. Papadinas, Y. C. Stamatiou (2009). Geometric approaches for creating low power low interference connectivity patterns in static structureless sensor networks, in: Proceedings of the International Symposium on Autonomous Decentralized Systems (ISADS) , pp. 1โ5.
- 6(6) L. A. Zager, G. C. Verghese (2008). Graph similarity scoring and matching. Appl Math Lett , 21:86โ94.
- 7(7) A. Sandryhaila, J. M. F. Moura (2014). Big data analysis with signal processing on graphs: representation and processing of massive data sets with irregular structure. IEEE Signal Proc Mag , 31:80โ90.
- 8(8) A. Goulon-Sigwalt-Abram, A. F. Duprat, G. Dreyfus (2005). From Hopfield nets to recursive networks to graph machines: numerical machine learning for structured data. Theor Comput Sci , 344:298โ334.
