-
Field Summary
Fields
private final boolean[]
private final int[]
private boolean
private final boolean[]
-
Constructor Summary
Constructors
-
Method Summary
private boolean
(package private) boolean
private void
(package private) boolean
static void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
isBipartite
-
color
private final boolean[] color
-
marked
private final boolean[] marked
-
edgeTo
-
cycle
-
Constructor Details
-
Bipartite
-
Method Details
-
dfs
-
isBipartite
-
color
-
cycle
-
check
-
main