3.1. Characterization of -Free Graphs
In [
26], the authors present the following results:
A connected bipartite graph denoted G is called difference graph if and only if it has no induced  graph, the path that connects five vertices;
A graph denoted G is a difference graph if and only if it has no induced , no triangle and no induced pentagon (i.e., ).
In [
5], the authors characterize the bipartite chain graphs using weak decomposition.
In the following is a specific characterization of a 
-free graph using the idea from [
5]. For the work to be a whole, we present the demonstration.
Theorem 10. Let G = (V, E) be a connected, non-complete and bipartite graph. Let (A, N, R) be a weak decomposition with the G(A) weak component. G is an -free if and only if
- (i) 
-  is complete bipartite with bipartitions  (that is, N and R are stable sets and N∼R); 
- (ii) 
-  can be identified such that , B are stable sets, . In the same time ()N,  =  and ; 
- (iii) 
-  is a -free. 
 Proof.  Proof. Let us denote G, a non-complete, connected, bipartite and -free graph.  is a weak decomposition with the  weak component. In this case  and  is a -free graph. If N was not stable, in this case  would exist such that ; then , , a contradiction, since G being the difference graph is -free. If R were not stable, then  would exist such that ; then , .
Distinct vertices do not exist in N with distinct neighbors in A. Indeed, if  exist such that  where a,  and  (), then if , then , ; else .
So, ,  we have either
          
- (a)
- ; or 
- (b)
- . 
Let us suppose that (a) holds. Let x, belonging to A, be adjacent only to , and y from A to be adjacent to  and  at the same time. Since  is connected,  is. If , then . If  in this case either x and y have a same neighbor b in A and in this case  or x and y have different neighbors in A (let them  and  ), then , . So (a) does not hold.
Therefore, , .
Then  so that ,  that have the significance that  and , . Since G is connected and , , it follows that . In a case where B is not stable, then  ( = B) would exist such that . Then . Since  is connected and B is stable set, in this case . Since , it follows that . If  was not stable, then  would exist such that . Then, since , it follows that , . Since  is stable set,  is connected, so it follows that ,  such that . Therefore, . Since  is connected and B is a stable set, then .
It is supposed that (i), (ii) and (iii) hold.
According to (i), 
 is 
-free, 
-free and 
-free. Similarly, 
 is a 
-free, 
-free and 
-free. According to [
18], 
 and 
 are difference graphs. According to [
18], it follows that 
 and 
, are 
-free graphs. From (iii), it follows that 
 is 
