We are working with labelings of simple graphs. A graph, G, consists of a set V (G) of vertices and a set E(G) of edges connecting these vertices. We call the graphs simple because they have no loops, edges connecting a vertex to itself, and only one edge can exist between any two vertices. We refer to the size of V (G) by |G|. The degree of a vertex is defined as the number of vertices that vertex shares an edge with.
A vertex labeling f of a graph G is an assignment of labels to the vertices of G. A vertex labeling f is called a graceful labeling of a graph G with e edges if f is an injection from the vertices of G to the set {0, 1, …, e} such that when each edge UV is assigned the label |f(U) - f(V)| the resulting edge labels are distinct. A graph G is graceful if there exists a graceful labeling of G. We use the terms “label” and “weight” interchangably to denote the label f assigns to a given vertex. We refer to the weight of a vertex V by W(V ).
An alpha-labeling of a graph G (if it exists) is a graceful labeling of G such that along every edge UV of G where U, V are vertices in G, one of U and V has a weight not more than |G|/2 and the other has a weight not less than |G|/2.