GraphTheory[IsBipartite]
|
Calling Sequence
|
|
IsBipartite(G)
IsBipartite(G, P)
|
|
Parameters
|
|
G
|
-
|
graph
|
P
|
-
|
(optional) name
|
|
|
|
|
Description
|
|
•
|
IsBipartite returns true if the graph G is bipartite and false otherwise. If a variable name P is specified, then this name is assigned a bipartition of the vertices as a list of lists.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
|
|
Download Help Document
Was this information helpful?