-free graph. From (i) and (ii) (i.e., 
R, 
N, 
B and 
 are stable sets and 
 and 
 and from (iii) (i.e., 
 is 
-free) it follows that 
G is 
-free and 
-free.
Suppose that 
 and 
. From 
, since 
 and 
R is a stable set, it follows that 
. If 
, then, since 
 and 
, 
, and then 
; i.e., it does not hold 
. So, 
. Since 
 and 
, 
, where 
 and 
. So, 
G is 
-free. According to [
26] G is a difference graph, since 
G is 
, 
, 
-free. Since 
G is a connected bipartite and a difference graph, 
G is 
-free graph. □
 In [
21], the authors present the following theorem:
A connected graph denoted G is -free in case if and only if each connected induced subgraph has a dominating induced  or a dominating clique.
Using the Theorem 10, we obtain the consequence mentioned in the following.
		
Consequence 1. Let us denote G = (V, E) a connected, non-complete, -free and bipartite graph, and (A, N, R) a weak decomposition with the G(A) weak component. The graph G is a -free if and only if:
- (i) 
-  and , , B, N, R stable sets,  and ; 
- (ii) 
-  a minimum dominating clique in , ; 
- (iii) 
-  a minimum dominating clique in , ; 
- (iv) 
-  a minimum dominating clique in , , , where: ; . 
 Proof.  (I) Suppose G is -free. According to the Theorem 10. (i) holds. According to Theorem 10, it follows that , so (ii) and (iii) hold. According to Theorem 10. it follows that: “ does not exist in B vertices with distinct neighbors in ”. Indeed. If  would exist such that , where ,  and  (), then, since , B are stable sets and  it follows that , a contradiction. Therefore, : . So:  holds, where . Similarly, we have: , where .
So,  and .
So: ; .
Therefore:  and
, , i.e.,  is the dominating clique (edge) in , which is also the minimum. So (iv) holds.
(II) We assume that (i), (ii), (iii) and (iv) hold. We show G is -free, proving the conditions in the Theorem 10. According to (ii) and the previous theorem, it follows that  is -free. Indeed. Let  be connected induced subgraph of ; it follows that (since H is connected) both  and , given that  and . From (ii) it follows that  is a dominating clique. According to the previous theorem (i.e., A connected graph is called -free if and only if each connected induced subgraph has a dominating induced  or a dominating clique)  is -free. Since  is the weak component, it follows that . Since , it follows that  is complete bipartite. By using (iii) and the previous theorem, similarly, it follows that  is complete bipartite. Therefore, (i) and (ii) according to Theorem 10 hold.
We show  is a -free graph.
Let  be an connected induced subgraph of . If  (or ), then H is not connected since B (or ) is a stable set. If , then  is a dominating edge. If , then H is not connected. Let . Given that , . For , : . According to the previous theorem, it follows that G(A) is -free. The conditions the Theorem 10 hold; therefore, G is -free graph. □
   3.2. Proposed Recognition Algorithm for -Free Graphs
In this section we design the algorithm of recognition for the -free graphs class.
In [
27], it is specified in “Unweighted problems” that: recognition of 
-free graphs is executed in polynomial time.
In [
27], it is specified in “Unweighted problems” that: recognition the bipartite graphs is linear.
Using Theorem 10.(or Consequence 1, if G is -free), we obtain the following recognition Algorithm 2.
| Algorithm 2: Recognition algorithm for -free graphs | 
| Input: a connected bipartite graph with two or more nonadjacent vertices. Output: The answer to the issue: Is G a -free graph?
 Begin
 ;/L represents a list of graphs.
 Let H be in L.
 While () Do
 1. Determine the degree of each vertex
 2. Determine a weak decomposition  with  for H;
 3. Determine  and ;
 4. Let: ;
 5. If ( such that ) Then The graph G is not -free
 ElseIf ( so that ) Then
 Graph G is not -free
 Else
 Insert, in L, the induced subgraph of A (at each iteration the graph is
 called H, so ) of order strictly higher than 5.
 EndIf
 EndWhile
 6. Graph G is -free
 End
 | 
It is shown that the execution is in  time, because the complexity of the weak decomposition algorithm is ; the other operations of the recognition algorithm of -free graphs are less complex.
The recognition algorithm is executed in a finite number of steps.
Initially, the graph is finished. In the next interaction, the graph H is replaced by the induced subgraph by A obtained from the weak decomposition (we have V(H) = A∪N∪R, therefore (because , (A)), A∩N = , A∩R = , N∩R = ), that is A⊂V(H).
Let k be the number of repetitions of the while loop. We have: |A|≥1, |N|≥1, |R|≥1. So, the execution of the algorithm ends when , where p () is the cardinal of the set of vertices (i.e., number of vertices, because the given graph is finished) of the graph obtained in the last stage.
The complexity of the recognition algorithm.
The graph is presented through the adjacent matrix (O(n)) or adjacency list (O(n + m)). 
- Determine the degree of each vertex/we count the binary numbers with the value 1 on each line of the adjacent matrix (O(n)) or we count the vertices of adjacent list (O(n + m)). 
- Determine a weak decomposition (A, N, R) with  for H/the algorithm for the weak decomposition of a graph has the complexity O(n + m). 
- Determine B = (N)−R and C = A−B/we define the induced subgraph by A (by removing the vertices from R and N and the adjacent edges). The vertices from A that have the same degree in [A] and in H are introduced in C, and the others in A, are introduced in B. The required time is O(n). 
- Let: r = |R|; nr = |N|; b = |B| / O(n). 
- If (∃v∈R such that (v) ≠ nr)/ 
The time for comparing the degrees of the vertices in R with nr is O(n).
The induced subgraph of A (H = [A])/H is connected, non-complete and bipartite graph.
In the second and following while loops, the role of graph H is assumed by the induced subgraph by A.
All in all, the complexity is , where k is the number of repetitions of the while loop.
An example of application of the recognition algorithm
We apply the algorithm to the graph
G = (V, E), where V = {a, a, a, b, b, b, b, n, n, n, r, r, r, r} and E = {ab, ab, ab, ab, ab, ab, bn, bn, bn, bn, bn, bn, bn, bn, bn, bn, bn, bn, nr, nr, nr, nr, nr, nr, nr, nr, nr, nr, nr, nr}.
H←G;
Determine the degree of each vertex;
Determine a weak decomposition (A, N, R) with  for H;
Initial A = {a}.
Finally we get A = {a, a, a, b, b, b, b}; N = {n, n, n}; R = {r, r, r, r}.
Determine B = (N)−R and C = A−B. We define the induced subgraph by A, by removing the vertices from R and N and the adjacent edges. The vertices from A have the same degree in [A] and in H; we introduce them in C, and for the others in A, we introduce them in B. C = {a, a, a}, B = {b, b, b, b}).
Let: r = |R|; nr = |N|; b = |B|; r = 4; nr = 3; b = 4.
∃v∈R such that (v) ≠ nr, not ∃v∈N such that (v) ≠ b + r.
The new graph H is [A]( = [{a, a, a, b, b, b, b}])
Repeating the while loop with the new graph H we obtain (Initial, A = {a}):
B = {b, b}; A-B = {a, a}; N = {a}; R = {b, b}.
So G is -free.
  3.3. Combinatorial Optimization Algorithms for -Free Graphs
