Let G be an undirected, unweighted, connected graph with
n vertices and m edges.
We prove that the number of different semi-balanced colorings of G is:
(1) at most n+1 if G is bipartite;
(2) at most m if G is non-bipartite and triangle-free;
and
(3) at most m + 1 if G is non-bipartite.
Based on the above combinatorial investigation, we design an algorithm to
enumerate all semi-balanced colorings of G in
O(n m2) time.
Technical Reports Librarian Centre for Mathematical Sciences Lund University Box 118 SE-221 00 Lund Sweden E-mail: Expedition@math.lu.se