BipartiteQ

As of Version 10, most of the functionality of the Combinatorica package is built into the Wolfram System. >>

BipartiteQ[g]
yields True if graph g is bipartite.

DetailsDetails