In [
27], it is specified in “Unweighted Problems” that: clique, clique cover, colorability and domination are NP-complete; the feedback vertex set is unknown to ISGCI; and the independent set is polynomial.
Theorem 10 has the following consequence.
Consequence 2. Let us the graph G = (V, E) be a non-complete, connected and bipartite graph, and (A, N, R) a weak decomposition where G(A) is the weak component. If G is a -free graph, then
- 1. 
- ; 
- 2. 
- ; 
- 3. 
- ; 
- 4. 
-  where: 
- 5. 
- , , . 
 Proof.  It is known: ; ; . In this way, .
We color the vertices of R with . We color the vertices of N with . Since , it follows that . We can color the vertices in B with  and the vertices in  with  (since ).
If we suppose , a minimum cover with cliques (which are the edges) of  is: .
The vertices of  need to be covered. According to Theorem 10 it follows that: “Distinct vertices in B that have distinct neighbors in  do not exist”. Indeed, if  would exist such that  where  and  (), then, since , B are stable sets and  it follows that , , a contradiction.
So, there is an order of vertices in B according to their neighborhoods in  from the point of view of inclusion (i.e., we can assume: , where .
(2) Distinct vertices do not exist in  with distinct neighbors in B. Similarly, we show: , where .
Since , it follows that . Since , it follows that .
Therefore: .
We show ,  is a dominating set. Indeed. :  (since ). : ,  (since ). , :  (since ). For  we have  is a dominating set, since ; i.e.,  is not a minimum dominating set. Moreover, , , , is a minimum dominating set. Indeed. :  (since ). :  (since ). For  we have: . So, for  we have . For : .
The  set is a minimum dominating. Indeed. . . Given that . We have . For  we have  (since R is a stable set and ). Given that . We have . For  we have , (since  is a stable set and ).
So,  is the minimum dominating set.
So, , , . □
 From Consequence 2 it follow that the clique number and the chromatic number are calculated directly; the number of stability is determined in  (as the complexity of the weak decomposition algorithm); the minimum clique cover and the dominating number are  (since the determination of the neighbors of a vertex in (B or ) is not more than the complexity of the weak decomposition algorithm).
In [
14] are the following results: 
- For line graphs of planar subcubic bipartite graphs, it is proven that near-Bipartiteness is NP-complete; 
- For line graphs of planar subcubic bipartite graphs, it is proven that Independent Feedback Vertex Set is NP-complete; 
- List Semi-Acyclic 3-Colouring is algorithmically solvable on -free graphs in  time; 
- The size of a minimum independent feedback vertex set of a -free graph with n vertices can be solved in  time. 
Using Theorem 10, the size of a minimum independent feedback vertex set is given in the following consequence.
Consequence 3. Let G = (V, E) be a non-complete connected graph. (A, N, R) is the weak decomposition with G(A) as the weak component. In case if G is a -free graph then the size of a minimum independent feedback vertex set is min .
 Indeed. Since  (which means , as well as  (which means , are acyclic graphs. (Using Consequence 2 and Consequence 3, we obtain the Algorithm 3 for determining combinatorial optimization numbers).
| Algorithm 3: Determining combinatorial optimization numbers | 
| Input: A connected, non-complete and -free graph G = (V, E). Output: Determination: (G), (G), (G) and the size of a minimum independent feedback vertex set
 Determine a weak decomposition (A, N, R) with
 Calculation:  + , , , , ,
 , ,  +
 Determination: , (G), (G) using Consequence 2.
 Determination the size of a minimum independent feedback vertex set using Consequence 3
 So, using the notations in Consequence 2:
 = max{, , }.
 ,  + ,
 , ;
 .
 So, using the notations in Consequence 3: min{, }
 | 
The complexity of the determining combinatorial optimization numbers algorithm.
Determine a weak decomposition (A, N, R) with  / / The algorithm for the weak decomposition of a graph has complexity .
Calculation:  + , , , , , , ,  + 
The determination of the neighbors of an vertex in (B or ) is not more than the complexity of the weak decomposition algorithm, which is .
Determination: (G), (G), (G) using Consequence 2/Comparisons, .
Determination the size of a minimum independent feedback vertex set using Consequence 3/A comparison, .
According to Consequence 2, the complexity of determining , ,  are . According to Consequence 3, the complexity of determining the size of a minimum independent feedback vertex set is .