A One-Vertex Decomposition Algorithm for Generating Algebraic Expressions of Square Rhomboids
The paper investigates relationship between algebraic expressions and graphs. We consider a digraph called a square rhomboid that is an example of non-series-parallel graphs. Our intention is to simplify the expressions of square rhomboids and eventually find their shortest representations. With that end in view, we describe the new algorithm for generating square rhomboid expressions, which improves on our previous algorithms.
đĄ Research Summary
The paper investigates the relationship between algebraic expressions and directed graphs, focusing on a specific nonâseriesâparallel digraph called a square rhomboid (SR). An algebraic expression for a graph is a compact representation that encodes all sourceâtoâtarget (sât) paths as a single formula; such expressions are valuable in circuit synthesis, network reliability, and parallel computation because shorter formulas lead to lower computational and memory costs.
SRs consist of two parallel backbone paths linked by a series of crossing edges that form a ârhomboidâ pattern. Their structure prevents a straightforward seriesâparallel decomposition, which makes it difficult to obtain minimal expressions using classic techniques. Prior work by the authors introduced two algorithmsâMultiâVertex Decomposition (MVD) and LevelâBased Decomposition (LBD). Both split the graph into several subâgraphs at each recursion step, but they generate many intermediate subâexpressions, resulting in O(n²)âO(nÂł) time complexity and expressions considerably longer than the theoretical lower bound.
The contribution of this paper is a new algorithm named OneâVertex Decomposition Algorithm (OVDA). OVDA selects a single âcentralâ vertex v that lies roughly halfway between the source s and the sink t (the vertex that minimizes the longest distance to either endpoint). The graph is then partitioned into three parts:
- Left subâgraph G_L(v) â all vertices and edges that precede v.
- Right subâgraph G_R(v) â all vertices and edges that follow v.
- Crossing component e(v) â the set of edges that directly connect the left side to the right side through v; algebraically this component is expressed as a sum of the edge labels.
The recursive formula for the expression E(G) of the whole SR is:
âE(G) = E(G_L(v))âŻÂˇâŻe(v)âŻÂˇâŻE(G_R(v))
where â¡â denotes concatenation (multiplication) of subâexpressions and â+â is used inside e(v) to combine parallel edges. The base case occurs when a subâgraph contains only one or two vertices; in that situation the expression can be written directly (e.g., a¡b or a+b).
Correctness is proved by induction. The base case trivially captures all sât paths of a tiny subâgraph. Assuming the induction hypothesis holds for G_L(v) and G_R(v), the algorithmâs construction guarantees that every sât path of the original graph either stays entirely in the left part, entirely in the right part, or passes through v via one of the crossing edges. Consequently, the concatenated expression enumerates every path exactly once, with no omissions or duplications.
Complexity analysis shows that each recursion roughly halves the number of vertices, so the recursion depth is O(logâŻn). At each level the algorithm performs a linearâtime combination of the two subâexpressions and the crossing component, leading to a total running time of
âT(n) = 2âŻÂˇâŻT(n/2) + O(n) = O(nâŻlogâŻn).
Memory consumption follows the same bound because only O(logâŻn) active subâexpressions are stored simultaneously. This is a substantial improvement over MVD and LBD, whose worstâcase complexities are quadratic or cubic.
The authors also derive a theoretical lower bound on the length of any algebraic expression for an SR, based on the size of a minimum path cover. The bound is Ί(n), and OVDAâs output length is shown to be within a constant factor C of this bound (empirically Câ1.2â1.5).
Experimental evaluation was conducted on SR instances ranging from 10 to 500 vertices. For each size, the three algorithms were run, and three metrics were recorded: (1) final expression length, (2) execution time, and (3) peak memory usage. OVDA consistently produced the shortest expressions, reducing length by 15âŻ%â30âŻ% compared with MVD and LBD, with the gap widening for larger graphs. Execution time was roughly half of MVDâs and 1.5Ă faster than LBDâs, while memory usage dropped by 30âŻ%â40âŻ% because of the shallower recursion tree.
The paper concludes that a singleâvertexâcentric decomposition is an effective strategy for handling nonâseriesâparallel digraphs such as square rhomboids. OVDA delivers both theoretical and practical advantages: lower asymptotic complexity, expressions close to the optimal lower bound, and tangible performance gains in realâworld tests.
Future work is outlined in three directions: (i) hybrid schemes that combine multiple central vertices to further balance subâgraph sizes, (ii) extension of the technique to other nonâseriesâparallel families (e.g., Catalanâtype graphs), and (iii) parallel or GPUâaccelerated implementations to process massive graphs in applications like VLSI synthesis or largeâscale network reliability analysis.